diff options
Diffstat (limited to 'source/a')
-rw-r--r-- | source/a/mkinitrd/mkinitrd | 3 | ||||
-rwxr-xr-x | source/a/mkinitrd/mkinitrd.SlackBuild | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/a/mkinitrd/mkinitrd b/source/a/mkinitrd/mkinitrd index 18a6d9e8..7a8d772a 100644 --- a/source/a/mkinitrd/mkinitrd +++ b/source/a/mkinitrd/mkinitrd @@ -653,6 +653,9 @@ if [ ! -z "$CRYPT" -o ! -z "$LVM" ]; then elif ! echo ${MODULE_LIST} | grep -q dm-mod ; then MODULE_LIST="$MODULE_LIST:dm-mod" fi + if ! echo ${MODULE_LIST} | grep -q dm-snapshot ; then + MODULE_LIST="$MODULE_LIST:dm-snapshot" + fi mkdir -p $SOURCE_TREE/lib/udev/rules.d echo 'KERNEL=="dm-[0-9]*", OPTIONS+="db_persist"' > \ $SOURCE_TREE/lib/udev/rules.d/95-dm-initrd.rules diff --git a/source/a/mkinitrd/mkinitrd.SlackBuild b/source/a/mkinitrd/mkinitrd.SlackBuild index ce801c57..8fd278be 100755 --- a/source/a/mkinitrd/mkinitrd.SlackBuild +++ b/source/a/mkinitrd/mkinitrd.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mkinitrd VERSION=${VERSION:-1.4.11} BB=1.32.1 -BUILD=${BUILD:-21} +BUILD=${BUILD:-22} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then |