El 20/5/25 a las 23:27, Alberto Leiva escribió:
Can anyone help with this?
Please try the attached patch, which tries to follow "the dh way" more closely. I've tested the following dpkg-buildpackage -b dpkg-buildpackage -A dpkg-buildpackage -B and they seem to generate the same packages, but please make sure that the contents is correct and what you wanted. Thanks.
commit 8bff946ce7f5b984652c7e3f0c7e0c14ba4a94cf Author: Santiago Vila <sanv...@debian.org> Date: Wed May 21 00:38:00 2025 +0200 Fix arch:all diff --git a/debian/compat b/debian/compat deleted file mode 100644 index b4de3947..00000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -11 diff --git a/debian/control b/debian/control index 187db0b0..d675efe8 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Maintainer: Alberto Leiva Popper <ydah...@gmail.com> Section: kernel Priority: optional Build-Depends: - debhelper (>= 11), dh-sequence-dkms, + debhelper-compat (= 13), dh-sequence-dkms, pkgconf, gawk, file, cpio, libnl-genl-3-dev, libnl-3-dev, libxtables-dev diff --git a/debian/rules b/debian/rules index 2c3e9f73..dc9c6e9c 100755 --- a/debian/rules +++ b/debian/rules @@ -22,11 +22,8 @@ override_dh_dkms: # -V enables us to use #MODULE_VERSION# in the jool-dkms.dkms file. dh_dkms -V -override_dh_install: - # See `debhelper(7)`, not `dh_install(1)`. - dh_install -Njool-dkms - dh_install -pjool-dkms \ - -X/usr/ -X.o -XMakefile.in -XMakefile.am \ +override_dh_install-arch: + dh_install -a -X/usr/ -X.o -XMakefile.in -XMakefile.am \ src usr/src/jool-$(DEB_VERSION_UPSTREAM) # -- Overrides needed by the systemd unit files -- @@ -39,3 +36,5 @@ override_dh_installsystemd: override_dh_installinit: dh_installinit --no-enable --no-start --name=jool_siit dh_installinit --no-enable --no-start --name=jool + +override_dh_missing: