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 02:53:59 +0000
commit61cafde3f710ccc6488f2413b62ef827d55b5a51 (patch)
tree31eb9bb03cda17fad86d7943537da347865fb284 /openpower/scripts
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.
Diffstat (limited to 'openpower/scripts')
-rwxr-xr-xopenpower/scripts/talos-extra-cleanup4
1 files changed, 4 insertions, 0 deletions
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