]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: add a btrfs helper
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 17 Sep 2021 17:19:23 +0000 (19:19 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 18 Sep 2021 18:44:34 +0000 (20:44 +0200)
test/test-functions

index 8ed0dbfe06b3db0c1b5383fe14bb5627e84ef79a..9eb37fce5860f1320e4ae83ab08351ebe5785efa 100644 (file)
@@ -950,6 +950,14 @@ install_lvm() {
     mkdir -p "${initdir:?}/etc/lvm"
 }
 
+install_btrfs() {
+    instmods btrfs
+    # Not all utilities provided by btrfs-progs are listed here; extend the list
+    # if necessary
+    image_install btrfs btrfstune mkfs.btrfs
+    inst_rules 64-btrfs-dm.rules
+}
+
 install_compiled_systemd() {
     dinfo "Install compiled systemd"