We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec29f41 commit 37593bfCopy full SHA for 37593bf
1 file changed
build.sh
@@ -69,16 +69,16 @@ make_image() {
69
print_err "mount ${LOOP_DEV}p1 failed!"
70
fi
71
72
- cp -a ${BOOT_FILES}/* mnt/boot
+ cp -af ${BOOT_FILES}/* mnt/boot
73
bsdtar -xpf ${ARCHLINUXARM_TARBALL_FILE} -C mnt
74
- cp -a ${PATCH_FILES}/* mnt/
+ cp -af ${PATCH_FILES}/* mnt/
75
sync
76
77
umount -R -f mnt 2>/dev/null
78
losetup -d ${LOOP_DEV} 2>/dev/null
79
80
# Compress build IMG and move the file
81
- gzip -9 ${IMG_FILENAME} && sync && mv "${IMG_FILENAME}.gz ${OUT_DIR}/"
+ gzip -9 ${IMG_FILENAME} && sync && mv "${IMG_FILENAME}.gz" ${OUT_DIR}
82
}
83
84
cd ${WORKING_DIR}
0 commit comments