Add build, deploy and test sources
This commit is contained in:
1 parent
b962581812
commit
3d1a08f230
259 files changed
+15273
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
K=/path/to/pf/Ventoy/keys
|
||||
D=/path/to/pf/ParavisGrub
|
||||
G=/mnt/f/efi/Paravis/Boot/grub2
|
||||
|
||||
echo "=== 1. memtest86+ 9.10 (built from git) -> signed"
|
||||
if [ -f /tmp/mt86p/build/x86_64/mt86plus ]; then
|
||||
cp -f /tmp/mt86p/build/x86_64/mt86plus /tmp/mt86p/mt86plus.efi
|
||||
sbsign --key "$K/ventoy.key" --cert "$K/ventoy.crt" --output "$G/apps/memtest86p.efi" /tmp/mt86p/mt86plus.efi >/dev/null
|
||||
sbverify --cert "$K/ventoy.crt" "$G/apps/memtest86p.efi"
|
||||
ls -l "$G/apps/memtest86p.efi"
|
||||
else
|
||||
echo " !! build missing"
|
||||
fi
|
||||
rm -f "$G/apps/memtest86.efi"
|
||||
|
||||
echo "=== 2. generate menu files"
|
||||
python3 "$D/gen_menu.py" "$D"
|
||||
cp -f "$D/grub.cfg" "$G/grub.cfg"
|
||||
mkdir -p "$G/menu"
|
||||
cp -f "$D"/menu/*.cfg "$G/menu/"
|
||||
ls -l "$G" "$G/menu" "$G/apps"
|
||||
Reference in new issue
Block a user