All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcin Juszkiewicz <openembedded@hrw.one.pl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [RFC] make building working zaurus images easier
Date: Thu, 26 Jul 2007 13:57:59 +0200	[thread overview]
Message-ID: <200707261358.00658.openembedded@hrw.one.pl> (raw)
In-Reply-To: <46A88A22.5010608@dominion.kabel.utwente.nl>

Dnia czwartek, 26 lipca 2007, Koen Kooi napisał:

> Building a working zaurus image is tedious since you have *manually*
> rename a bunch of files before the on-board flashing software will
> accept it.

+2 from me

> I therefore want to propose 2 small scripts that can be run as
> EXTRA_IMAGECMD to make life a lot easier for both developers and users:
>
> [beware of line wrapping]
>
> For c7x0:

For c7x0/poodle/tosa you mean ;)

For collie:

cd ${DEPLOY_DIR_IMAGE}
mkdir ${IMAGE_NAME}-installkit/
cp `ls zImage-2* | sort -b | uniq |tail -n1` ${IMAGE_NAME}-installkit/zImage.bin 
cp `ls ${IMAGE_NAME}.rootfs*jffs2 | sort -b | uniq |tail -n1` ${IMAGE_NAME}-installkit/initrd.bin
tar czf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit.tar.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit/
rm -rf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit/

Also we should use gzip compression for installkit tarballs as this will
allow users to unpack them on devices (gzip is in busybox).

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

 BSD is what you get when a bunch of Unix hackers sit down to try to port
 a Unix system to the PC. Linux is what you get when a bunch of PC hackers
 sit down and try to write a Unix system for the PC.





  reply	other threads:[~2007-07-26 11:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-26 11:48 [RFC] make building working zaurus images easier Koen Kooi
2007-07-26 11:57 ` Marcin Juszkiewicz [this message]
2007-07-26 12:11 ` Koen Kooi
2007-07-26 12:30   ` Richard Purdie
2007-07-26 12:44     ` Koen Kooi
2007-07-26 13:19 ` Michael Krelin
2007-07-26 16:51   ` Richard Purdie
2007-07-26 17:36   ` Koen Kooi
2007-07-26 18:04     ` Michael Krelin
2007-07-26 18:39     ` Richard Purdie
2007-07-27  8:26       ` Koen Kooi
2007-07-27  8:47         ` Michael Krelin
2007-07-27  9:54           ` Koen Kooi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200707261358.00658.openembedded@hrw.one.pl \
    --to=openembedded@hrw.one.pl \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.