From 588603a10aa78f7647e57c0375c16d49752b4ffa Mon Sep 17 00:00:00 2001 From: fslongjin Date: Thu, 1 Sep 2022 15:47:58 +0800 Subject: [PATCH] =?UTF-8?q?enhance:=20=E6=96=B0=E5=A2=9Eapp=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E5=86=8D=E9=9C=80=E8=A6=81=E6=9B=B4=E6=94=B9?= =?UTF-8?q?run.sh=E5=8D=B3=E5=8F=AF=E5=AE=8C=E6=88=90=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=8B=B7=E8=B4=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index 7d20f8ea..8b16b7fb 100755 --- a/run.sh +++ b/run.sh @@ -100,8 +100,8 @@ if [ "${GENERATE_ISO}" == "1" ]; then bash mount_virt_disk.sh || exit 1 mkdir -p ${boot_folder}/grub cp ${kernel} ${root_folder}/bin/disk_mount/boot - cp ${root_folder}/bin/user/shell.elf ${root_folder}/bin/disk_mount - cp ${root_folder}/bin/user/about.elf ${root_folder}/bin/disk_mount + # 拷贝用户程序到磁盘镜像 + cp -r ${root_folder}/bin/user/* ${root_folder}/bin/disk_mount mkdir -p ${root_folder}/bin/disk_mount/dev touch ${root_folder}/bin/disk_mount/dev/keyboard.dev