diff options
author | Sergey V. Lobanov <sergey@lobanov.in> | 2024-05-28 21:46:28 +0200 |
---|---|---|
committer | Sergey V. Lobanov <sergey@lobanov.in> | 2024-06-02 14:30:48 +0200 |
commit | d9fc4be48641bc7116e4dacbdb5e3115c3181a89 (patch) | |
tree | 13b80f8df13d56702bfa3ea94ee5a37c5e1992f7 /drivers/dkms/vlan_mon | |
parent | bf7b43e7d10d2a5719438a27cb8a3400ce52e06e (diff) | |
download | accel-ppp-d9fc4be48641bc7116e4dacbdb5e3115c3181a89.tar.gz accel-ppp-d9fc4be48641bc7116e4dacbdb5e3115c3181a89.zip |
build: add dkms support for ipoe and vlan_mon drivers, ci optimizations
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
Diffstat (limited to 'drivers/dkms/vlan_mon')
-rw-r--r-- | drivers/dkms/vlan_mon/README.md | 10 | ||||
-rw-r--r-- | drivers/dkms/vlan_mon/debian/accel-ppp-vlan-mon-dkms.dkms | 5 | ||||
-rw-r--r-- | drivers/dkms/vlan_mon/debian/changelog | 5 | ||||
-rw-r--r-- | drivers/dkms/vlan_mon/debian/compat | 1 | ||||
-rw-r--r-- | drivers/dkms/vlan_mon/debian/control | 11 | ||||
-rwxr-xr-x | drivers/dkms/vlan_mon/debian/rules | 18 | ||||
l--------- | drivers/dkms/vlan_mon/src | 1 |
7 files changed, 51 insertions, 0 deletions
diff --git a/drivers/dkms/vlan_mon/README.md b/drivers/dkms/vlan_mon/README.md new file mode 100644 index 00000000..6b582e2a --- /dev/null +++ b/drivers/dkms/vlan_mon/README.md @@ -0,0 +1,10 @@ +## Building Debian DKMS pacakge + +Install deb packages: dkms, debhelper and devscripts. For Debian >= 12 and Ubuntu >=24.04 it is also required to install dh-dkms package. + +Build accel-ppp without drivers, then from this level directory, execute: + +``` +cp ../../../build/version.h src/ +debuild -us -uc -tc -b +``` diff --git a/drivers/dkms/vlan_mon/debian/accel-ppp-vlan-mon-dkms.dkms b/drivers/dkms/vlan_mon/debian/accel-ppp-vlan-mon-dkms.dkms new file mode 100644 index 00000000..c3ce430b --- /dev/null +++ b/drivers/dkms/vlan_mon/debian/accel-ppp-vlan-mon-dkms.dkms @@ -0,0 +1,5 @@ +PACKAGE_NAME="accel-ppp-vlan-mon" +PACKAGE_VERSION="#MODULE_VERSION#" +AUTOINSTALL=yes +BUILT_MODULE_NAME="vlan_mon" +DEST_MODULE_LOCATION="/updates/dkms" diff --git a/drivers/dkms/vlan_mon/debian/changelog b/drivers/dkms/vlan_mon/debian/changelog new file mode 100644 index 00000000..ee4f7505 --- /dev/null +++ b/drivers/dkms/vlan_mon/debian/changelog @@ -0,0 +1,5 @@ +accel-ppp-vlan-mon-dkms (1.13.0) unstable; urgency=low + + * First vlan_mon dkms package + + -- Sergey V. Lobanov <sergey@lobanov.in> Wed, 29 May 2024 11:30:13 +0200 diff --git a/drivers/dkms/vlan_mon/debian/compat b/drivers/dkms/vlan_mon/debian/compat new file mode 100644 index 00000000..f599e28b --- /dev/null +++ b/drivers/dkms/vlan_mon/debian/compat @@ -0,0 +1 @@ +10 diff --git a/drivers/dkms/vlan_mon/debian/control b/drivers/dkms/vlan_mon/debian/control new file mode 100644 index 00000000..32795370 --- /dev/null +++ b/drivers/dkms/vlan_mon/debian/control @@ -0,0 +1,11 @@ +Source: accel-ppp-vlan-mon-dkms +Maintainer: Dmitry Kozlov <xeb@mail.ru> +Build-Depends: debhelper (>= 10), dkms +Homepage: https://www.accel-ppp.io/ + +Package: accel-ppp-vlan-mon-dkms +Architecture: all +Priority: optional +Section: kernel +Depends: dkms (>= 1.95), linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers, ${misc:Depends} +Description: DKMS source for the accel-ppp-vlan-mon driver diff --git a/drivers/dkms/vlan_mon/debian/rules b/drivers/dkms/vlan_mon/debian/rules new file mode 100755 index 00000000..e02f6770 --- /dev/null +++ b/drivers/dkms/vlan_mon/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/pkg-info.mk + +%: + dh $@ --with dkms + +override_dh_install: + dh_install src/* usr/src/accel-ppp-vlan-mon-$(DEB_VERSION_UPSTREAM)/ + +override_dh_dkms: + dh_dkms -V $(DEB_VERSION_UPSTREAM) + +override_dh_auto_configure: +override_dh_auto_build: +override_dh_auto_test: +override_dh_auto_install: +override_dh_auto_clean: diff --git a/drivers/dkms/vlan_mon/src b/drivers/dkms/vlan_mon/src new file mode 120000 index 00000000..727f1d5c --- /dev/null +++ b/drivers/dkms/vlan_mon/src @@ -0,0 +1 @@ +../../vlan_mon
\ No newline at end of file |