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 02:53:59 +0000
commit61cafde3f710ccc6488f2413b62ef827d55b5a51 (patch)
tree31eb9bb03cda17fad86d7943537da347865fb284
parent489c1a1d3599a0b37764b88824246fa20615329e (diff)
downloadtalos-op-build-61cafde3f710ccc6488f2413b62ef827d55b5a51.tar.gz
talos-op-build-61cafde3f710ccc6488f2413b62ef827d55b5a51.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/talos_defconfig4
-rwxr-xr-xopenpower/scripts/talos-extra-cleanup4
2 files changed, 6 insertions, 2 deletions
diff --git a/openpower/configs/talos_defconfig b/openpower/configs/talos_defconfig
index 727d61d4..35b59f4e 100644
--- a/openpower/configs/talos_defconfig
+++ b/openpower/configs/talos_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/talos-extra-cleanup b/openpower/scripts/talos-extra-cleanup
index cd7246d8..abcb141a 100755
--- a/openpower/scripts/talos-extra-cleanup
+++ b/openpower/scripts/talos-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