[Buildroot] initramfs doesn't need root to create an image
Peter Korsgaard
jacmet at uclibc.org
Sat Mar 29 14:33:15 UTC 2008
>>>>> "Nigel" == Nigel Kukard <nkukard at lbsd.net> writes:
>> > Attached a patch which removes the requirement on fakeroot & makedevs
>> > and prevents files from being created in /dev instead of devices when
>> > one builds buildroot as a non-priv user.
>>
>> Why? Was there a problem with fakeroot?
Nigel> Not fakeroot itself, but you cannot create a device if you're
Nigel> a non-priv user. So ... nothing fails, makedevs generates
Nigel> lovely zero size files instead of devices & fakeroot appears
Nigel> to hide the errors.
But that's the point of fakeroot. Applications run from within
fakeroot believes the trickery and sees the (fake) device nodes. I
haven't looked into the initramfs stuff, but why wouldn't that work
there as well?
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list