Received: from host4.kei.pl ([195.149.226.213] helo=smtp.host4.kei.pl) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Nl3W7-0002vr-6P for openembedded-devel@lists.openembedded.org; Fri, 26 Feb 2010 17:58:23 +0100 Received: (qmail 12160 invoked by uid 813007); 26 Feb 2010 16:55:32 -0000 X-clamdmail: clamdmail 0.18a Received: from 195.149.226.213 (HELO home.localnet) (marcin@juszkiewicz.com.pl@195.149.226.213) by 195.149.226.213 with ESMTPA; 26 Feb 2010 16:55:32 -0000 From: Marcin Juszkiewicz To: openembedded-devel@lists.openembedded.org Date: Fri, 26 Feb 2010 17:54:25 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.33-rc7-00064-gac73fdd; KDE/4.3.4; x86_64; ; ) References: <1267202357-8614-1-git-send-email-Martin.Jansa@gmail.com> In-Reply-To: <1267202357-8614-1-git-send-email-Martin.Jansa@gmail.com> MIME-Version: 1.0 Message-Id: <201002261754.25997.marcin@juszkiewicz.com.pl> X-SA-Exim-Connect-IP: 195.149.226.213 X-SA-Exim-Mail-From: marcin@juszkiewicz.com.pl X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: Generating slightly different images for different IMAGE_FSTYPES X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2010 16:58:23 -0000 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Dnia pi=C4=85tek, 26 lutego 2010 o 17:39:16 Martin Jansa napisa=C5=82(a): > We're slowly stripping packages not really needed, but it would be > nice to remove whole /boot with kernel-image. > Is there better way to solve it or should we try harder to save space > somewhere else? Learn about ROOTFS_POSTPROCESS_COMMAND variable present in=20 classes/rootfs_*.bbclass files. You can use it to launch your function afte= r=20 rootfs is populated. So for example your shr-lite-image has drop_kernel_from_boot function in wh= ich=20 you check "MACHINE=3D=3Dom-gta01" and if it is then "rm -rf /boot/uImage". = After=20 your function all normal ext2/ubifs/jffs2/tarball images will be created=20 without kernel in them. Regards,=20 =2D-=20 JID: hrw@jabber.org Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz