]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Create a few subvolumes in the root partition
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 15 Aug 2023 08:33:34 +0000 (10:33 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 15 Aug 2023 10:32:39 +0000 (12:32 +0200)
Let's exercise the repart Subvolumes= setting by creating a few
subvolumes in the root partition when we create it.

mkosi.presets/system/mkosi.extra/usr/lib/repart.d/20-root.conf

index 2f92af248f3c10b62c10cc861d52301c3ace8060..71eb9e38c4923805924c62a860a5faf742a7021e 100644 (file)
@@ -4,3 +4,5 @@
 Type=root
 Format=btrfs
 SizeMinBytes=1G
+Subvolumes=/home /var
+MakeDirectories=/home /var