local build fixes (#4260)

* run the local build uninterrupted
* fix local build amd64-lean-desktop-uefi-image
This commit is contained in:
openoms 2023-11-22 08:30:43 +01:00 committed by GitHub
parent b57aba6acf
commit df210e6e45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View File

@ -10,7 +10,7 @@ amd64-lean-desktop-uefi-image:
--github_user $(GITHUB_ACTOR) \
--branch $(GITHUB_HEAD_REF) \
--preseed_file preseed.cfg \
--boot uefi\
--boot uefi \
--desktop gnome
# Compute the checksum of the qemu image
@ -62,7 +62,7 @@ amd64-fatpack-desktop-uefi-image:
--github_user $(GITHUB_ACTOR) \
--branch $(GITHUB_HEAD_REF) \
--preseed_file preseed.cfg \
--boot uefi\
--boot uefi \
--desktop gnome
# Compute the checksum of the qemu image

View File

@ -5,7 +5,7 @@ sudo apt-get update
# install packer
if ! packer version 2>/dev/null; then
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-add-repository -y "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update
echo -e "\nInstalling packer..."
sudo apt-get install -y packer
@ -19,6 +19,7 @@ sudo apt-get update
sudo apt-get install -y qemu-system
# set vars
echo "# Setting the variables: $*"
source ../set_variables.sh
set_variables "$@"

View File

@ -58,6 +58,7 @@ go mod download
go build || exit 1
# set vars
echo "# Setting the variables: $*"
source ../set_variables.sh
set_variables "$@"

View File

@ -1,6 +1,7 @@
#!/bin/bash -e
# set vars
echo "# Setting the variables: $*"
source ../set_variables.sh
set_variables "$@"