Package: vpb-driver-source Version: 4.2.61-1 Severity: important Several "install" targets in vpb-driver-source run depmod, but don't specify the kernel version. In a chroot environment the running kernel may not be installed and may not be the same as the target kernel, so that /lib/modules/$(uname -r) does not exist. This is a fatal error for depmod.
This patch should fix the problem: --- a/src/vpb/Makefile +++ b/src/vpb/Makefile @@ -46,7 +46,7 @@ install: echo "installing $$m --> $(MODULEDIR)"; \ install -m 644 $$m $(MODULEDIR); \ done - /sbin/depmod + /sbin/depmod $(KVERS) clean distclean: $(RM) *.o *.ko *~ core *.mod.c .*.cmd --- a/src/vtcore/Makefile +++ b/src/vtcore/Makefile @@ -50,7 +50,7 @@ install: echo "installing $$m --> $(MODULEDIR)"; \ install -m 644 $$m $(MODULEDIR); \ done - /sbin/depmod + /sbin/depmod $(KVERS) @modprobe -r netjet > /dev/null 2>&1 || true clean distclean: --- END --- Ben. -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages vpb-driver-source depends on: ii bzip2 1.0.6-9 ii debhelper 12 ii make 4.2.1-1.2 ii module-assistant 0.11.10 vpb-driver-source recommends no packages. vpb-driver-source suggests no packages.