summaryrefslogtreecommitdiff
path: root/image/backends/tar.cc
AgeCommit message (Collapse)AuthorFilesLines
2024-10-04image: tar backend: Set C++ locale to C.UTF-8A. Wilcox1-1/+3
This ensures that boost::filesystem uses UTF-8 for filenames. Closes: #381
2024-10-04image: tar backend: Be noisierA. Wilcox1-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-04image: backends: Implement a cleanup() methodA. Wilcox1-0/+6
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
2023-10-27image: Tar backend: Enable xz threading supportA. Wilcox1-0/+5
This should enable tarballs to be created significantly faster on systems with more than one processor.
2023-09-05image: Tar backend: Fix upsA. Wilcox1-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.
2020-10-15image: Tar backend: Fix symlink issuesA. Wilcox1-4/+11
2020-05-29image: Support backend optionsA. Wilcox1-10/+21
2020-05-28image: Put target inside ir_dir, add WIP ISO backendA. Wilcox1-3/+3
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-13image: TAR: Force UTF-8 pathnames alwaysA. Wilcox1-3/+3
2020-05-07image: Add functional TAR backendA. Wilcox1-2/+65
2020-04-02image: Truly dynamic backend registrationA. Wilcox1-0/+114
This allows one backend to provide multiple types. For example, our TarBackend can provide optional .gz, .bz2, and .xz compression.