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"
chmod --reference="$i" "$s"
fi
cp --reflink=auto --sparse=auto -pfLr -t "$s" "$i"/*
cp --reflink=auto --sparse=auto -fa -t "$s" "$i"/*
else
cp --reflink=auto --sparse=auto -pfLr -t "$s" "$i"
cp --reflink=auto --sparse=auto -fa -t "$s" "$i"
fi
done
fi