* [Buildroot] Adding local file system overlay
@ 2013-04-26 6:10 Lars Dunemark
2013-04-26 7:33 ` Jeremy Rosen
0 siblings, 1 reply; 4+ messages in thread
From: Lars Dunemark @ 2013-04-26 6:10 UTC (permalink / raw)
To: buildroot
Hi Buildroot mailinglist!
During development of a new platform I sometimes find it useful to bundle my test builds with my own script/configuration files.
Example: SSH keys
This is not something that we want to include in default configuration for a board or by any way get in a final build so instead I added a second step to local file system overlay checking a local variable and if it is set us it as a roofs overlay.
Is this something that is of interests for the upstream project?
Example:
export LOCAL_ROOTFS_OVERLAY=/local-rootfs-overlay
make
Best regards,
Lars Dunemark
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Adding local file system overlay
2013-04-26 6:10 [Buildroot] Adding local file system overlay Lars Dunemark
@ 2013-04-26 7:33 ` Jeremy Rosen
2013-04-26 8:48 ` Lars Dunemark
0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Rosen @ 2013-04-26 7:33 UTC (permalink / raw)
To: buildroot
----- Mail original -----
> Hi Buildroot mailinglist!
>
> During development of a new platform I sometimes find it useful to
> bundle my test builds with my own script/configuration files.
> Example: SSH keys
>
> This is not something that we want to include in default
> configuration for a board or by any way get in a final build so
> instead I added a second step to local file system overlay checking
> a local variable and if it is set us it as a roofs overlay.
>
> Is this something that is of interests for the upstream project?
>
> Example:
> export LOCAL_ROOTFS_OVERLAY=/local-rootfs-overlay
> make
>
doesn't buildroot already do that ?
system configuration => overlay directory
or is your patch doing something different
on a semi-related note, I run the following post-build script for
ssh keys :
#!/bin/sh
mkdir -p $1/root/.ssh/
chmod 0700 $1/root/.ssh/
chmod 0700 $1/root
cp -p ~/.ssh/id_rsa.pub $1/root/.ssh/authorized_keys
chmod 0600 $1/root/.ssh/authorized_keys
that will copy my public key as an authorized key on the built system
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Adding local file system overlay
2013-04-26 7:33 ` Jeremy Rosen
@ 2013-04-26 8:48 ` Lars Dunemark
2013-04-26 17:02 ` Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: Lars Dunemark @ 2013-04-26 8:48 UTC (permalink / raw)
To: buildroot
> doesn't buildroot already do that ?
>
> system configuration => overlay directory
>
> or is your patch doing something different
Currect Buildroot has this functionality but this requires me to update the configuration for my build target.
My suggestion is to allow this without configuration changes, making it possible to alternate a build on your local machine without risking getting it in the default configuration for that target when doing make savedefconfig.
Best regards
Lars Dunemark
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Adding local file system overlay
2013-04-26 8:48 ` Lars Dunemark
@ 2013-04-26 17:02 ` Arnout Vandecappelle
0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2013-04-26 17:02 UTC (permalink / raw)
To: buildroot
On 26/04/13 10:48, Lars Dunemark wrote:
>> doesn't buildroot already do that ?
>>
>> system configuration => overlay directory
>>
>> or is your patch doing something different
> Currect Buildroot has this functionality but this requires me to update the configuration for my build target.
>
> My suggestion is to allow this without configuration changes, making it possible to alternate a build on your local machine without risking getting it in the default configuration for that target when doing make savedefconfig.
You can always override any configuration option on the command line:
make BR2_ROOTFS_OVERLAY=...
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-26 17:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-26 6:10 [Buildroot] Adding local file system overlay Lars Dunemark
2013-04-26 7:33 ` Jeremy Rosen
2013-04-26 8:48 ` Lars Dunemark
2013-04-26 17:02 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox