mirror of
https://git.proxmox.com/git/mirror_spl-debian
synced 2025-10-04 19:37:19 +00:00
Recommends: linux-libc-dev (< ${LINUX_NEXT})
This tries to prevent unexpected upgrades of kernel that is not known to be supported by the packaged version of ZFS/SPL.
This commit is contained in:
parent
3b02d3c04d
commit
1cd9ef4f0f
1
debian/control
vendored
1
debian/control
vendored
@ -24,6 +24,7 @@ Depends: dkms (>> 2.2.1.0),
|
||||
lsb-release,
|
||||
${misc:Depends}
|
||||
Recommends: spl (>= ${source:Upstream-Version}),
|
||||
linux-libc-dev (< 4.16)
|
||||
Provides: spl-modules
|
||||
Description: Solaris Porting Layer kernel modules for Linux
|
||||
The Solaris Porting Layer (SPL) is a Linux kernel module which provides
|
||||
|
8
debian/get_next.sh
vendored
Executable file
8
debian/get_next.sh
vendored
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
SUPPORT=$(cat debian/linux_compat)
|
||||
MAJOR=$(echo $SUPPORT|cut -d'.' -f1)
|
||||
MINOR=$(echo $SUPPORT|cut -d'.' -f2)
|
||||
NEXT=$((MINOR+1))
|
||||
|
||||
echo "${MAJOR}.${NEXT}"
|
1
debian/linux_compat
vendored
Normal file
1
debian/linux_compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
4.15
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -22,7 +22,7 @@ pmodules = $(PACKAGE)-modules-$(non_epoch_version)
|
||||
dh $@ --with dkms,autoreconf --parallel
|
||||
|
||||
override_dh_auto_configure:
|
||||
@cp debian/control.in debian/control
|
||||
sed "s/@LINUX_COMPAT@/linux-libc-dev \(< $(shell debian/get_next.sh)\)/" debian/control.in > debian/control
|
||||
|
||||
@# Embed the downstream version in the module.
|
||||
@sed \
|
||||
@ -61,7 +61,7 @@ override_dh_dkms:
|
||||
override_dh_auto_clean:
|
||||
dh_auto_clean
|
||||
@if test -e META.orig; then mv META.orig META; fi
|
||||
cp debian/control.in debian/control
|
||||
sed "s/@LINUX_COMPAT@/linux-libc-dev \(< $(shell debian/get_next.sh)\)/" debian/control.in > debian/control
|
||||
|
||||
# ------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user