From babe935563bbd9509ce0ded9119f0620ba25a42b Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Fri, 17 Sep 2021 19:19:23 +0200 Subject: [PATCH] test: add a btrfs helper --- test/test-functions | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test-functions b/test/test-functions index 8ed0dbfe06b..9eb37fce586 100644 --- a/test/test-functions +++ b/test/test-functions @@ -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"