mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Yet another permission clash rootfs and rootfs-addons
@ 2020-07-06 14:09 Mircea Ciocan
  2020-07-06 14:23 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Mircea Ciocan @ 2020-07-06 14:09 UTC (permalink / raw)
  To: ptxdist

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 ?


  Best regards,

  Mircea


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] Yet another permission clash rootfs and rootfs-addons
  2020-07-06 14:09 [ptxdist] Yet another permission clash rootfs and rootfs-addons Mircea Ciocan
@ 2020-07-06 14:23 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2020-07-06 14:23 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-06 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 14:09 [ptxdist] Yet another permission clash rootfs and rootfs-addons Mircea Ciocan
2020-07-06 14:23 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox