[Bug 306114] Re: Typo in hooks/dmraid
Giuseppe Iuculano
giuseppe at iuculano.it
Mon Dec 8 08:22:46 UTC 2008
This wasn't a typo, but a different dh_installudev naming schema in
ubuntu/debian.
I fixed it in a different way:
# svn diff
Index: debian/changelog
===================================================================
--- debian/changelog (revisione 26)
+++ debian/changelog (copia locale)
@@ -4,8 +4,10 @@
* debian/control:
+ Made the long description for the udeb shorter
+ Added initramfs-tools to dmraid Depends
- * debian/initramfs/dmraid.initramfs-hook/dmraid: Removed blank line added
- before the 'fi' in the dmraid initramfs-hook.
+ * debian/initramfs/dmraid.initramfs-hook/dmraid:
+ + Removed blank line added before the 'fi' in the dmraid initramfs-hook.
+ + check if 85_dmraid.rules or 85-dmraid.rules exists, and then copy it
+ (LP: #306114)
* debian/patches/02_raid45_to_raid4-5.dpatch: Removed
* debian/dmraid.postinst: initramfs-tools is in Depends, do not check for
update-initramfs (fixed command-with-path-in-maintainer-script lintian
@@ -14,7 +16,7 @@
* debian/patches/02_scsi_serial_remove_ws.dpatch: remove whitespace from
serial id (LP: #305011)
- -- Giuseppe Iuculano <giuseppe at iuculano.it> Fri, 05 Dec 2008 19:26:41 +0100
+ -- Giuseppe Iuculano <giuseppe at iuculano.it> Mon, 08 Dec 2008 09:19:15 +0100
dmraid (1.0.0.rc15-1~exp1) experimental; urgency=low
Index: debian/initramfs/dmraid.initramfs-hook/dmraid
===================================================================
--- debian/initramfs/dmraid.initramfs-hook/dmraid (revisione 25)
+++ debian/initramfs/dmraid.initramfs-hook/dmraid (copia locale)
@@ -24,7 +24,12 @@
copy_exec /sbin/dmraid sbin
copy_exec /sbin/dmraid-activate sbin
mkdir -p ${DESTDIR}/etc/udev/rules.d
- cp -p /etc/udev/rules.d/85_dmraid.rules ${DESTDIR}/etc/udev/rules.d
+ if [ -f /etc/udev/rules.d/85_dmraid.rules ]; then
+ cp -p /etc/udev/rules.d/85_dmraid.rules ${DESTDIR}/etc/udev/rules.d
+ fi
+ if [ -f /etc/udev/rules.d/85-dmraid.rules ]; then
+ cp -p /etc/udev/rules.d/85-dmraid.rules ${DESTDIR}/etc/udev/rules.d
+ fi
fi
exit 0
--
Typo in hooks/dmraid
https://bugs.launchpad.net/bugs/306114
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list