ci: tmpdir on /var (host ext4, 80GB+) instead of /tmp tmpfs (16GB cap)
POSTTRANS ldconfig hit ENOSPC/ROFS — KDE install + dnf cache + scriptlet working set exceeds 16G tmpfs. Move livecd-creator tmpdir to /var/lmc on runner's host ext4 disk.
This commit is contained in:
parent
eeb54942a9
commit
7c4a94d763
1 changed files with 6 additions and 3 deletions
9
.github/workflows/build-iso.yml
vendored
9
.github/workflows/build-iso.yml
vendored
|
|
@ -43,7 +43,7 @@ jobs:
|
||||||
--privileged
|
--privileged
|
||||||
-v ${{ github.workspace }}:/work
|
-v ${{ github.workspace }}:/work
|
||||||
-v /dev:/dev
|
-v /dev:/dev
|
||||||
--tmpfs /tmp:rw,nosuid,nodev,exec,size=8G
|
--tmpfs /tmp:rw,nosuid,nodev,exec,size=16G
|
||||||
run: |
|
run: |
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
|
|
@ -79,6 +79,9 @@ jobs:
|
||||||
# livecd-creator (livecd-tools) — purpose-built for live ISOs.
|
# livecd-creator (livecd-tools) — purpose-built for live ISOs.
|
||||||
# Handles EFI/BOOT + isohybrid + grafting that livemedia-creator
|
# Handles EFI/BOOT + isohybrid + grafting that livemedia-creator
|
||||||
# --make-iso --no-virt does not. Produces UEFI+BIOS bootable ISO.
|
# --make-iso --no-virt does not. Produces UEFI+BIOS bootable ISO.
|
||||||
|
# --tmpdir /var/lmc to avoid GitHub Actions /tmp tmpfs constraints.
|
||||||
|
# /var on the runner is the host's ext4 (~80GB free post-disk-cleanup).
|
||||||
|
mkdir -p /var/lmc /var/lmc-cache
|
||||||
livecd-creator \
|
livecd-creator \
|
||||||
--verbose \
|
--verbose \
|
||||||
--config kickstart/veilor-os-ci.ks \
|
--config kickstart/veilor-os-ci.ks \
|
||||||
|
|
@ -86,8 +89,8 @@ jobs:
|
||||||
--title "veilor-os" \
|
--title "veilor-os" \
|
||||||
--product "veilor-os" \
|
--product "veilor-os" \
|
||||||
--releasever "${{ github.event.inputs.releasever || '43' }}" \
|
--releasever "${{ github.event.inputs.releasever || '43' }}" \
|
||||||
--tmpdir /tmp \
|
--tmpdir /var/lmc \
|
||||||
--cache /tmp/veilor-cache 2>&1 | tee build/out/build.log
|
--cache /var/lmc-cache 2>&1 | tee build/out/build.log
|
||||||
|
|
||||||
# Move output ISO to expected dir
|
# Move output ISO to expected dir
|
||||||
mv ./veilor-os-43.iso build/out/ 2>/dev/null || mv ./*.iso build/out/ 2>/dev/null || true
|
mv ./veilor-os-43.iso build/out/ 2>/dev/null || mv ./*.iso build/out/ 2>/dev/null || true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue