From: David Bonnin <dboml@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] post-buil script in chrooted
Date: Fri, 26 Oct 2012 22:56:15 +0200 [thread overview]
Message-ID: <508AF8EF.4070002@free.fr> (raw)
In-Reply-To: <507F15D3.2080805@mind.be>
Hello,
Exactly, i want to create few users on the target, and copy files for
each user, like ftpUser , httpdUser, userMyApp, userMyBackupApp.
I doesn't want to copy files only for root.
My apps(2) on the target doesn't run under root privileveges, and have
theirs own default files/directory.
Now, i understand BR, i did it statically, with copy files by post-build
script and permissions target in customize package ( deprecated).
My next step, will be put the default directory/files in root folder,
and at target board starting create/copy files for my users, in goal to
remove customize package and my own Skeleton.
Thinking of starting, It seemed implicit that we can execute a personnal
script in a fakeroot script for modify the target dir before make images.
My project works now, and looking back BR is a good choice(better than
TI-SDK, and easy to understand).
Le 17/10/2012 22:32, Arnout Vandecappelle a ?crit :
> On 16/10/12 00:03, David Bonnin wrote:
>> Hello,
>>
>> yes, sorry , i mean , i was looking for a post-build script for my
>> board in a fakeroot environnement.
>> customize package is deprecated.
>>
>> in board/me/Myproject/rootfs-adds/root/
>>
>> i want to cp files of root user.
>
> Do you mean, files that are owned by root and are not readable by you?
> That won't be possible.
>
> Or do you mean, files that should be owned by root in the target? In
> that
> case, you can just copy them in the post-build script - buildroot will
> make
> everything owned by root.
>
>
>> So i need to use custom skeletonfs or use customize package.
>
> Neither of these will do anything that the post-build script cannot do.
>
> Regards,
> Arnout
next prev parent reply other threads:[~2012-10-26 20:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-12 5:18 [Buildroot] post-buil script in chrooted David Bonnin
2012-10-12 7:30 ` Thomas Petazzoni
2012-10-12 8:41 ` Thomas De Schampheleire
2012-10-12 18:52 ` Arnout Vandecappelle
2012-10-15 22:03 ` David Bonnin
2012-10-17 20:32 ` Arnout Vandecappelle
2012-10-26 20:56 ` David Bonnin [this message]
2012-10-26 23:05 ` Arnout Vandecappelle
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=508AF8EF.4070002@free.fr \
--to=dboml@free.fr \
--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