Skip to content

Commit 37593bf

Browse files
committed
.
1 parent ec29f41 commit 37593bf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,16 @@ make_image() {
6969
print_err "mount ${LOOP_DEV}p1 failed!"
7070
fi
7171

72-
cp -a ${BOOT_FILES}/* mnt/boot
72+
cp -af ${BOOT_FILES}/* mnt/boot
7373
bsdtar -xpf ${ARCHLINUXARM_TARBALL_FILE} -C mnt
74-
cp -a ${PATCH_FILES}/* mnt/
74+
cp -af ${PATCH_FILES}/* mnt/
7575
sync
7676

7777
umount -R -f mnt 2>/dev/null
7878
losetup -d ${LOOP_DEV} 2>/dev/null
7979

8080
# Compress build IMG and move the file
81-
gzip -9 ${IMG_FILENAME} && sync && mv "${IMG_FILENAME}.gz ${OUT_DIR}/"
81+
gzip -9 ${IMG_FILENAME} && sync && mv "${IMG_FILENAME}.gz" ${OUT_DIR}
8282
}
8383

8484
cd ${WORKING_DIR}

0 commit comments

Comments
 (0)