summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2020-02-19 02:53:59 +0000
committerRaptor Engineering Development Team <support@raptorengineering.com>2020-02-19 10:24:55 +0000
commit9ae5ebfe22654d6ddc515fff5ca39fb4846a3c3a (patch)
tree0d2bca84ef3ad187548a6dfdf380fe703008f577
parent594c48b6790b0271b88ae06032d20dd6aaa17652 (diff)
downloadblackbird-op-build-9ae5ebfe22654d6ddc515fff5ca39fb4846a3c3a.tar.gz
blackbird-op-build-9ae5ebfe22654d6ddc515fff5ca39fb4846a3c3a.zip
Disable the following features to reduce initramfs size
* Nouveau driver (mostly fails on POWER w/ 64k pages anyway) * Non-English locales * Discrete HWDB files Once the -Os build failure has been resolved upstream, these can likely be reenabled.
-rw-r--r--openpower/configs/blackbird_defconfig4
-rwxr-xr-xopenpower/scripts/blackbird-extra-cleanup4
2 files changed, 6 insertions, 2 deletions
diff --git a/openpower/configs/blackbird_defconfig b/openpower/configs/blackbird_defconfig
index 38f7e838..edc06bfb 100644
--- a/openpower/configs/blackbird_defconfig
+++ b/openpower/configs/blackbird_defconfig
@@ -8,8 +8,8 @@ BR2_TARGET_GENERIC_HOSTNAME="skiroot"
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_ROOTFS_DEVICE_TABLE="../openpower/device_table.txt"
BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
-BR2_ENABLE_LOCALE_WHITELIST="C de en es fr it ja ko pt_BR ru zh_CN zh_TW"
-BR2_GENERATE_LOCALE="en_US.UTF-8 de_DE.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8 ja_JP.UTF-8 ko_KR.UTF-8 pt_BR.UTF-8 ru_RU.UTF-8 zh_CN.UTF-8 zh_TW.UTF-8"
+BR2_ENABLE_LOCALE_WHITELIST="C en"
+BR2_GENERATE_LOCALE="en_US.UTF-8"
BR2_SYSTEM_ENABLE_NLS=y
BR2_ROOTFS_USERS_TABLES="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/users-table"
BR2_ROOTFS_OVERLAY="../openpower/overlay"
diff --git a/openpower/scripts/blackbird-extra-cleanup b/openpower/scripts/blackbird-extra-cleanup
index cd7246d8..abcb141a 100755
--- a/openpower/scripts/blackbird-extra-cleanup
+++ b/openpower/scripts/blackbird-extra-cleanup
@@ -16,4 +16,8 @@ do
rm $TARGET_DIR/usr/lib/elfutils/libebl_${n}*.so
done
+# Keeping hardware driver modules in the skiroot build is more important than
+# keeping pretty-printing support for vendors in skiroot.
+rm $TARGET_DIR/etc/udev/hwdb.d/*
+
exit 0
OpenPOWER on IntegriCloud