[Pkg-dkms-commits] [SCM] Maintenance of the dkms package branch, master, updated. upstream/2.0.20.4-9-gc47eb12
Giuseppe Iuculano
giuseppe at iuculano.it
Wed Dec 24 16:27:51 UTC 2008
The following commit has been merged in the master branch:
commit c47eb1225adb7f8c610fd1a7aeba562de0bcdfee
Author: Giuseppe Iuculano <giuseppe at iuculano.it>
Date: Wed Dec 24 17:27:43 2008 +0100
debian/patches/06-fakeroot.patch: Do not use fakeroot for source-only build, and use -rfakeroot for binary build
diff --git a/debian/patches/06-fakeroot.patch b/debian/patches/06-fakeroot.patch
new file mode 100644
index 0000000..ed4ceea
--- /dev/null
+++ b/debian/patches/06-fakeroot.patch
@@ -0,0 +1,17 @@
+Do not use fakeroot for source-only build, and use -rfakeroot for binary build
+--- a/dkms
++++ b/dkms
+@@ -3127,11 +3127,11 @@
+ pushd "$temp_dir_debian" > /dev/null 2>&1
+ case "$create_type" in
+ dsc)
+- invoke_command "fakeroot dpkg-buildpackage -S -us -uc 1>/dev/null" "Building source package"
++ invoke_command "dpkg-buildpackage -S -us -uc 1>/dev/null" "Building source package"
+ invoke_command "mv '$temp_dir/${debian_package}-dkms_${module_version}.dsc' '$temp_dir/${debian_package}-dkms_${module_version}.tar.gz' '$deb_basedir'" "Moving built files to $deb_basedir"
+ ;;
+ deb)
+- invoke_command "fakeroot dpkg-buildpackage -b -us -uc 1>/dev/null" "Building binary package"
++ invoke_command "dpkg-buildpackage -rfakeroot -b -us -uc 1>/dev/null" "Building binary package"
+ invoke_command "mv '$temp_dir/${debian_package}-dkms_${module_version}_all.deb' '$deb_basedir'" "Moving built files to $deb_basedir"
+ ;;
+ esac
diff --git a/debian/patches/series b/debian/patches/series
index 42e8545..b0534ca 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
03-remove_dkms_lib_directory_if_empty.patch
04-use_su-to-root.patch
05-do_not_check_admin_group.patch
+06-fakeroot.patch
--
Maintenance of the dkms package
More information about the Pkg-dkms-commits
mailing list