diff --git a/dmraid.changes b/dmraid.changes index ed262e4..3cb9ab2 100644 --- a/dmraid.changes +++ b/dmraid.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 23 14:38:15 CEST 2013 - ohering@suse.de + +- Remove usage of absolute paths in initrd +- Remove some checks from mkinitrd scripts, they are always true +- List all used binaries in programs tag + ------------------------------------------------------------------- Wed Nov 28 12:07:36 UTC 2012 - rmilasan@suse.com diff --git a/dmraid.spec b/dmraid.spec index 678e940..cbd46cb 100644 --- a/dmraid.spec +++ b/dmraid.spec @@ -1,7 +1,7 @@ # # spec file for package dmraid # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/mkinitrd-boot.sh b/mkinitrd-boot.sh index 96c9e39..abc9b7f 100644 --- a/mkinitrd-boot.sh +++ b/mkinitrd-boot.sh @@ -2,7 +2,8 @@ #%stage: block #%depends: dm #%provides: dmroot -#%programs: /sbin/dmraid +#%programs: dmraid +#%programs: mkdir #%if: -n "$root_dmraid" # ##### Device Mapper Raid @@ -17,6 +18,6 @@ ## [ -d /run/lock ] || mkdir -p /run/lock >/dev/null 2>&1 -/sbin/dmraid -a y -p +dmraid -a y -p wait_for_events diff --git a/mkinitrd-setup.sh b/mkinitrd-setup.sh index a14c67f..117ae3d 100644 --- a/mkinitrd-setup.sh +++ b/mkinitrd-setup.sh @@ -4,7 +4,7 @@ #%provides: dmroot # -if [ -x /sbin/dmraid -a -x /sbin/dmsetup ] ; then +if [ -x "$(type -p dmsetup)" ] ; then newbd= for bd in $blockdev ; do update_blockdev $bd