linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "Stephen Williams" <612dlag102@sneakemail.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: rpm for embedded system
Date: Thu, 08 Jul 2004 00:53:15 +0200	[thread overview]
Message-ID: <20040707225320.7E22EC109F@atlas.denx.de> (raw)
In-Reply-To: Your message of "Wed, 07 Jul 2004 15:08:06 PDT." <20685-04823@sneakemail.com>


In message <20685-04823@sneakemail.com> you wrote:
>
> 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

You don't really want to do that. The standard RPM's include a lot of
stuff that are just a waste of resources on  the  embedded  system  -
things  like  man  pages, info pages, debug and profiling versions of
the system libraries etc. You will just waste tens and tens of  mega-
bytes in your root filesystem.

If you need package management on the target,  the  RPM  is  not  the
right  tool.  And if you really want to use RPM, then you must create
customized RPMs first.

> 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?)

I think there are leaner and better ways to do this than  using  RPM.
While  technically  possible,  it  is  most  probably not the optimal
solution for your problem.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
A supercomputer is a machine that runs an endless loop in 2 seconds.

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

  reply	other threads:[~2004-07-07 22:53 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
2004-07-07 22:53         ` Wolfgang Denk [this message]
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=20040707225320.7E22EC109F@atlas.denx.de \
    --to=wd@denx.de \
    --cc=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).