Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-10-04 | image: ISO backend: Bail out on umount failure | A. Wilcox | 1 | -2/+8 | |
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-10-04 | image: tar backend: Set C++ locale to C.UTF-8 | A. Wilcox | 1 | -1/+3 | |
This ensures that boost::filesystem uses UTF-8 for filenames. Closes: #381 | |||||
2024-10-04 | image: tar backend: Be noisier | A. Wilcox | 1 | -0/+3 | |
It is more reassuring to know that the process is running, and when it finishes successfully, rather than just a 'stuck' terminal with no displayed progress. | |||||
2024-10-04 | image: ISO backend: Recursively umount if busy | A. Wilcox | 1 | -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. | |||||
2024-10-04 | image: backends: Implement a cleanup() method | A. Wilcox | 5 | -4/+26 | |
This allows backends to implement their own handling of target umounts. Notably, the tar backend already umounts the target /dev /proc /sys, so our hardcoded cleanup in the Creator caused unnecessary and confusing error output when umount was run a second time. Closes: #345 | |||||
2024-09-18 | ISO: Require EFI tools to be present when needed | A. Wilcox | 4 | -55/+55 | |
Closes: #395 | |||||
2024-01-17 | image: PPC ISO: Create /ppc/chrp directory | A. Wilcox | 2 | -2/+2 | |
Required to boot in LPAR, otherwise receive message from SMS that no operating system is installed. | |||||
2023-12-01 | Image Creation: Add ARMv7 ISO params | A. Wilcox | 2 | -0/+61 | |
2023-12-01 | Add 'rootshell' key to determine root's shell | A. Wilcox | 1 | -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-28 | image: Allow custom paths for qemu-static binaries | A. Wilcox | 2 | -5/+22 | |
This allows one to use i.e. /opt/qemu/bin or /usr/gxemul/bin for the qemu static binaries used to generate foreign-architecture images. | |||||
2023-10-27 | image: Tar backend: Enable xz threading support | A. Wilcox | 1 | -0/+5 | |
This should enable tarballs to be created significantly faster on systems with more than one processor. | |||||
2023-10-20 | image: CD backend: Allow choice of graphics / text | A. Wilcox | 5 | -5/+47 | |
Combined with adelie/image@7df95115f4, this allows a user to choose whether to boot to a graphical environment or drop to a text prompt. Implements: #346 | |||||
2023-10-18 | image: ISO: Fix 64-bit PowerPC GRUB config file | A. Wilcox | 1 | -2/+2 | |
We can rely on $root being the default path, and not doing so breaks Petitboot on PS3 and OPAL systems (Power8/9). Fixes: #347 | |||||
2023-10-05 | image: ISO backend: Probe GRUB version as well | A. Wilcox | 1 | -0/+6 | |
Fixes: #335 | |||||
2023-10-01 | ISO: Simplify aarch64 creation | A. Wilcox | 2 | -5/+2 | |
2023-09-05 | image: ISO backend: Add Arm64 files | A. Wilcox | 2 | -0/+71 | |
These seem to work, but our GRUB kernel isn't being built properly yet, so this isn't quite release-ready. | |||||
2023-09-05 | image: ISO backend: Probe xorriso before starting | A. Wilcox | 1 | -0/+6 | |
Ensures that the user's time isn't wasted if xorriso is missing. | |||||
2023-09-05 | image: Tar backend: Fix ups | A. Wilcox | 1 | -10/+26 | |
* Use <filesystem> portably. * Create the target directory if it doesn't exist. * Fix symlink detection bug that could cause target mtab to halt image creation. | |||||
2023-03-25 | image: C++2x and Boost.Filesystem fixes | A. Wilcox | 3 | -10/+11 | |
* Ensure that Boost.Filesystem is still usable. * Don't use a reference to a temporary in loops. Fixes: #333 | |||||
2020-10-15 | image: Tar backend: Fix symlink issues | A. Wilcox | 1 | -4/+11 | |
2020-09-27 | Don't be fooled by fruity compilers | A. Wilcox | 1 | -2/+0 | |
2020-09-20 | ISO backend: Call dracut in chroot | A. Wilcox | 1 | -4/+9 | |
2020-08-29 | image: Convert custom cdinit to Dracut | A. Wilcox | 11 | -106/+34 | |
2020-06-23 | image: Fix reading scripts from stdin | A. Wilcox | 1 | -1/+1 | |
2020-06-23 | hscript: Recursively bind-mount /dev and /sys | A. Wilcox | 1 | -2/+3 | |
We need this for /dev/shm to be present in the target. We need to bind-mount /sys recursively for efivarfs to be available for GRUB's use in the target. While we're here, unmount /dev and /sys recursively when creating an image. | |||||
2020-06-23 | image: ensure init is executable in initrd | A. Wilcox | 1 | -0/+1 | |
2020-06-22 | CMake: Add BUILD_ISO option to toggle ISO generation support | A. Wilcox | 2 | -2/+9 | |
2020-06-13 | image: Add 'keep' option to ISO backend | A. Wilcox | 1 | -1/+1 | |
2020-06-03 | image: use mtools to generate ESP images for ISOs instead of mounting | Max Rees | 2 | -16/+19 | |
2020-06-03 | image: ISO: Try harder to umount before rm -rf | A. Wilcox | 1 | -4/+13 | |
2020-06-03 | image: ISO: Allow live account to log in without pw | A. Wilcox | 1 | -0/+1 | |
2020-06-03 | image: ISO: Add root pw note to /etc/issue | A. Wilcox | 1 | -0/+2 | |
2020-06-03 | image: fixup x86_64 ISO share files | Max Rees | 2 | -26/+51 | |
2020-06-03 | image: ensure entire line from iso-params file is read | Max Rees | 1 | -1/+1 | |
2020-06-03 | image: fix a few paths from escaping target/ | Max Rees | 1 | -3/+3 | |
2020-06-03 | image: Add default share directory for ISO | A. Wilcox | 15 | -0/+342 | |
2020-06-03 | image: Finish implementing ISO backend | A. Wilcox | 3 | -24/+384 | |
2020-05-29 | image: Support backend options | A. Wilcox | 4 | -25/+68 | |
2020-05-28 | image: Put target inside ir_dir, add WIP ISO backend | A. Wilcox | 5 | -9/+231 | |
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. | |||||
2020-05-24 | Image creator: Run backend `prepare()` before script | A. Wilcox | 1 | -7/+8 | |
This ensures that the backend preparation method can do things that affect the target environment. Necessary for ISO prep, at least. | |||||
2020-05-17 | all: Add --version and --help support and unify output formats | A. Wilcox | 2 | -6/+17 | |
2020-05-16 | image: Add manual page | A. Wilcox | 2 | -0/+147 | |
2020-05-13 | image: TAR: Force UTF-8 pathnames always | A. Wilcox | 1 | -3/+3 | |
2020-05-07 | image: Add functional TAR backend | A. Wilcox | 2 | -2/+69 | |
2020-04-02 | image: Truly dynamic backend registration | A. Wilcox | 6 | -10/+143 | |
This allows one backend to provide multiple types. For example, our TarBackend can provide optional .gz, .bz2, and .xz compression. | |||||
2020-04-02 | image: Actually make backends registerable | A. Wilcox | 4 | -17/+26 | |
2020-04-02 | image: Significantly refactor how backends are registered | A. Wilcox | 4 | -44/+71 | |
2020-04-01 | image: Initial work on backend support | A. Wilcox | 7 | -10/+171 | |
2020-03-24 | Add the beginnings of the Image Creation utility | A. Wilcox | 3 | -0/+196 | |