[Pkg-dkms-commits] [SCM] Maintenance of the dkms package branch, master, updated. upstream/2.0.20.4-8-g37f1b5f

Giuseppe Iuculano giuseppe at iuculano.it
Wed Dec 24 16:14:30 UTC 2008


The following commit has been merged in the master branch:
commit 37f1b5f984d6cb06d1c8940914acd0f5bb327e3b
Author: Giuseppe Iuculano <giuseppe at iuculano.it>
Date:   Wed Dec 24 17:10:12 2008 +0100

    debian/patches/05-do_not_check_admin_group.patch: Do not check for admin group, this isn't a Debian standard group.
    
    admin is not a standard group in Debian and has no special status in
    being able to run e.g. sudo.  The test should be only that $ROOT is
    non-null.

diff --git a/debian/patches/05-do_not_check_admin_group.patch b/debian/patches/05-do_not_check_admin_group.patch
new file mode 100644
index 0000000..571713a
--- /dev/null
+++ b/debian/patches/05-do_not_check_admin_group.patch
@@ -0,0 +1,12 @@
+admin group is not a standard group in Debian, so check only if $ROOT is non-null
+--- a/dkms
++++ b/dkms
+@@ -3033,7 +3033,7 @@
+     #test if we are missing dependencies that are needed during package build
+     INSTALL_PACKAGES="`make_debian_test_depends`"
+     if [ ! -z "$INSTALL_PACKAGES" ]; then
+-        if [ -z "ADMINABLE" ]; then
++        if [ -z "$ROOT" ]; then
+             echo $"" >&2
+             echo $"Error! Missing $INSTALL_PACKAGES" >&2
+             echo $"and unable to install.  Please ask an admin to install for you." >&2
diff --git a/debian/patches/series b/debian/patches/series
index 4d0f1dc..42e8545 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 02-fix_distribution.patch
 03-remove_dkms_lib_directory_if_empty.patch
 04-use_su-to-root.patch
+05-do_not_check_admin_group.patch

-- 
Maintenance of the dkms package



More information about the Pkg-dkms-commits mailing list