mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Yet another permission clash rootfs and rootfs-addons
Date: Mon, 6 Jul 2020 16:23:17 +0200	[thread overview]
Message-ID: <20200706142317.GC19479@pengutronix.de> (raw)
In-Reply-To: <45ebcf27-ab4b-89b2-5214-75a9aa83d477@ppc-ag.de>

On Mon, Jul 06, 2020 at 04:09:06PM +0200, Mircea Ciocan wrote:
> Sorry for noise, but I've got yet another permission clash that
> unfortunately is not (for me) easily solvable:
> 
> Incompatible ownership or permissions for '/root':
> rootfs: 0.0 0700
> rootfs-addons: 0.0 0755 (implicit)
> 
> One of these packages must be fixed!
> 
> ./ptxdist-2020.07.0/rules/image-root-tgz.make:29: recipe for target
> './platform-MCIMX6ULL-EVK/images/root.tgz' failed
> 
> I deactivated the rootfs /media (bit of a lame solution) from the previous
> report, until a proper fix is done, but how do I repair this ?

rootfs-addons is a local package in your BSP, right? You need to create
/root there as well with the correct permission:

	@$(call install_copy, rootfs-addons, 0, 0, 0700, /root)

This must be done before installing any files inside /root.

I think I need to improve the error message for this...

Michael

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

      reply	other threads:[~2020-07-06 14:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-06 14:09 Mircea Ciocan
2020-07-06 14:23 ` Michael Olbrich [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=20200706142317.GC19479@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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