opkg - adding an offline-path option

Andy Green andy at openmoko.com
Mon Nov 24 14:31:42 CET 2008


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

Somebody in the thread at some point said:

| If I remember well, on Fedora permission are set and nodes are created
| at install time. So you never have to be root to generate a package.

It's true the spec file can override the permissions in the staging
directory when the package is made.  But -->

| Le lundi 24 novembre 2008 à 13:05 +0000, Andy Green a écrit :
|> I don't think we can totally eliminate root in whole scheme of things,

What I was talking about here as "whole scheme of things" is getting the
tarball or ext2 filesystem image on to the destination device.  For tar
xf you have to be root to do the mknod action, and for ext2 filesystem
you have to be root to get write access to the /dev/sdxn node.

It's the same to say you need to be root to do rpm -Uvf or whatever if
the dirs you unpack to are root-owned as are the /var/lib/rpm stuff...
we can arrange everything else not to need root but we can't get away
from it at the end.

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

iEYEARECAAYFAkkqrL0ACgkQOjLpvpq7dMo8lwCfZC9GcMAB3Bk+Fvasukkk3jmo
lP4AmgM8Gs1cLMVzVotwe/Kx9ryxP91A
=4AS2
-----END PGP SIGNATURE-----



More information about the devel mailing list