Skip to content

Commit 365f0c6

Browse files
committed
Add Mosby UEFI executables and display SHA-256 sums
* See https://github.com/pbatard/Mosby. * Also update obsoleted Action items.
1 parent 0aa4f3d commit 365f0c6

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

Diff for: .github/workflows/linux_gcc_edk2.yml

+25-4
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ jobs:
3737
sudo ln -s /usr/bin/riscv64-linux-gnu-gcc-12 /usr/bin/riscv64-linux-gnu-gcc
3838
sudo ln -s /usr/bin/riscv64-linux-gnu-gcc-ar-12 /usr/bin/riscv64-linux-gnu-gcc-ar
3939
40-
- name: Fix the BROKEN cmocka.git EDK2 dependency
41-
run: git config --global url."https://github.com/tianocore/edk2-cmocka.git".insteadOf "https://git.cryptomilk.org/projects/cmocka.git"
42-
4340
- name: Checkout repository and submodules
4441
uses: actions/checkout@v4
4542
with:
@@ -80,6 +77,22 @@ jobs:
8077
mv ./shellaarch64.efi ./shellaa64.efi
8178
fi
8279
80+
- name: Download the latest Mosby release
81+
uses: robinraju/release-downloader@v1
82+
with:
83+
repository: pbatard/Mosby
84+
latest: true
85+
fileName: Mosby*.zip
86+
87+
- name: Extract the Mosby content
88+
run: |
89+
for BUILD_TYPE in ${{ env.BUILD_TYPES }}; do
90+
mkdir $BUILD_TYPE
91+
7z x Mosby*.zip -o$BUILD_TYPE
92+
mv $BUILD_TYPE/README.md $BUILD_TYPE/Mosby.txt
93+
sed -i '1,5d' $BUILD_TYPE/Mosby.txt
94+
done
95+
8396
- name: Create ISO filesystem structure
8497
run: |
8598
for BUILD_TYPE in ${{ env.BUILD_TYPES }}; do
@@ -100,6 +113,9 @@ jobs:
100113
for ARCH in ${{ env.ARCHS }}; do
101114
printf "* %s\n" $ARCH >> $BUILD_TYPE/README.txt
102115
done
116+
printf "\nReleases of UEFI Shell now also include Mosby (https://github.com/pbatard/Mosby)\n" >> $BUILD_TYPE/README.txt
117+
printf "to help you update your Secure Boot variables as well as generate and install\n" >> $BUILD_TYPE/README.txt
118+
printf "your own Secure Boot signing key. Just type 'Mosby' to run it.\n" >> $BUILD_TYPE/README.txt
103119
printf "\nFor more information on how this release was produced, you are invited to\n" >> $BUILD_TYPE/README.txt
104120
printf "visit our official project page at https://github.com/pbatard/UEFI-Shell,\n" >> $BUILD_TYPE/README.txt
105121
printf "where you can also validate that all of the binaries contained in this image\n" >> $BUILD_TYPE/README.txt
@@ -145,9 +161,14 @@ jobs:
145161
for ARCH in ${{ env.ARCHS }}; do
146162
printf "* \`%s\`\n" $ARCH >> body.txt
147163
done
164+
printf "\nsha256sums:\n" >> body.txt
165+
printf "\`\`\`\n" >> body.txt
166+
sha256sum ./*.efi >> body.txt
167+
sha256sum ./*.iso >> body.txt
168+
printf "\`\`\`\n" >> body.txt
148169
149170
- name: Create release
150-
uses: softprops/action-gh-release@v1
171+
uses: softprops/action-gh-release@v2
151172
with:
152173
token: ${{ secrets.GITHUB_TOKEN }}
153174
body_path: ./body.txt

0 commit comments

Comments
 (0)