Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/actions/prebuild/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ runs:
set -euo pipefail
set -x

# The /dev/sdb1 partition is mounted as /mnt.
# Attempt to clean up any pre-existing files on the /mnt partition to
# conserve disk space. Note that this is a best-effort approach and
# not all files may be removed (e.g. swapfile, etc.).
sudo rm -rvf /mnt/* || true

# Create the necessary directories on the /mnt partition
sudo mkdir -p /mnt/tmp /mnt/rpms /mnt/release
sudo chmod 1777 /mnt/tmp

# Install the pre-requisites for the build and run environment
sudo apt-get update -y -q
sudo apt-get install -y -q make lvm2 podman jq curl

Expand Down
Loading