Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

fix: make loop device during container build of ISO #41

Merged
merged 2 commits into from
Feb 27, 2024
Merged

Conversation

bsherman
Copy link

This creates the loop device during container runtime which allows lorax to build the ISO and not need to rely on a host provided device file.

Fixes: #22

This creates the loop device during container runtime which allows lorax
to build the ISO and not need to rely on a host provided device file.

Fixes: #22
@noelmiller
Copy link
Member

noelmiller commented Feb 27, 2024

So I confirmed that running podman as sudo allows the ISO to get created. Tested this locally. Could you update this PR with documentation regarding podman:
sudo podman run --rm --privileged --volume .:/isogenerator/output localhost/isogenerator-loop-dev:latest

NOTE: nevermind, I can just do it.

Copy link
Member

@noelmiller noelmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With added update to the README, I approve this PR.

@bsherman bsherman added this pull request to the merge queue Feb 27, 2024
@noelmiller
Copy link
Member

Fixes: #36 as well

Merged via the queue into main with commit 3401b10 Feb 27, 2024
8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure with losetup on first attempt to create a ISO image
3 participants