summaryrefslogtreecommitdiff
path: root/image/backends/iso.cc
AgeCommit message (Collapse)AuthorFilesLines
2024-05-22image: ISO backend: Bail out on umount failureawilfox/image-fixesA. Wilcox1-2/+6
Only if the error is EBUSY - which implies there *is* a filesystem mounted at the specified path - we treat umount as an error and stop. This should prevent /dev from being erased host-side.
2024-05-22image: ISO backend: Recursively umount if busyA. Wilcox1-1/+3
If an image creation run is interrupted (i.e. ^C) and the target FSes aren't umounted, the ISO backend tries to umount them during creation. However, it doesn't recursively umount /dev or /sys, which leaves them mounted (with an EBUSY error). This leads to the fs::remove_all call clearing out /dev nodes, which has personally irked me many times. Now we retry with recursion when we hit EBUSY, so that this won't happen.
2023-12-01Add 'rootshell' key to determine root's shellA. Wilcox1-5/+0
* Key added to code and documentation. * Tests added and pass locally on gwyn (ppc64) and fran (aarch64). * Qt UI automatically sets /bin/zsh as root's shell (ref: packages#206). * ISO image creator backend no longer has root shell hack.
2023-10-05image: ISO backend: Probe GRUB version as wellA. Wilcox1-0/+6
Fixes: #335
2023-09-05image: ISO backend: Probe xorriso before startingA. Wilcox1-0/+6
Ensures that the user's time isn't wasted if xorriso is missing.
2023-03-25image: C++2x and Boost.Filesystem fixesA. Wilcox1-9/+9
* Ensure that Boost.Filesystem is still usable. * Don't use a reference to a temporary in loops. Fixes: #333
2020-09-20ISO backend: Call dracut in chrootA. Wilcox1-4/+9
2020-08-29image: Convert custom cdinit to DracutA. Wilcox1-11/+22
2020-06-13image: Add 'keep' option to ISO backendA. Wilcox1-1/+1
2020-06-03image: ISO: Try harder to umount before rm -rfA. Wilcox1-4/+13
2020-06-03image: ISO: Allow live account to log in without pwA. Wilcox1-0/+1
2020-06-03image: ISO: Add root pw note to /etc/issueA. Wilcox1-0/+2
2020-06-03image: ensure entire line from iso-params file is readMax Rees1-1/+1
2020-06-03image: fix a few paths from escaping target/Max Rees1-3/+3
2020-06-03image: Finish implementing ISO backendA. Wilcox1-24/+298
2020-05-29image: Support backend optionsA. Wilcox1-4/+6
2020-05-28image: Put target inside ir_dir, add WIP ISO backendA. Wilcox1-0/+170
ir_dir used to be the target; now the target is inside ir_dir so backends have the choice of making other directories inside ir_dir if needed.