From 9b1f7ada983d8693ef15514bb01051a1fd3c4f30 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Sat, 6 Aug 2005 23:39:01 +0000 Subject: 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! --- conf/distro/ucslugc.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'conf') 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 -- cgit v1.2.3 From 4d6fcf9b57e820709e252e4f60714f8bde1f421a Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Sun, 7 Aug 2005 19:51:47 +0000 Subject: Added diffstat to feed --- conf/distro/openslug-packages.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf') diff --git a/conf/distro/openslug-packages.conf b/conf/distro/openslug-packages.conf index 46f5b8babc..f1a031075c 100644 --- a/conf/distro/openslug-packages.conf +++ b/conf/distro/openslug-packages.conf @@ -26,6 +26,7 @@ ${PKGDIR}/packages/cyrus-sasl/*.bb \ ${PKGDIR}/packages/db/*.bb \ ${PKGDIR}/packages/devio/*.bb \ ${PKGDIR}/packages/diffutils/*.bb \ +${PKGDIR}/packages/diffstat/*.bb \ ${PKGDIR}/packages/dnsmasq/*.bb \ ${PKGDIR}/packages/dropbear/*.bb \ ${PKGDIR}/packages/e2fsprogs/*.bb \ @@ -144,6 +145,7 @@ ${PKGDIR}/packages/screen/*.bb \ ${PKGDIR}/packages/sed/*.bb \ ${PKGDIR}/packages/setpwc/*.bb \ ${PKGDIR}/packages/slugimage/*.bb \ +${PKGDIR}/packages/softdog/*.bb \ ${PKGDIR}/packages/strace/*.bb \ ${PKGDIR}/packages/streamripper/*.bb \ ${PKGDIR}/packages/sudo/*.bb \ -- cgit v1.2.3 From ad00f15597bda01daefa99e1ced2af8cd490cf1f Mon Sep 17 00:00:00 2001 From: John Bowler Date: Sun, 7 Aug 2005 19:51:53 +0000 Subject: Add diffstat. --- conf/distro/ucslugc-packages.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'conf') diff --git a/conf/distro/ucslugc-packages.conf b/conf/distro/ucslugc-packages.conf index b922ffe0b9..489b1c0112 100644 --- a/conf/distro/ucslugc-packages.conf +++ b/conf/distro/ucslugc-packages.conf @@ -26,6 +26,7 @@ ${PKGDIR}/packages/cyrus-imapd/*.bb \ ${PKGDIR}/packages/cyrus-sasl/*.bb \ ${PKGDIR}/packages/db/*.bb \ ${PKGDIR}/packages/devio/*.bb \ +${PKGDIR}/packages/diffstat/*.bb \ ${PKGDIR}/packages/diffutils/*.bb \ ${PKGDIR}/packages/dnsmasq/*.bb \ ${PKGDIR}/packages/dropbear/*.bb \ -- cgit v1.2.3