# make a local copy of the minicentos
echo -n "Copying rootfs to $rootfs ..."
- cp -a $cache/rootfs-$arch $rootfs || return 1
+ cp --reflink=auto -a $cache/rootfs-$arch $rootfs || return 1
return 0
}
# make a local copy of the minicentos
echo -n "Copying rootfs to $rootfs ..."
- cp -a $cache/rootfs-$arch $rootfs || return 1
+ cp --reflink=auto -a $cache/rootfs-$arch $rootfs || return 1
return 0
}
# make a local copy of the minidebian
echo -n "Copying rootfs to $rootfs..."
- cp -a "$cache/rootfs-$SUITE-$arch" $rootfs || return 1
+ cp --reflink=auto -a "$cache/rootfs-$SUITE-$arch" $rootfs || return 1
return 0
}
# make a local copy of the minidebian
echo -n "Copying rootfs to $rootfs..."
- cp -a "$cache/rootfs-$SUITE-$arch" $rootfs || return 1
+ cp --reflink=auto -a "$cache/rootfs-$SUITE-$arch" $rootfs || return 1
return 0
}