[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pre-built pwc modules for official debian kernel



Hi,

For different reasons:
1. I always learnt: thou shall never compile anything as root! (it's like faith, you don't discuss something like this ;-) ).
2. from /usr/src/linux/README, the voice of the masters:

   To do the actual install you have to be root, but none of the normal
   build should require that. Don't take the name of root in vain.

3. make-kpkg strongly suggests the usage of fakeroot. Why then?

Cheers, Eric

Victor Seva wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Eric Lavarde wrote:

Nevertheless, if I try to compile pwc as non-root (how it should be, in
my understanding), I get the following error:

ericl@zorglub:/usr/src/kernel-headers-2.6.10-1-k7$ fakeroot make-kpkg
--added_modules pwc-source modules_image
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb || \
           mv -f scripts/package/builddeb scripts/package/builddeb.dist
test ! -e scripts/package/Makefile || \
           (mv -f scripts/package/Makefile
scripts/package/Makefile.dist && \
              (echo "# Dummy file "; echo "help:") >
scripts/package/Makefile)
mv: cannot move `scripts/package/Makefile' to
`scripts/package/Makefile.dist': Permission denied
make: *** [stamp-debian] Error 1

So, did I misunderstood something, or is someone/something else the
culprit here?


Compiling the kernel or modules as non-root?? why? This work is for the admin... so root is the
right user to use.
- --
Victor Seva
linuxmaniac@torreviejawireless.org
http://www.torreviejawireless.org
http://linuxmaniac.homeip.net
jabber: linuxmaniac@jabber.torreviejawireless.org
PGP Key ID: 0xDD12F253
Socio numero 78 de ANURI
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFChfjzS/DSSd0S8lMRApqhAKCUwMn6LHzeegsK6OQ2EezMgZHYRACeNIwY
JGBwqZnMH+jaCRq6NZHNtNw=
=Noo8
-----END PGP SIGNATURE-----



--
Gewalt ist die letzte Zuflucht der Inkompetenz.
    Violence is the Last Resort of the Incompetent.
        Gwalt jest ostatnem schronieniem niekompetencji.
            La violence est le dernier refuge de l'incompetence.
    ~ Isaac Asimov



Reply to: