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