Using cp -a on all non-fat filesystems to copy content into the binary image (Closes: #745824).
This commit is contained in:
parent
d86fb1aeb4
commit
1867dc1e52
|
@ -239,13 +239,17 @@ esac
|
|||
|
||||
case "${LB_BINARY_FILESYSTEM}" in
|
||||
fat*)
|
||||
CP_OPTIONS="-L"
|
||||
CP_OPTIONS="-r -L"
|
||||
;;
|
||||
|
||||
*)
|
||||
CP_OPTIONS="-a"
|
||||
;;
|
||||
esac
|
||||
|
||||
mkdir -p chroot/binary.tmp
|
||||
mount ${MOUNT_OPTIONS} ${FREELO} chroot/binary.tmp
|
||||
cp -r -T ${CP_OPTIONS} binary/ chroot/binary.tmp
|
||||
cp -T ${CP_OPTIONS} binary/ chroot/binary.tmp
|
||||
|
||||
FIXME()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue