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

Re: pre-built pwc modules for official debian kernel



Hi,

I digged a bit more into it, and if I chown the right directories to myself (but I don't think it's correct), actually by mean of 'mv' and 'cp -a' back:
drwxr-xr-x  16 ericl src      [...] kernel-headers-2.6.10-1
drwxr-xr-x  16 root  root     [...] kernel-headers-2.6.10-1.BAK
drwxr-xr-x   4 ericl src      [...] kernel-headers-2.6.10-1-k7
drwxr-xr-x   3 root  root     [...] kernel-headers-2.6.10-1-k7.BAK
drwxr-xr-x   3 ericl src      [...] kernel-kbuild-2.6-3
drwxr-xr-x   3 root  root     [...] kernel-kbuild-2.6-3.BAK

I then get the following message:
ericl@zorglub:/usr/src/kernel-headers-2.6.10-1-k7$ fakeroot make-kpkg --added_modules pwc modules_image
for module in /usr/src/modules/pwc ; do                       \
          if test -d  $module; then                                \
    (cd $module;                                          \
if ./debian/rules KVERS="2.6.10" KSRC="/usr/src/kernel-headers-2.6.10-1-k7" \ KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf" \

KPKG_DEST_DIR="/usr/src/kernel-headers-2.6.10-1-k7/.."       \
KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \
                             KPKG_EXTRAV_ARG=""        \
                             ARCH="i386"                  \
                             KDREV="10.00.Custom" kdist_image; then    \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   if [ "X" != "X" ]; then      \
echo "Perhaps $module does not understand --rootcmd?"; \ echo "If you see messages that indicate that it is not"; \ echo "in fact being built as root, please file a bug "; \
                      echo "against $module.";                     \
                   fi;                                              \
                   echo "Hit return to Continue";                   \
         read ans;                                        \
              fi;                                                   \
     );                                                    \
  else                                                      \
               echo "Module $module does not exist";               \
               echo "Hit return to Continue?";                      \
  fi;                                                       \
        done
make[1]: Entering directory `/usr/src/modules/pwc'
make[1]: Nothing to be done for `kdist_image'.
make[1]: Leaving directory `/usr/src/modules/pwc'
Module /usr/src/modules/pwc processed fine

And I think that in deed the kdist_image target is missing in debian/rules!?

Cheers, Eric

PS: I'm on the debian-mentors list, no need to cc me.

Eric Lavarde wrote:
Hi,

perhaps a bit off-topic but we had the discussion already a while ago, and I don't come further on what is the "Right Thing To Do".

My understanding after the last discussion is that:
- if one use a standard kernel, say kernel-image-2.6.10-1-k7
- one install as well kernel-headers-2.6.10-1-k7
- this and make-kpkg should be enough to compile the Debian way external modules (like pwc).

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?

Thanks, Eric

Victor Seva wrote:

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

I created the pwc-source package [1] and now its in new queue pending to be included on sid [2]. Sean Finney its my sponsor but We have no experience on kernel modules packages. And We want to make pre-built modules for official debian kernel in order to make things easier to the users.

How this staff works? What source packages should I take a look?

[1] http://mentors.debian.net/debian/pool/main/p/pwc/
[2] http://ftp-master.debian.org/new.html
- --
Victor Seva



--
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: