Skip to content

Commit 4dfccbe

Browse files
henrywangcgwalters
authored andcommitted
test: Fix btrfs FS on CS10 image issue
MR https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2009 already added "CONFIG_BTRFS_FS=m" into config Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
1 parent dc28605 commit 4dfccbe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

contrib/packaging/configure-rootfs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ else
2626
fs=
2727
case "${VARIANT}" in
2828
composefs*)
29-
btrfs=$(grep -qEe '^CONFIG_BTRFS_FS' /usr/lib/modules/${kver}/config && echo btrfs || true)
29+
# CONFIG_BTRFS_FS=m has been added into CS10 kernel config
30+
btrfs=$(grep -qEe '^CONFIG_BTRFS_FS=y' /usr/lib/modules/${kver}/config && echo btrfs || true)
3031
fs=${btrfs:-ext4}
3132
;;
3233
*)

0 commit comments

Comments
 (0)