diff -Naur dracut-019/dracut-functions.sh dracut-019-magellan/dracut-functions.sh --- dracut-019/dracut-functions.sh 2012-06-04 14:24:25.000000000 +0200 +++ dracut-019-magellan/dracut-functions.sh 2012-07-26 19:03:10.405981503 +0200 @@ -369,7 +369,7 @@ else # create directory mkdir -m 0755 -p "${initdir}/$_file" || return 1 - [[ -e "$_file" ]] && chmod --reference="$_file" "${initdir}/$_file" + [[ -e "$_file" ]] && chmod $(stat -c %a "$_file") "${initdir}/$_file" chmod u+w "${initdir}/$_file" fi done @@ -394,7 +394,7 @@ inst "${_src%/*}/.${_src##*/}.hmac" "${target%/*}/.${target##*/}.hmac" fi ddebug "Installing $_src" - cp --sparse=always -pfL "$_src" "${initdir}/$target" + cp -pfL "$_src" "${initdir}/$target" } # find symlinks linked to given library file diff -Naur dracut-019/dracut.sh dracut-019-magellan/dracut.sh --- dracut-019/dracut.sh 2012-06-04 14:24:25.000000000 +0200 +++ dracut-019-magellan/dracut.sh 2012-07-26 19:02:27.756983119 +0200 @@ -792,7 +792,7 @@ if [[ -d "$i" ]]; then if ! [[ -e "$s" ]]; then mkdir -m 0755 -p "$s" - chmod --reference="$i" "$s" + chmod $(stat -c %a "$i") "$s" fi cp -a -t "$s" "$i"/* else diff -Naur dracut-019/lsinitrd.sh dracut-019-magellan/lsinitrd.sh --- dracut-019/lsinitrd.sh 2012-06-04 14:24:25.000000000 +0200 +++ dracut-019-magellan/lsinitrd.sh 2012-07-26 18:59:46.657983739 +0200 @@ -36,8 +36,8 @@ CAT=zcat FILE_T=$(file --dereference "$image") -if echo "test"|xz|xz -dc --single-stream >/dev/null 2>&1; then - XZ_SINGLE_STREAM="--single-stream" +if echo "test"|xz >/dev/null 2>&1; then + XZ_SINGLE_STREAM="" fi if [[ "$FILE_T" =~ :\ gzip\ compressed\ data ]]; then diff -Naur dracut-019/test/TEST-12-RAID-DEG/test.sh dracut-019-magellan/test/TEST-12-RAID-DEG/test.sh --- dracut-019/test/TEST-12-RAID-DEG/test.sh 2012-06-04 14:24:25.000000000 +0200 +++ dracut-019-magellan/test/TEST-12-RAID-DEG/test.sh 2012-07-26 19:00:52.993982361 +0200 @@ -9,8 +9,8 @@ client_run() { echo "CLIENT TEST START: $@" - cp --sparse=always $TESTDIR/disk2.img $TESTDIR/disk2.img.new - cp --sparse=always $TESTDIR/disk3.img $TESTDIR/disk3.img.new + cp $TESTDIR/disk2.img $TESTDIR/disk2.img.new + cp $TESTDIR/disk3.img $TESTDIR/disk3.img.new $testdir/run-qemu \ -hda $TESTDIR/root.ext2 -m 256M -nographic \