systemd/test/test-fstab-generator
Yu Watanabe 45c535ddb0 fstab-generator: add rd.systemd.mount-extra= and friends
Previously, mounts specified in systemd.mount-extra= are equally handled
both in initrd and the main system. So, the mounts for the main system
are also mounted in initrd.

This introduces rd.systemd.mount-extra=, which specifies mounts in initrd.
Then, mounts specified in systemd.mount-extra= are still mounted both in
initrd and the main system, but prefixed with /sysroot/ when running in
initrd.

Fixes #28516.
2023-07-27 00:50:01 +09:00
..
test-01-dev-nfs.expected/initrd-usr-fs.target.requires test: store empty files rather than symlinks for test-fstab-generator 2022-01-09 18:17:40 +01:00
test-02-dhcp.expected/initrd-usr-fs.target.requires test: store empty files rather than symlinks for test-fstab-generator 2022-01-09 18:17:40 +01:00
test-03-dhcp6.expected/initrd-usr-fs.target.requires test: store empty files rather than symlinks for test-fstab-generator 2022-01-09 18:17:40 +01:00
test-04-nfs.expected/initrd-usr-fs.target.requires test: store empty files rather than symlinks for test-fstab-generator 2022-01-09 18:17:40 +01:00
test-05-nfs4.expected/initrd-usr-fs.target.requires test: store empty files rather than symlinks for test-fstab-generator 2022-01-09 18:17:40 +01:00
test-06-ipv4.expected/initrd-usr-fs.target.requires test: store empty files rather than symlinks for test-fstab-generator 2022-01-09 18:17:40 +01:00
test-07-ipv6.expected/initrd-usr-fs.target.requires test: store empty files rather than symlinks for test-fstab-generator 2022-01-09 18:17:40 +01:00
test-08-implicit-nfs.expected/initrd-usr-fs.target.requires test: store empty files rather than symlinks for test-fstab-generator 2022-01-09 18:17:40 +01:00
test-09-cifs.expected/initrd-usr-fs.target.requires test: store empty files rather than symlinks for test-fstab-generator 2022-01-09 18:17:40 +01:00
test-10-iscsi.expected/initrd-usr-fs.target.requires test: store empty files rather than symlinks for test-fstab-generator 2022-01-09 18:17:40 +01:00
test-11-live.expected/initrd-usr-fs.target.requires test: store empty files rather than symlinks for test-fstab-generator 2022-01-09 18:17:40 +01:00
test-12-dev-sdx.expected generators: change TimeoutSec=0 to TimeoutSec=infinity 2023-06-06 12:38:16 +01:00
test-13-label.expected generators: change TimeoutSec=0 to TimeoutSec=infinity 2023-06-06 12:38:16 +01:00
test-14-uuid.expected generators: change TimeoutSec=0 to TimeoutSec=infinity 2023-06-06 12:38:16 +01:00
test-15-partuuid.expected generators: change TimeoutSec=0 to TimeoutSec=infinity 2023-06-06 12:38:16 +01:00
test-16-tmpfs.expected test-fstab-generator: also check file contents 2023-05-24 08:23:22 +09:00
test-17-initrd-sysroot.fstab.expected generators: change TimeoutSec=0 to TimeoutSec=infinity 2023-06-06 12:38:16 +01:00
test-18-options.fstab.expected generators: change TimeoutSec=0 to TimeoutSec=infinity 2023-06-06 12:38:16 +01:00
test-19-mounts-from-cmdline.expected test: add test cases for defining mount and swap units from kernel cmdline 2023-05-24 08:23:22 +09:00
test-20-swap-from-cmdline.expected generators: change TimeoutSec=0 to TimeoutSec=infinity 2023-06-06 12:38:16 +01:00
test-20-swap-from-cmdline.expected.container/initrd-usr-fs.target.requires test: add test cases for defining mount and swap units from kernel cmdline 2023-05-24 08:23:22 +09:00
.gitattributes
test-01-dev-nfs.input
test-02-dhcp.input
test-03-dhcp6.input
test-04-nfs.input
test-05-nfs4.input
test-06-ipv4.input
test-07-ipv6.input
test-08-implicit-nfs.input
test-09-cifs.input
test-10-iscsi.input
test-11-live.input
test-12-dev-sdx.input
test-13-label.input
test-14-uuid.input
test-15-partuuid.input
test-16-tmpfs.input
test-17-initrd-sysroot.fstab.input test: add fstab file support for fstab-generator tests 2023-01-25 19:05:11 -05:00
test-18-options.fstab.input test-fstab-generator: add tests for mount options 2023-05-24 08:23:22 +09:00
test-19-mounts-from-cmdline.input fstab-generator: add rd.systemd.mount-extra= and friends 2023-07-27 00:50:01 +09:00
test-20-swap-from-cmdline.input fstab-generator: add rd.systemd.mount-extra= and friends 2023-07-27 00:50:01 +09:00