Am Samstag, 2. August 2014, 18:13:22 schrieb Yves Blusseau:
> Le 2 août 2014 à 16:14, kp kirchdoerfer <kap...@users.sourceforge.net> a 
écrit :
> > Am Samstag, 2. August 2014, 15:12:46 schrieb Yves Blusseau:
> >> Le 1 août 2014 à 17:11, kp kirchdoerfer <kap...@users.sourceforge.net> a
> > 
> > écrit :
> >>> Hi Yves;
> >>> 
> >>> can you pls check your latest commit of buildpackert.pl in branch maint.
> >>> 
> >>> I ran buildall and generated images, butthey fail to start with a kernel
> >>> panic (no init found) - replacing builpacket.pl from the tagged
> >>> v5.0.5-rc1 cures the problem.
> >>> I beleive something went wrong.
> >> 
> >> Don't see where the problem can be. I only force ownership and permission
> >> on .lrp files. Is the initrd file correctly built ?
> >> We need to find why the kernel panic with no init found…
> > 
> > It's a permssion problem:
> > 
> > -rw-rw-r--  var/lib/lrpkg/root.linuxrc
> > 
> > root.linuxrc must be executable.
> 
> Humm, very strange. I don't see this bug because i'm running buildpacket.pl
> with fakeroot (and you must be using sudo instead of fakeroot), and with
> fakeroot the permission of files are not changed. I don't know why …
> > Although buildpacket uses the permisson settings found in buildtool.cfg
> > (755) it seems it's overwritten later with 664.
> > 
> > I noted that
> > 
> > Generating lrpkg files
> > Generating package conf file
> > Generating package help
> > Generating package version file
> > Generating package local file
> > Generating package local file
> > 
> > is run after setting the permissions, instead before as before your
> > change....
> I have commit a fix that change permission only for .help, .version,
> .modules, .local, .license, .deplrp files.

Hi Yves;

I confirm it's fixed (at least for maint branch).

You are right I ran buildpacket.pl almost every time with sudo, but 
tools/buildall.sh uses fakeroot, which failed as well - in fact that's where I 
ran into the error, when i did buildall and generated the images.

kp


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to