libera/#devuan-dev/ Tuesday, 2020-10-13

masonplasma41: Nice.02:57
GNUmoon2I figured out why I couldn't compile a custom kernel in chimaera, it does not like the .config for some reason.12:49
GNUmoon2I copied the default config from /boot/config-5.8.0-3-amd64, then $ make oldconfig with no changes.12:50
GNUmoon2$ make -j9 deb-pkg LOCALVERSION=-custom12:51
GNUmoon2goes for a while... then "make: *** [Makefile:1503: deb-pkg] Error 212:52
GNUmoon2I can only get it to compile if I remove the .config and create a default one with $ make defconfig. Then the compile process will complete successfully.12:53
GNUmoon2I then installed the freshly compiled kernel, but it would not boot correctly, complaining about not finding mdadm.. probably another issue.12:53
GNUmoon2for another time.12:53
DPAGNUmoon2: The kernels from debian are signed. If you copy their config, make will after a while notice that it won't be able to sign the kernel because it doesn't have13:22
DPAthe certificates from debian. You can either create your own certificates, and specify them in menuconfig, or you can disable the signing of the kernel. The latter13:22
DPArequires disabling about 11 other signing related things all over the place. It's a real pain either way.13:22
GNUmoon2DPA: ok, thanks.13:22
fsmithredDPA, would using the config from the unsigned kernel work?15:29
DPAfsmithred: I haven't tried, but I don't think so:17:31
DPA$ apt-get download linux-image-5.8.0-0.bpo.2-amd64-unsigned17:31
DPA$ ar pf linux-image-5.8.0-0.bpo.2-amd64-unsigned_5.8.10-1~bpo10+1_amd64.deb data.tar.xz | tar -xJO ./boot/config-5.8.0-0.bpo.2-amd64 | grep CONFIG_SYSTEM_TRUSTED_KEY17:31
DPA> CONFIG_SYSTEM_TRUSTED_KEYRING=y17:31
DPA> CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem"17:31
fsmithredthanks for checking18:01

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!