All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neuer User <auslands-kv@gmx.de>
To: yocto@yoctoproject.org
Subject: [Probably solved] Re: Post-installation and read-only-image
Date: Fri, 23 May 2014 17:05:28 +0200	[thread overview]
Message-ID: <llno3o$gr7$1@ger.gmane.org> (raw)
In-Reply-To: <llnllh$hju$1@ger.gmane.org>

Sorry, please ignore my mail. I seem to have missed a "install -d"
command. Not it builds the image, but I still seem to have some errors I
need to fix.

Thanks nonetheless!

Michael

Am 23.05.2014 16:23, schrieb Neuer User:
> Hello
> 
> I build a read-only-image and need to exchange a few configuration files
> before the final image is build. Unfortunately, I ran into this error:
> 
> ERROR: The following packages could not be configuredoffline and rootfs
> is read-only: xxx
> 
> My recipe looks basically as follows:
> 
> ...
> do_install() {
>     install -d ${D}${sbindir}
>     install -m 0700 ${S}/sbin/* ${D}${sbindir}
> 
>     install -d ${D}${bindir}
> ...
> }
> 
> # Overwrite some configuration data with specific files
> pkg_postinst_${PN} () {
>     install -m 0600 ${S}/ssh/* ${D}/etc/ssh/
>     install -m 0755 ${S}/etc/rc.local ${D}/etc/
>     install -m 0644 ${S}/etc/asound.conf ${D}/etc/
>     install -m 0400 ${S}/etc/shadow ${D}/etc/
>     install -m 0440 ${S}/etc/sudoers ${D}/etc/
>     install -m 0644 ${S}/etc/default-ntpdate ${D}/etc/default/ntpdate
> }
> 
> FILES_${PN} += "/*"
> 
> 
> Anybody knows, what is wrong that the image cannot be configured offline?
> 
> Thanks
> 
> Michael
> 




      reply	other threads:[~2014-05-23 15:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-23 14:23 Post-installation and read-only-image Neuer User
2014-05-23 15:05 ` Neuer User [this message]

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='llno3o$gr7$1@ger.gmane.org' \
    --to=auslands-kv@gmx.de \
    --cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.