dracut.sh: for --include copy also the symbolic links

master
Harald Hoyer 2012-07-11 15:25:49 +02:00
parent f60cd2593f
commit 98eb6d57df
1 changed files with 2 additions and 2 deletions

View File

@ -934,9 +934,9 @@ while pop include_src src && pop include_target tgt; do
mkdir -m 0755 -p "$s" mkdir -m 0755 -p "$s"
chmod --reference="$i" "$s" chmod --reference="$i" "$s"
fi fi
cp --reflink=auto --sparse=auto -pfLr -t "$s" "$i"/* cp --reflink=auto --sparse=auto -fa -t "$s" "$i"/*
else else
cp --reflink=auto --sparse=auto -pfLr -t "$s" "$i" cp --reflink=auto --sparse=auto -fa -t "$s" "$i"
fi fi
done done
fi fi