You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d9943ee
Browse filesBrowse the repository at this point in the historyBrowse files
fix(image-factory): say which device is missing, and check both
Follows tool.sh giving the factory the host's /dev. These are for a factory
started by hand without it, and for the case that survives either way: the
module not being loaded on the host at all.
Three failures instead of one message. No /dev/loop-control means the loop
module is not loaded, and loading it inside here would not help since this
/dev is not the host's. No node for the loop device the kernel handed out means
a copied /dev, which now says so - and names the first-build-only symptom,
because "it worked the second time" reads like a ghost otherwise. No
/dev/mapper/control is the same cause one step later, and was worth catching
before kpartx does.
mount_image.sh had no check at all: a failed losetup left LOOPDEV empty and the
error surfaced as 'kpartx -av ""'.
Signed-off-by: Simon Walz <contact@simonwalz.de>
0 commit comments