Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michael S. Zick <minimod@morethan.org>
To: buildroot@busybox.net
Subject: [Buildroot] Report from the Buildroot Developer Day
Date: Tue, 15 Nov 2011 17:28:40 -0600	[thread overview]
Message-ID: <201111151728.43325.minimod@morethan.org> (raw)
In-Reply-To: <201111152217.08212.arnout@mind.be>

On Tue November 15 2011, Arnout Vandecappelle wrote:
> > ?* Ultimately, be able to generate binary packages (ipk or other
> > ? ?format) that can be installed on the target without re-generating a
> > ? ?new root filesystem image.
> 
> ?Now this, on the other hand, is still a useful addition. ?At least, if it 
> doesn't make the build system much more complicated to add it (you probably 
> need at least a per-package staging dir).
> 

Or,
A per-package filesystem layer.
Better than a per-package directory because the layered filesystem
would also 'capture' changes and deletions, not just additions.

The filesystem I have in mind as I write this, is auFS.

But,
The auFS filesystem isn't in the main-stream kernel, and requiring
a specially patched kernel (not all distros have an 'auFS' kernel)
would be too restrictive for general Buildroot usage.

And, the folks not running Buildroot on a Linux host would be
really left out in the cold.  ;-)

Hmm...
Then again,
It might be practical to support such an 'external' (user provided)
system with the only changes to main-stream Buildroot being a pair
of (normally empty) 'hooks' in the package install infrastructure.

The user could then provide (perhaps based on a Buildroot 'contrib'
tree submissions) the prolog and epilog functions/scripts needed.

In this sort of 'package building' infrastructure;

The 'PKG_INSTALL_INIT' hook ensures there is an empty/clean, R/W
top layer of the filesystem.

The 'PKG_INSTALL_FINAL' hook would examine the top layer (from
outside of the total stack mount point) - -
All of the newly added files will be __only__ on that clean layer;
All of the changed files will have been copied up (which can be detected);
All of the deleted files will have 'whiteouts' recorded in the layer.

Currently, JRO (auFS author) is considering adding a 'move down'
function to the file system, which would simplify going from the
"final" state of the prior package to the "init" state of the next
package somewhat simpler.

This way, the people who are running an auFS enabled kernel could
just set the 'hooks' to their extra packaging code;
everyone else could just ignore the new hooks with minimal impact.

Mike

  reply	other threads:[~2011-11-15 23:28 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02 15:03 [Buildroot] Report from the Buildroot Developer Day Thomas Petazzoni
2011-11-02 20:15 ` Peter Korsgaard
2011-11-04 11:56 ` Luca Ceresoli
2011-11-04 12:30   ` Michael S. Zick
2011-11-07 16:17   ` Peter Korsgaard
2011-11-07  9:58 ` Thomas De Schampheleire
2011-11-07 12:09   ` Sam Ravnborg
2011-11-07 12:25     ` Thomas Petazzoni
2011-11-07 12:39       ` Yann E. MORIN
2011-11-08 13:20         ` Thomas De Schampheleire
2011-11-07 12:39   ` Thomas Petazzoni
2011-11-07 19:01     ` Yann E. MORIN
2011-11-08  8:19       ` Thomas De Schampheleire
2011-11-15 22:17 ` Arnout Vandecappelle
2011-11-15 23:28   ` Michael S. Zick [this message]
2011-11-17 13:57   ` Thomas De Schampheleire
2011-11-17 21:21     ` Bjørn Forsman
2011-11-18  6:39       ` Thomas De Schampheleire
2011-11-18 11:04         ` Bjørn Forsman
2011-11-18 11:36           ` Thomas De Schampheleire
2011-11-18 17:51           ` Arnout Vandecappelle
2011-11-18 22:53             ` Peter Korsgaard
2011-11-18 23:16               ` Arnout Vandecappelle
2011-11-19  8:24                 ` Peter Korsgaard
2011-11-20  8:36             ` Thomas Petazzoni
2011-11-20  9:58               ` Peter Korsgaard

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=201111151728.43325.minimod@morethan.org \
    --to=minimod@morethan.org \
    --cc=buildroot@busybox.net \
    /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