Commit 57fff1ac authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Tim Gardner

UBUNTU: [Debian] supply zfs dkms Provides: based on do_zfs

Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
parent 7cfb525b
...@@ -88,6 +88,12 @@ binary: binary-indep binary-arch ...@@ -88,6 +88,12 @@ binary: binary-indep binary-arch
build: build-arch build-indep build: build-arch build-indep
# If we are building zfs update the provides.
rprovides=
ifeq ($(do_zfs),true)
rprovides:=$(rprovides), spl-dkms, zfs-dkms
endif
clean: debian/control clean: debian/control
dh_testdir dh_testdir
dh_testroot dh_testroot
...@@ -144,6 +150,7 @@ $(DEBIAN)/control.stub: $(DEBIAN)/d-i/kernel-versions.in \ ...@@ -144,6 +150,7 @@ $(DEBIAN)/control.stub: $(DEBIAN)/d-i/kernel-versions.in \
-e 's/ABINUM/$(abinum)/g' \ -e 's/ABINUM/$(abinum)/g' \
-e 's/SRCPKGNAME/$(src_pkg_name)/g' \ -e 's/SRCPKGNAME/$(src_pkg_name)/g' \
-e 's/=HUMAN=/$(human_arch)/g' \ -e 's/=HUMAN=/$(human_arch)/g' \
-e 's/=RPROVIDES=/$(rprovides)/g' \
> $$new; \ > $$new; \
done done
flavours="$(sort $(wildcard $(DEBIAN)/control.d/vars.* $(DEBIAN)/sub-flavours/*.vars))";\ flavours="$(sort $(wildcard $(DEBIAN)/control.d/vars.* $(DEBIAN)/sub-flavours/*.vars))";\
...@@ -153,6 +160,7 @@ $(DEBIAN)/control.stub: $(DEBIAN)/d-i/kernel-versions.in \ ...@@ -153,6 +160,7 @@ $(DEBIAN)/control.stub: $(DEBIAN)/d-i/kernel-versions.in \
-e 's/ABINUM/$(abinum)/g' \ -e 's/ABINUM/$(abinum)/g' \
-e 's/SRCPKGNAME/$(src_pkg_name)/g' \ -e 's/SRCPKGNAME/$(src_pkg_name)/g' \
-e 's/=HUMAN=/$(human_arch)/g' \ -e 's/=HUMAN=/$(human_arch)/g' \
-e 's/=RPROVIDES=/$(rprovides)/g' \
>> $(DEBIAN)/control.stub; \ >> $(DEBIAN)/control.stub; \
done done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment