File tree 2 files changed +26
-2
lines changed
2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -74,12 +74,21 @@ jobs:
74
74
name : framework.efi
75
75
path : framework_uefi/build/x86_64-unknown-uefi/boot.efi
76
76
77
- - name : Install mtools to build ESP (Linux)
78
- run : sudo apt-get install -y mtools
77
+ - name : Install mtools to build ESP and ISO (Linux)
78
+ run : sudo apt-get install -y mtools genisoimage
79
79
80
80
- name : Build ESP (Linux)
81
81
run : make -C framework_uefi
82
82
83
+ - name : Build ISO (Linux)
84
+ run : make -C framework_uefi iso
85
+
86
+ - name : Upload UEFI App ISO
87
+ uses : actions/upload-artifact@v4
88
+ with :
89
+ name : UEFI-Shell-fwk.iso
90
+ path : framework_uefi/build/x86_64-unknown-uefi/UEFI-Shell-fwk.iso
91
+
83
92
build-windows :
84
93
name : Build Windows
85
94
runs-on : windows-2022
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ QEMU_FLAGS=\
15
15
16
16
all : $(BUILD ) /boot.img
17
17
18
+ iso : $(BUILD ) /UEFI-Shell-fwk.iso
19
+
18
20
clean :
19
21
rm -r $(BUILD )
20
22
@@ -39,6 +41,19 @@ $(BUILD)/efi.img: $(BUILD)/boot.efi
39
41
mcopy -i $@ .tmp $< ::efi/boot/bootx64.efi
40
42
mv $@ .tmp $@
41
43
44
+ $(BUILD ) /shellx64.efi :
45
+ wget https://github.com/pbatard/UEFI-Shell/releases/download/24H2/shellx64.efi -O $@
46
+
47
+ $(BUILD ) /UEFI-Shell-fwk.iso : $(BUILD ) /boot.efi $(BUILD ) /shellx64.efi
48
+ mkdir -p $(BUILD ) /$@ .tmp/efi/boot
49
+ cp $(BUILD ) /boot.efi $(BUILD ) /$@ .tmp/efi/boot/fwk.efi
50
+ cp $(BUILD ) /shellx64.efi $(BUILD ) /$@ .tmp/efi/boot/bootx64.efi
51
+ genisoimage -v \
52
+ -V " UEFI SHELL with fwk.efi" \
53
+ -JR \
54
+ -o " $( BUILD) /UEFI-Shell-fwk.iso" \
55
+ $(BUILD ) /$@ .tmp
56
+
42
57
$(BUILD ) /boot.efi : ../Cargo.lock $(SRC_DIR ) /Cargo.toml $(SRC_DIR ) /src/*
43
58
mkdir -p $(BUILD )
44
59
cargo rustc \
You can’t perform that action at this time.
0 commit comments