Skip to content

Commit

Permalink
修改update_image中cp指令,添加-i参数,提示覆盖原有文件
Browse files Browse the repository at this point in the history
  • Loading branch information
ichdream committed Aug 11, 2021
1 parent 5cadf5a commit 9f437a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ clean:
.PHONY:update_image
update_image:
sudo mount ./hd.img /mnt/kernel
sudo cp BaGua_OS /mnt/kernel/BaGua_OS
sudo cp -i BaGua_OS /mnt/kernel/BaGua_OS
sleep 1
qemu-img convert -O qcow2 ./hd.img ./BaGua_HD.img
sudo umount /mnt/kernel
Expand Down

0 comments on commit 9f437a5

Please sign in to comment.