linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Stephen Williams" <612dlag102@sneakemail.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Re: rpm for embedded system
Date: Wed, 07 Jul 2004 15:08:06 -0700	[thread overview]
Message-ID: <20685-04823@sneakemail.com> (raw)
In-Reply-To: <40EC682F.5090004@bluewin.ch>


Wolfgang Grandegger wolfgang.grandegger-at-bluewin.ch |PPC Linux
Embedded| wrote:

>>Almost. That is instructions for remaking the ELDK packages
>>from the src.rpms. But I want to take the existing binary
>>rpms and install them on my owh root. This does *not* work:
>>
>>   ppc_4xx-rpm --root=/mnt/flash foo.ppc.rpm
>>
>>I want to do something like that with the packages, so that
>>I can install individual existing ppc.rpm packages from the
>>ELDK disk onyl by flash card.
>
>
> Hm, have a look to the ELDK CDROM, especially check the ".list" files in
> /mnt/cdrom/etc. They actually define the packages to be installed. You
> might copy parts of the tree to disk and tailor the list files according
> to your needs. Then you should be able to install the RPM packages with
> the "install" utility as usual. Nevertheless, a root file system built
> this way is very large, too large for most embedded systems.

Indeed, I really only want 3 or 4 rpms (glibc, e2fsprogs, maybe
a few others) and a few rpms of my own.

It would be ideal to be able to do something like:

    rpm --root=/mnt/flash --initdb
    rpm --root=/mnt/flash -ivh glibc-common-X.ppc.rpm
    rpm --root=/mnt/flash -ivh e2fsprogs-X.ppc.rpm
    rpm --root=/mnt/flash -ivh my-jse-initscripts-X.ppc.rpm

and so on. (As an aside, I may be wanting to allow for
running rpm on the target device itself to update in the
field. Getting fancy, eh?)

--
Steve Williams                "The woods are lovely, dark and deep.
steve at XXXXXXXXXX           But I have promises to keep,
http://www.XXXXXXXXXX         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2004-07-07 22:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-07 19:11 rpm for embedded system Stephen Williams
2004-07-07 19:21 ` Wolfgang Grandegger
2004-07-07 19:30   ` Stephen Williams
2004-07-07 21:16     ` Wolfgang Grandegger
2004-07-07 22:08       ` Stephen Williams [this message]
2004-07-07 22:53         ` Wolfgang Denk
2004-07-07 23:33         ` Robert P. J. Day
2004-07-08  6:20           ` Marc Leeman
2004-07-08 12:12 ` AW: " Thomas Schafer

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=20685-04823@sneakemail.com \
    --to=612dlag102@sneakemail.com \
    --cc=linuxppc-embedded@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).