[Pkg-dkms-commits] [SCM] Maintenance of the dkms package branch, master, updated. upstream/2.0.20.4-22-g10d52a8
David Paleino
d.paleino at gmail.com
Fri Dec 26 10:54:42 UTC 2008
The following commit has been merged in the master branch:
commit 10d52a860f56fdfd3c333de129a143696a43634b
Author: David Paleino <d.paleino at gmail.com>
Date: Fri Dec 26 11:54:33 2008 +0100
Fixed mkinitrd variable setting
diff --git a/debian/patches/08-support_kernel-img.conf.patch b/debian/patches/08-support_kernel-img.conf.patch
index 290df84..cb0a743 100644
--- a/debian/patches/08-support_kernel-img.conf.patch
+++ b/debian/patches/08-support_kernel-img.conf.patch
@@ -8,11 +8,11 @@ Use update-initramfs tool instead of mkinitrd/mkinitrd.yaird/mkinitramfs
+ # Support /etc/kernel-img.conf (Debian)
+ if [ -f "/etc/kernel-img.conf" ]; then
+ # we use the first one listed
-+ mkinitrd = $(sed -e '/^\s*ramdisk/!d' \
-+ -e 's/^\s*ramdisk\s*=\s*\(.*\)/\1/' \
-+ -e "s/['\"]*//g" \
-+ /etc/kernel-img.conf | \
-+ awk '{print $1}')
++ mkinitrd=$(sed -e '/^\s*ramdisk/!d' \
++ -e 's/^\s*ramdisk\s*=\s*\(.*\)/\1/' \
++ -e "s/['\"]*//g" \
++ /etc/kernel-img.conf | \
++ awk '{print $1}')
+ else
+ if type update-initramfs >/dev/null 2>&1; then
+ mkinitrd='update-initramfs'
--
Maintenance of the dkms package
More information about the Pkg-dkms-commits
mailing list