aboutsummaryrefslogtreecommitdiffstats
path: root/conf/distro/ucslugc.conf
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-06 23:39:01 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-06 23:39:01 +0000
commit9b1f7ada983d8693ef15514bb01051a1fd3c4f30 (patch)
treea08b54201855f9cced096859d40e2f2015519b01 /conf/distro/ucslugc.conf
parentdec04522ef65bce5c6675c47c4ab743f92b3bd61 (diff)
downloadopenembedded-9b1f7ada983d8693ef15514bb01051a1fd3c4f30.tar.gz
UcSlugC: make (significantly) smaller by removing the kernel from the root
file system - the size of the rootfs is reduced by 35% of the previous size!
Diffstat (limited to 'conf/distro/ucslugc.conf')
-rw-r--r--conf/distro/ucslugc.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/distro/ucslugc.conf b/conf/distro/ucslugc.conf
index c321f18009..7eb8e2f9ad 100644
--- a/conf/distro/ucslugc.conf
+++ b/conf/distro/ucslugc.conf
@@ -61,6 +61,12 @@ EXTRA_IMAGECMD_jffs2 = "--pad --big-endian --eraseblock=0x20000 -D ${OPENSLUG_DE
# issues in the kernel need to cancel this (set CMDLINE_DEBUG empty in local.conf)
CMDLINE_DEBUG = "noirqdebug"
+# IMAGE_PREPROCESS_COMMAND is run before making the image. In UcSlugC the
+# kernel image is removed from the root file system to recover the space used -
+# UcSlugC is assumed to boot from a separate kernel image in flash (not in the
+# root file system), if this is not the case the following must not be done!
+IMAGE_PREPROCESS_COMMAND = "rm ${IMAGE_ROOTFS}/boot/zImage*;"
+
# EXTRA PACKAGES
# --------------
# UcSlugC builds an openslug-image with no extra packages - to add packages to the