diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2021-01-08 17:10:26 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2021-01-08 17:10:26 +0100 |
commit | 2c681c73cf086dc90ee0998be2ccda63b349d28c (patch) | |
tree | 5b388da1bcba08dc5da1a93df1d692b07f62181a | |
parent | c6e67582e73a49b15107dfab3bc2273e11b0f9f0 (diff) | |
download | alpine-conf-2c681c73cf086dc90ee0998be2ccda63b349d28c.zip |
setup-disk: load dm-mod module if needed
-rw-r--r-- | setup-disk.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setup-disk.in b/setup-disk.in index afb985b..e008c3c 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -1420,6 +1420,10 @@ esac dmesg -n1 +if [ -n "$USE_LVM" ] && ! grep -w -q device-mapper /proc/misc; then + modprobe dm-mod +fi + # native disk install case "$DISK_MODE" in sys) native_disk_install$USE_LVM $diskdevs;; |