]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(dracut.sh): also prevent fsfreeze for tmpfs
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>
Sat, 17 Jun 2023 06:18:05 +0000 (08:18 +0200)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Mon, 26 Jun 2023 07:39:24 +0000 (09:39 +0200)
KERNEL_INSTALL_STAGING_AREA is often on tmpfs, it cannot be frozen

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
dracut.sh

index 0bc7b18e3afeb17ebafcaf4f3c9e19519ddc4bd9..01aa437279d8b3e054b25960813e77a31eb17534 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -2594,6 +2594,9 @@ freeze_ok_for_fstype() {
         zfs)
             return 1
             ;;
+        tmpfs)
+            return 1
+            ;;
         btrfs)
             freeze_ok_for_btrfs "$outfile"
             ;;