Skip to content

Detect absence of /mnt#56

Open
rtjohnso wants to merge 11 commits intoeasimon:masterfrom
rtjohnso:master
Open

Detect absence of /mnt#56
rtjohnso wants to merge 11 commits intoeasimon:masterfrom
rtjohnso:master

Conversation

@rtjohnso
Copy link
Copy Markdown

@rtjohnso rtjohnso commented Jan 24, 2026

I've noticed that some runners don't have /mnt. They generally have a large / partition, so the lvm trick won't work and isn't needed for these runners.

Even worse, in the current code, this causes the script to miscalculate the appropriate size of the lvm image file, filling the root partition and causing the job to fail.

This PR adds a simple check for the existence of /mnt and skips the LVM creation and setup when /mnt is not present.

Signed-off-by: Rob Johnson <rob@robjohnson.io>
Signed-off-by: Rob Johnson <rob@robjohnson.io>
Signed-off-by: Rob Johnson <rob@robjohnson.io>
Signed-off-by: Rob Johnson <rob@robjohnson.io>
Signed-off-by: Rob Johnson <rob@robjohnson.io>
Signed-off-by: Rob Johnson <rob@robjohnson.io>
Signed-off-by: Rob Johnson <rob@robjohnson.io>
Signed-off-by: Rob Johnson <rob@robjohnson.io>
@James-Mart
Copy link
Copy Markdown

FYI I merged this PR into a fork of this action and have confirmed it resolves the issue.

rtjohnso and others added 3 commits February 6, 2026 10:43
Signed-off-by: Rob Johnson <rob@robjohnson.io>
Signed-off-by: Rob Johnson <rob@robjohnson.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants