opkg - adding an offline-path option

Andy Green andy at openmoko.com
Mon Nov 24 10:28:06 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Andy Green wrote:
|> On Fedora anyway normal permissions should disallow any damage to the
|> build host if you're running as normal user:
|
| Yes, but what if I'm not ? :) Some of the things running in the
| rootfs also need to have their privileges matched with file
| permissions.
|
| Also, just preventing the access isn't necessarily enough. What
| if we actually need that entry in /etc/shells ?

You might need an entry in ./etc/shells, which fakeroot can sort out for
you enough to create a tarball from ./etc that says the right "root"
permissions, but you will never need an entry in build host /etc/shells
as part of this.

If you didn't try fakeroot before give it a go, it's pretty cool.
uclinux can cook rootfs images using it as normal user safely.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkkqc6YACgkQOjLpvpq7dMqjmgCeNz5xkTdUWRaSKiFfxfUe0BEt
hiwAn2fbqmf334WZB7H2k2ebXDp2Ms2C
=+CVg
-----END PGP SIGNATURE-----



More information about the devel mailing list