All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rod Whitby <rod@whitby.id.au>
To: Using the OpenEmbedded metadata to build Distributions
	<openembedded-devel@lists.openembedded.org>
Subject: Base image dependencies
Date: Mon, 24 Dec 2007 11:22:00 +1030	[thread overview]
Message-ID: <476F02B0.7090405@whitby.id.au> (raw)
In-Reply-To: <476D5DCE.6080703@student.utwente.nl>

Koen Kooi wrote:
> As part of the OE-testlab I wrote a .dot generator for image contents
> and made a png of
> Angstrom-base-image-glibc-ipk-2007.11RC2-ixp4xxbe.rootfs.tar.gz:
> 
> http://ewi546.ewi.utwente.nl/tmp/test-nolibc-noupdate-nq8.png
> 
> This shows the Depends: (solid lines) and Recommends: (dashed lines)
> fields of the installed packages, but with 'libgcc', 'libc6' and
> 'update_' filtered out for readability.

As a result of this excellent analysis by Koen (thanks!), I'm trimming
task-distro-base and task-machine-base out of base-image.  There are too
many things that distros and machines add using DISTRO_EXTRA_* and
MACHINE_EXTRA_* which are not strictly required to boot, get networking
up, and run ipkg install.

For example, the x86.conf file adds "kernel-modules" to
MACHINE_EXTRA_RDEPENDS which would mean that a base-image for x86 has
*all* kernel modules included in the rootfs.  Things like avahi, whilst
very convenient, are also not strictly required and can be installed
later using tasks.

In my opinion, anything that a machine needs to boot, be accessible by
the default network interface, and be able to run a package manager (if
one happens to be installed by some other means) should be included in
MACHINE_ESSENTIAL_* (and therefore becomes part of task-boot).

Perhaps we also need a corresponding DISTRO_ESSENTIAL_* set of variables
for things that distro requires to boot and be accessible by the default
network interface, and be able to run a package manager (if one happens
to be installed by some other means).  Feed configs would fit into this
category.

-- Rod



       reply	other threads:[~2007-12-24  0:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <476D5DCE.6080703@student.utwente.nl>
2007-12-24  0:52 ` Rod Whitby [this message]
2007-12-24  1:48   ` Base image dependencies Paul Sokolovsky

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=476F02B0.7090405@whitby.id.au \
    --to=rod@whitby.id.au \
    --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.