Skip to content

Commit

Permalink
v9.10
Browse files Browse the repository at this point in the history
- DietPi-Build | Add UEFI image support for VMs
- CI | Armbian: Remove collabora branch
  • Loading branch information
MichaIng committed Jan 3, 2025
1 parent f705407 commit 58925ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .build/images/dietpi-build
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,9 @@ esac

if [[ $VMTYPE ]]
then
[[ $HW_MODEL == 20 ]] || { G_DIETPI-NOTIFY 1 "Unsupported option \"-v\" (virtual machine type) for hardware model \"$HW_MODEL\" passed, aborting..."; exit 1; }
[[ $VMTYPE =~ ^(raw|vbox|vmx|esxi|hyperv|utm|proxmox|all)$ ]] || { G_DIETPI-NOTIFY 1 "Invalid virtual machine type \"$VMTYPE\" passed, aborting..."; exit 1; }
[[ $HW_MODEL == 20 ]] || Error_Exit "Unsupported option \"-v\" (virtual machine type) for hardware model \"$HW_MODEL\" passed, aborting ..."
[[ $VMTYPE =~ ^(raw|vbox|vmx|esxi|hyperv|utm|proxmox|all)$ ]] || Error_Exit "Invalid virtual machine type \"$VMTYPE\" passed, aborting ..."
[[ $VMTYPE && ( $ITYPE == 'Installer' || $PTTYPE == 'gpt' ) ]] || Error_Exit 'The VM type option "-v" cannot be combined with "-i" or "-p gpt", since installer images result in an ISO, instead of a virtual disk image or appliance, and GPT partition table x86_64 images are forcefully installer images. Aborting ...'
fi

[[ $EDITION =~ ^(|Amiberry|AlloGUI|all)$ ]] || { G_DIETPI-NOTIFY 1 "Invalid edition \"$EDITION\" passed, aborting..."; exit 1; }
Expand All @@ -197,7 +198,7 @@ esac

case $PTTYPE in
'msdos') :;;
'gpt') [[ $HW_MODEL == 21 ]] && efi_size=64 iname='NativePC-UEFI' ITYPE='Installer';;
'gpt') [[ $HW_ARCH == 10 ]] && efi_size=64 iname="${iname%-BIOS}-UEFI" ITYPE='Installer';;
*) G_DIETPI-NOTIFY 1 "Invalid partition table type \"$PTTYPE\" passed, aborting..."; exit 1;;
esac

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/armbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
branch:
description: 'Branch'
type: choice
options: [legacy, current, edge, vendor, collabora]
options: [legacy, vendor, current, edge]
default: current
required: true
board:
Expand Down

0 comments on commit 58925ac

Please sign in to comment.