summaryrefslogtreecommitdiffstats
path: root/test/TEST-58-REPART (follow)
Commit message (Collapse)AuthorAgeFilesLines
* TEST-58-REPART: Always run TEST-58-REPART in virtual machineDaan De Meyer2024-09-031-0/+1
| | | | Required for various tests in TEST-58-REPART.
* test: Rework integration test definitionsDaan De Meyer2024-05-141-0/+7
| | | | | | | Let's make this behave more like all the rest of the meson stuff. This also is the first step to making it a bit more flexible so we can define integration tests in different ways as will be seen in the next commits.
* repart: Default to swap format for swap partitionsDaan De Meyer2023-08-161-0/+1
|
* repart: Add verity configuration section and optionsMichael A Cassaniti2023-08-151-0/+1
|
* test: make the root/data partition size configurable per testFrantisek Sumsal2023-06-051-0/+1
|
* tests: don't use absolute paths when installing binaries in TEST-58-REPARTFranck Bui2023-03-141-2/+2
| | | | | | Let image_install figures the binary paths out itself as not all distributions ship the mkfs.* tools in the same location. For example openSUSE ships mksquashfs in /usr/bin/.
* repart: support erofsLennart Poettering2022-12-101-0/+2
| | | | | | | | | | | | | | | So, i think "erofs" is probably the better, more modern alternative to "squashfs". Many of the benefits don't matter too much to us I guess, but there's one thing that stands out: erofs has a UUID in the superblock, squashfs has not. Having an UUID in the superblock matters if the file systems are used in an overlayfs stack, as overlayfs uses the UUIDs to robustly and persistently reference inodes on layers in case of metadata copy-up. Since we probably want to allow such uses in overlayfs as emplyoed by sysext (and the future syscfg) we probably should ramp up our erofs game early on. Hence let's natively support erofs, test it, and in fact mention it in the docs before squashfs even.
* repart: Run most repart integration tests without root privilegesDaan De Meyer2022-11-151-4/+5
| | | | | | | To make sure rootless mode keeps working, let's run all repart integration tests that we can without root privileges. The only ones we need to keep running with root privileges are the tests that operate on a block/loop device and those that use --image=.
* mkfs-util: Add support to populate vfat without mounting using mcopyDaan De Meyer2022-11-151-0/+1
| | | | | | | | mkfs.vfat doesn't support specifying a root directory to bootstrap the filesystem from (see https://github.com/dosfstools/dosfstools/issues/183). Instead, we can use the mcopy tool from the mtools package to copy files into the vfat filesystem after creating it without needing to mount the vfat filesystem.
* repart: Add Minimize= integration testDaan De Meyer2022-11-141-0/+3
|
* repart: Add support for generating verity sig partitionsDaan De Meyer2022-09-231-0/+3
|
* test: install jq into all imagesFrantisek Sumsal2022-09-111-1/+0
|
* repart: Add support for formatting verity partitionsDaan De Meyer2022-09-081-0/+2
| | | | | | | | | | | | | | | | | | | This commit adds a new Verity= setting to repart definition files with two possible values: "data" and "hash". If Verity= is set to "data", repart works as before, and populates the partition with the content from CopyBlocks= or CopyFiles=. If Verity= is set to "hash", repart will try to find a matching data partition with Verity=data and equal values for CopyBlocks= or CopyFiles=, Format= and MakeDirectories=. If a matching data partition is found, repart will generate verity hashes for that data partition in the verity partition. The UUID of the data partition is set to the first 128 bits of the verity root hash. The UUID of the hashes partition is set to the final 128 bits of the verity root hash. Fixes #24559
* test: make TEST-58-REPART support nspawnYu Watanabe2022-08-221-3/+4
|
* test: merge test-repart.sh and TEST-58-REPARTYu Watanabe2022-08-221-0/+5
|
* tests: add spdx headers to scripts and MakefilesZbigniew Jędrzejewski-Szmek2021-10-181-0/+1
|
* test: shellcheck-ify test scriptsFrantisek Sumsal2021-09-301-1/+4
|
* test: "detect" the test number automagicallyFrantisek Sumsal2021-04-261-1/+1
| | | | | | Specifying the test number manually is tedious and prone to errors (as recently proven). Since we have all the necessary data to work out the test number, let's do it automagically.
* TEST-58: only run under qemuZbigniew Jędrzejewski-Szmek2021-04-231-0/+1
| | | | In a container, /dev/loop* will most likely be inaccessible.
* TEST-58: execute the right testZbigniew Jędrzejewski-Szmek2021-04-231-1/+1
|
* test: add test for new repart featuresLennart Poettering2021-04-192-0/+7