summaryrefslogtreecommitdiffstats
path: root/openpower/scripts
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 /openpower/scripts
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.
Diffstat (limited to 'openpower/scripts')
-rwxr-xr-xopenpower/scripts/blackbird-extra-cleanup4
1 files changed, 4 insertions, 0 deletions
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