[Buildroot] [PATCH] fakeroot: bump version to 1.21-2

Arnout Vandecappelle arnout at mind.be
Wed Mar 15 00:20:29 UTC 2017



On 14-03-17 14:48, Andreas Naumann wrote:
> Hi again,
> 
> I cannot confirm that fakeroot 1.21 solves the problem. What works is going back
> to 1.18.4 or using the packaged fakeroot of my host (1.20-3ubuntu2).
> 
> To describe the issue again, the problem is doing 'cp -a' in the fakeroot
> environment (genimage does this, so I cant easily change this).
> However, I'm not so sure if what so far worked is to be expected. After all, -a
> means --preserve=all.
> 
> I have a simple test, running the following script under fakeroot after building
> a defconfig, which provides a rootfs.tar:
>  rm -rf .tmpdir* rootfs.2.tar
>  mkdir .tmpdir
>  tar -xzf output/images/rootfs.tar -C .tmpdir
>  cp -a .tmpdir .tmpdir2
>  tar -cf rootfs.2.tar -C .tmpdir2 .

 For the record, I can reproduce this on my side. I just do "fakeroot
/bin/bash", then do the commands from the shell. Even an ls -l of the copied
files within the fakeroot shell already shows the "arnout" instead of "root"
user. My host fakeroot (Debian 1.21-3.1).

 I have also tried removing the ac_cv_header_sys_capability_h=y, that doesn't
make a difference.

 I have not yet tried applying the Debian patches to the Buildroot-built fakeroot.

 Regards,
 Arnout

> 
> When done, a
> tar -tvf rootfs.2.tar
> shows changed permissions for everything and the original owner for files:
> 
> drwx------ root/root         0 2017-03-14 13:37 ./
> drwx------ root/root         0 2016-10-06 09:03 ./mnt/
> drwxrwxrwt root/root         0 2017-03-10 14:44 ./tmp/
> drwx------ root/root         0 2017-03-14 13:37 ./tmp/ldconfig/
> -rw------- joe/somegroup     33 2017-03-14 13:37 ./tmp/ldconfig/aux-cache
> drwx------ root/root             0 2017-03-10 14:35 ./tmp/fontconfig/
> ...
> 
> I tried to apply the patches that Ubuntu has for the host package, but that
> doesnt help either. What else can I do? Can anybody shed some light on this?
> 
> 
> thanks,
> Andreas
> 
> 
> 
> 
> 
> 
> Am 14.03.2017 um 12:04 schrieb Andreas Naumann:
>> Hi,
>>
>>
>> Am 14.03.2017 um 09:16 schrieb Thomas Petazzoni:
>>> Hello,
>>>
>>> On Mon, 13 Mar 2017 17:33:06 +0100, Yann E. MORIN wrote:
>>>
>>>> I had a look at the diff between 1.20.2 (which we have right now) and
>>>> 1.21, and the only noticeable delta is the change of a bufgfer size in
>>>> mesage.h, the rest of the delta being the removal of the generated
>>>> autostuff.
>>>>
>>>> So we can quite safely backport that single change.
>>>
>>> Andreas, could you test Yann's patch? Does it fix your problem?
>>
>> I just did, but unfortunately it does not help. However, even with plain
>> 1.21 I no longer get the correct behaviour. Only thing that helps is
>> going back to 1.18.4.
>> It was late Friday when I thought 1.21 was working, but I may have
>> tested an Ubuntu version of it (1.21-3.1 or so). I will try to track
>> that down.
>>
>> regards,
>> Andreas
>>
>>>
>>> Thanks,
>>>
>>> Thomas
>>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF


More information about the buildroot mailing list