Re: building individual components



On Sun, 2012-05-06 at 21:48 -0400, Matthias Clasen wrote:
> Here is where I am currently stuck in following the DeveloperWorkflow:
> 
> ostbuild build-components gnomeos-3.4/gnome-menus
> 
> fails to compose the buildroot, because some files in the repository
> are only readable by root.
> Full log attached.

$ ostree --repo=repo ls -R gnomeos-3.4-i686-devel / | grep -e '^-[0-9][0-9][0-9][0-9]0'
-00400 0 0    410 /etc/gshadow
-00600 0 0    400 /etc/gshadow-
-00600 0 0    767 /etc/passwd-
-00400 0 0   1568 /etc/securetty
-00600 0 0     23 /etc/NetworkManager/NetworkManager.conf
$

So...the reason I wasn't hitting this on my test builds before deploying
is because I have an "archive mode" repository instead of "bare".

The first set (gshadow*, passwd-, securetty), I just fixed in the Yocto
base.

The NetworkManager one is actually a bug in my patch =(
http://git.gnome.org/browse/ostree/tree/gnomeos/3.4/NetworkManager-config.patch

I've pushed fixes for these:

https://github.com/cgwalters/poky/commit/382e7467e30c07bbb210f96f5fa9e9f318ec2e12
http://git.gnome.org/browse/ostree/commit/?id=572de2dd6222bd5edebd990a9481cf6f766400e7

Starting a build now.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]