From: Steve Calfee <nospamcalfee@yahoo.com>
To: buildroot@busybox.net
Subject: [Buildroot] skeleton updates
Date: Fri, 10 Dec 2010 08:34:57 -0800 (PST) [thread overview]
Message-ID: <695339.53017.qm@web58207.mail.re3.yahoo.com> (raw)
In-Reply-To: <002a01cb9875$c5f3b5b0$51db2110$@zuerker.org>
----- Original Message ----
> From: Heiko Zuerker <heiko@zuerker.org>
> > From: buildroot-bounces at busybox.net [mailto:buildroot-
> > Subject: [Buildroot] skeleton updates
> >
> > Hi Guys,
> >
> > I am trying to follow up with Marcus Osdoba's work on dockstar and get
> > something ready to submit to buildroot.
> >
> > I am having a real problem figuring out how stuff makes it into the the
> final
> > etc directory. My patch script in the
> > target/device/sheevaplug/SeagateDockStar/patchrootfs.sh copies new files
> > (inittab and shadow into output/target/skeleton/etc/ and this happens on
> > re-invocation of make. However when I look at the rootfs.tar file the
> > updated inittab is not there. Can anyone describe how the various /etc/
> files
> > in fs/skeleton and target/device/...skeleton and the final patch file get
> to the
> > final output image files.
>
> The best place to add these customizations is BR2_ROOTFS_POST_BUILD_SCRIPT,
> which you can find under "Target filesystem options" in menuconfig.
> This script is called after everything is build, but before the target
> filesystem is generated.
>
> Here's the example I use:
> BR2_ROOTFS_POST_BUILD_SCRIPT="$(TOPDIR)/$(BOARD_PATH)/customize_target.sh"
>
Hi thanks for the comment. I am using that script and it gets invoked during the
build.
Investigating further, I was copying into the wrong output directory.
The way I implemented rootfs updates, is I just have a device directory with the
skeleton of things I want installed, and it gets copied over the default stuff
from the build. In the case of the default all I am changing is inittab and
shadow, but any file could be added there to replace or add to the default
fs/skeleton.
next prev parent reply other threads:[~2010-12-10 16:34 UTC|newest]
Thread overview: 84+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-05 20:52 [Buildroot] [pull request] Pull request for branch for-2011.02/boards-cleanup Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 01/55] defconfigs: keep only one defconfig per board Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 02/55] Remove unused Atmel-specific mirror definitions Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 03/55] Update defconfigs after Atmel mirror related options removal Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 04/55] Remove completely useless set of Makefiles specific to Atmel Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 05/55] Remove useless target/device/mips Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 06/55] Move Config.in.mirrors out of target/device Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 07/55] Use the new BR2_ROOTFS_SKELETON_CUSTOM options Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 08/55] Remove mini device table, it isn't used Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 09/55] Stop referencing the crazy target/device stuff Thomas Petazzoni
2010-12-06 7:35 ` Thomas De Schampheleire
2010-12-06 19:43 ` Thomas Petazzoni
2010-12-07 7:26 ` Thomas De Schampheleire
2010-12-07 20:18 ` Thomas Petazzoni
2010-12-08 6:57 ` Thomas De Schampheleire
2010-12-05 20:52 ` [Buildroot] [PATCH 10/55] Remove all Config.in/Makefile.in files in target/device Thomas Petazzoni
[not found] ` <522C1DF17AF50042AD8AE87F7887BD3D01E0B5DDE7@exch.hq.tensilica.com>
2010-12-06 21:02 ` Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 11/55] Remove Busybox skeleton from target/device/Atmel Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 12/55] Remove crazy set of empty directories Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 13/55] Re-add target/generic/Config.in options to menuconfig Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 14/55] documentation: Update to explain how board support works Thomas Petazzoni
2010-12-10 6:46 ` [Buildroot] skeleton updates Steve Calfee
2010-12-10 14:23 ` Heiko Zuerker
2010-12-10 16:34 ` Steve Calfee [this message]
2010-12-10 16:55 ` Heiko Zuerker
2010-12-11 4:37 ` [Buildroot] [PATCH 14/55] documentation: Update to explain how board support works Steve Calfee
2010-12-11 10:05 ` Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 15/55] at91bootstrap: switch to the official version Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 16/55] at91bootstrap: rename config options for consistency Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 17/55] board: update and minify at91sam9263ek_defconfig Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 18/55] board: update and minify at91sam9261ek_defconfig Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 19/55] board: update and minify at91sam9g20dfc_defconfig Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 20/55] at91bootstrap: no board name check when 'make source' is used Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 21/55] dependencies: add unzip Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 22/55] u-boot: add U-Boot 2010.09 Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 23/55] barebox: bump Barebox to 2010.11 Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 24/55] board: minify integrator926_defconfig Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 25/55] board: remove integrator926_huge_defconfig Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 26/55] Remove useless kernel config files for integrator926 Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 27/55] board: remove i386/i686_defconfig Thomas Petazzoni
2010-12-05 20:52 ` [Buildroot] [PATCH 28/55] Minify arm_toolchain_defconfig Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 29/55] Minify arm_nptl_toolchain_defconfig Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 30/55] board: simplify atngw100 support Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 31/55] board: simplify kb9202 board Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 32/55] board: update and minify at91rm9200df_defconfig Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 33/55] board: update and minify at91sam9260dfc_defconfig Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 34/55] board: remove support for at91sam9260pf Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 35/55] board: update and minimize atstk100x_defconfig Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 36/55] board: remove atstk1005_defconfig Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 37/55] board: remove Valka v100sc2 Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 38/55] Remove the few remaining unused Atmel-specific bits Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 39/55] board: add Qemu Versatile defconfig Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 40/55] board: add support for Mini 2440 Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 41/55] board: add new Qemu x86 configuration file Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 42/55] u-boot: add CROSS_COMPILE/ARCH when building host tools Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 43/55] Free text field for serial port configuration Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 44/55] Add network scripting folders to fs/skeleton Thomas Petazzoni
2010-12-16 14:16 ` Peter Korsgaard
2010-12-05 20:53 ` [Buildroot] [PATCH 45/55] Create menu entry to select device creation method Thomas Petazzoni
2010-12-16 14:26 ` Peter Korsgaard
2010-12-05 20:53 ` [Buildroot] [PATCH 46/55] linux: Import minimal defconfigs as defconfigs Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 47/55] linux: support a space-separated list of patches Thomas Petazzoni
2010-12-16 21:34 ` Peter Korsgaard
2010-12-16 22:21 ` Mike Frysinger
2010-12-17 9:41 ` Peter Korsgaard
2010-12-17 13:35 ` Mike Frysinger
2010-12-05 20:53 ` [Buildroot] [PATCH 48/55] linux: always enable support for tmpfs in the kernel Thomas Petazzoni
2010-12-17 15:43 ` Peter Korsgaard
2010-12-05 20:53 ` [Buildroot] [PATCH 49/55] Improve handling of mdev/udev Thomas Petazzoni
2010-12-17 15:51 ` Peter Korsgaard
2011-03-07 18:52 ` William Wagner
2011-03-07 19:32 ` Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 50/55] xtensa: remove unused and useless skeleton patch Thomas Petazzoni
2010-12-06 1:08 ` Marc Gauthier
2010-12-06 19:48 ` Thomas Petazzoni
2010-12-08 5:45 ` Marc Gauthier
2010-12-06 1:22 ` Marc Gauthier
2010-12-05 20:53 ` [Buildroot] [PATCH 51/55] board: Add Qemu SH4 r2d configuration Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 52/55] linux: add support for ELF vmlinux image Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 53/55] board: Add a Qemu PPC g3beige board Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 54/55] board: Add a Qemu mipsel Malta board Thomas Petazzoni
2010-12-05 20:53 ` [Buildroot] [PATCH 55/55] linux: add KERNEL_ARCH_PATH to fix x86-specific issue Thomas Petazzoni
2010-12-17 16:01 ` [Buildroot] [pull request] Pull request for branch for-2011.02/boards-cleanup Peter Korsgaard
2010-12-18 16:55 ` Thomas Petazzoni
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=695339.53017.qm@web58207.mail.re3.yahoo.com \
--to=nospamcalfee@yahoo.com \
--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