From d524d5b5e884ffeec4a493e601e64547eb03b20a Mon Sep 17 00:00:00 2001 From: yudejp Date: Tue, 4 May 2021 11:10:21 +0900 Subject: [PATCH] Update scripts --- .devcontainer/init.sh | 10 ++++++++++ .devcontainer/update.sh | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 .devcontainer/init.sh create mode 100644 .devcontainer/update.sh diff --git a/.devcontainer/init.sh b/.devcontainer/init.sh new file mode 100644 index 0000000..ab26795 --- /dev/null +++ b/.devcontainer/init.sh @@ -0,0 +1,10 @@ +#!/bin/bash +ln -s /workspaces/firmament/.devcontainer/Conf/target.txt /home/vscode/edk2/Conf/target.txt +ln -s /workspaces/firmament /home/vscode/edk2/firmament +ln -s /home/vscode/edk2/Build/LoaderX64/DEBUG_CLANG38/X64/Loader.efi /home/vscode/BOOTX64.EFI +ln -s /workspaces/firmament/.devcontainer/make_disk.sh /home/vscode/make_disk.sh +ln -s /workspaces/firmament/.devcontainer/run_qemu.sh /home/vscode/run_qemu.sh +ln -s /workspaces/firmament/.devcontainer/update.sh /home/vscode/update.sh +chmod +x /home/vscode/run_qemu.sh +chmod +x /home/vscode/make_disk.sh +chmod +x /home/vscode/update.sh diff --git a/.devcontainer/update.sh b/.devcontainer/update.sh new file mode 100644 index 0000000..3dc0593 --- /dev/null +++ b/.devcontainer/update.sh @@ -0,0 +1,8 @@ +#!/bin/bash +cd /home/vscode/edk2 +source edksetup.sh +cd /home/vscode/edk2 +build +cd /home/vscode +sudo ./make_disk.sh +./run_qemu.sh \ No newline at end of file