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

Bug#823107: linux: make deb-pkg fails: No rule to make target 'debian/certs/benh@debian.org.cert.pem'



Package: src:linux
Version: 4.5.2-1

Dear maintainer:

I merged the output of "lsmod" in two different virtual machines
running stretch/sid to create a minimal kernel which works on both.

The combined file is attached as "lsmod.txt".

Then I created a .config file by executing this script:


#!/bin/sh
cd linux-source-4.5
rm -f .config
make LSMOD=../lsmod.txt localyesconfig
cp -p .config ../dot.config

The resulting file, dot.config, is also attached.


Then I tried to use upstream target, as recommended, to create a .deb
package for the kernel, using this script:


#!/bin/sh
cd linux-source-4.5
time -p make -j4 EXTRAVERSION="-qemu-amd64" KDEB_PKGVERSION=$(make kernelversion)-$(date +%Y%m%d).0 bindeb-pkg


I already did this in jessie so I expected this to work on stretch as
well, but this is what heppened:


make[3]: *** No rule to make target 'debian/certs/benh@debian.org.cert.pem', needed by 'certs/x509_certificate_list'.  Stop.
Makefile:954: recipe for target 'certs' failed
make[2]: *** [certs] Error 2
make[2]: *** Waiting for unfinished jobs....
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
scripts/package/Makefile:97: recipe for target 'bindeb-pkg' failed
make[1]: *** [bindeb-pkg] Error 2
Makefile:1255: recipe for target 'bindeb-pkg' failed
make: *** [bindeb-pkg] Error 2
Command exited with non-zero status 2


Does this mean I need your key to build a custom kernel? I hope not.

Should I remove CONFIG_SYSTEM_TRUSTED_KEYS from .config before building
the kernel? I hope not.

Maybe "make localyesconfig" should not take CONFIG_SYSTEM_TRUSTED_KEYS
from the running kernel or the linux-source package? I don't know.

To summarize: I think this should work without having to do anything
special, but currently, it does not.

Thanks.
8250_fintek
ablk_helper
acpi_cpufreq
aesni_intel
aes_x86_64
ansi_cprng
ata_generic
ata_piix
autofs4
button
cirrus
crc16
crc32c_generic
crc32c_intel
crc32_pclmul
crct10dif_pclmul
cryptd
dm_mod
drbg
drm
drm_kms_helper
ehci_hcd
ehci_pci
evdev
ext4
floppy
gf128mul
ghash_clmulni_intel
glue_helper
hmac
i2c_piix4
irqbypass
jbd2
jitterentropy_rng
joydev
kvm
kvm_intel
libata
lrw
mbcache
Module
parport
parport_pc
pcspkr
ppdev
processor
psmouse
pvpanic
qxl
scsi_mod
serio_raw
tpm
tpm_tis
ttm
uhci_hcd
usb_common
usbcore
virtio
virtio_balloon
virtio_blk
virtio_console
virtio_net
virtio_pci
virtio_ring
virtio_scsi

Attachment: dot.config.gz
Description: application/gzip


Reply to: