Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Stefan Buschmann <s_buschmann@gmx.de>
To: openembedded-devel@lists.openembedded.org
Subject: changing system configuration in a customized image
Date: Sun, 17 Jan 2010 10:11:09 +0100	[thread overview]
Message-ID: <4B52D42D.9020103@gmx.de> (raw)

Hi all!

I'm using a customized image of SHR that includes some additional 
packages I like to have installed automatically as well as a package 
that should include the changes to the system configuration that I need. 
It would just be nice to have this done automatically rather than having 
to tweak the system by hand every time I build and install a new image 
on the device.

So e.g. I would like to change configuration files and execute some 
commands:
- Add a system user
- Install customized version of '/etc/samba/smb.conf'
- Set samba password via 'smbpasswd'

I think I can't simply run those commands via install or staging task, 
because I wouldn't be able to run something like 'smbpasswd' there. So I 
figure the way to go would be to add a configuration script which runs 
only on the first system start, that can modify the configuration files 
and run the necessary commands.

So is this the right approach? How can I add such a script? I tried to 
find out by looking into e.g. the recipe for 'alsa' but didn't find a 
clue there. Also I'm making my way through the OpenEmbedded User Manual 
but couldn't find it there either.

Thanks,

Stefan




             reply	other threads:[~2010-01-17  9:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-17  9:11 Stefan Buschmann [this message]
2010-01-18 17:25 ` changing system configuration in a customized image Rolf Leggewie

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=4B52D42D.9020103@gmx.de \
    --to=s_buschmann@gmx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox