0
0
mirror of https://github.com/yude/firmament synced 2024-12-22 04:00:10 +09:00

Update scripts

This commit is contained in:
yude 2021-05-04 11:10:21 +09:00
parent e29db5a8ed
commit d524d5b5e8
Signed by: yude
GPG Key ID: EB0FE5D925C4A968
2 changed files with 18 additions and 0 deletions

10
.devcontainer/init.sh Normal file
View File

@ -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

8
.devcontainer/update.sh Normal file
View File

@ -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