CONFIG_LOCALVERSION and make-kpkg



Hello group,

I would like to use CONFIG_LOCALVERSION=-myversion.

Then, I use the following commands for compilation:

make-kpkg clean
fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image

Unfortunately, this results in the following error message:

--------------------
....
make[2]: Entering directory `/usr/src/linux-2.6.20.7'
INSTALL drivers/ata/sata_via.ko
INSTALL drivers/net/r8169.ko
INSTALL drivers/scsi/aic7xxx/aic7xxx.ko
INSTALL drivers/scsi/sd_mod.ko
INSTALL security/capability.ko
INSTALL security/commoncap.ko
INSTALL sound/ac97_bus.ko
INSTALL sound/core/oss/snd-mixer-oss.ko
INSTALL sound/core/oss/snd-pcm-oss.ko
INSTALL sound/core/seq/oss/snd-seq-oss.ko
INSTALL sound/core/seq/snd-seq-device.ko
INSTALL sound/core/seq/snd-seq-dummy.ko
INSTALL sound/core/seq/snd-seq-midi-event.ko
INSTALL sound/core/seq/snd-seq-midi.ko
INSTALL sound/core/seq/snd-seq.ko
INSTALL sound/core/snd-page-alloc.ko
INSTALL sound/core/snd-pcm.ko
INSTALL sound/core/snd-rawmidi.ko
INSTALL sound/core/snd-rtctimer.ko
INSTALL sound/core/snd-timer.ko
INSTALL sound/core/snd.ko
INSTALL sound/drivers/mpu401/snd-mpu401-uart.ko
INSTALL sound/pci/ac97/snd-ac97-codec.ko
INSTALL sound/pci/snd-via82xx.ko
INSTALL sound/soundcore.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map
-b /usr/src/linux-2.6.20.7/debian/tmp-image -r 2.6.20.7-myversion; fi
make[2]: Leaving directory `/usr/src/linux-2.6.20.7'
test ! -e debian/tmp-image/lib/modules/2.6.20.7/source ||
\
mv debian/tmp-image/lib/modules/2.6.20.7/source ./debian/source-link
test ! -e debian/tmp-image/lib/modules/2.6.20.7/build ||
\
mv debian/tmp-image/lib/modules/2.6.20.7/build ./debian/build-link
depmod -q -FSystem.map -b debian/tmp-image 2.6.20.7;
WARNING: Couldn't open directory debian/tmp-image/lib/modules/2.6.20.7: No
such file or directory
FATAL: Could not open debian/tmp-image/lib/modules/2.6.20.7/modules.dep.temp
for writing: No such file or directory
--------------------

I found out that there is no directory
"debian/tmp-image/lib/modules/2.6.20.7",
but a directory "
"debian/tmp-image/lib/modules/2.6.20.7-myversion",
which seems to be ok.

But the make-kpkg tool seems to ignore the localversion I entered.

Why?

Please help!

Thank you,
Magnus

.



Relevant Pages

  • Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
    ... you have to use your editor commands. ... Yeah I got that part figured out now. ... I alwasy install in seprate partitions and share common stuff I ... save it all to peruse at a later date, thanks bit twister. ...
    (alt.os.linux)
  • Re: Another question of win2000 DC to win2003
    ... - Can I run adprep /forestprep /domainprep commands only for error ... It will ofcourse give you some downtime in the upgrade phase. ... Also check that all installed hardware/software is compatible with 2003 and you have the correct drivers available BEFORE running the update, so that you quickly install them. ... install/replication, Transfer 5 FSMO, dcpromo win2000). ...
    (microsoft.public.windows.server.migration)
  • Re: rx2600s on eBay
    ... HP OpenVMS Industry Standard 64 Operating System, ... You can install or upgrade the OpenVMS I64 operating system ... You can also execute DCL commands and procedures to perform ...
    (comp.os.vms)
  • Re: Is it always this difficult to get started with BSD/unix?
    ... > installation of FreeBSD. ... without a gui. ... or use the suggested geometry from the install program. ... some of the cryptic commands. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: windows media player
    ... yum --enablerepo=livna install mplayer ... I always do this with new commands. ... So, if I understand the webpage correctly, I need Fedora extras first, ... Mplayer and run the yum command script in the directory where I put the ...
    (Fedora)