Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 5c1bb304a26349fad0d8eaf2d0262d83 > files > 21

dracut-025-8.mga3.src.rpm

From bca4f30ad5c7132f90fabb9fccd3242dce885c56 Mon Sep 17 00:00:00 2001
From: Colin Guthrie <colin@mageia.org>
Date: Thu, 25 Apr 2013 21:59:19 +0100
Subject: [PATCH 513/514] Support the simple upgrade preparation API (mga#9744)

---
 modules.d/30convertfs/convertfs.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modules.d/30convertfs/convertfs.sh b/modules.d/30convertfs/convertfs.sh
index 7ee38c3..1e1b28e 100755
--- a/modules.d/30convertfs/convertfs.sh
+++ b/modules.d/30convertfs/convertfs.sh
@@ -58,6 +58,9 @@ fi
 
 if ! needconvert; then
     echo "Your system is already converted."
+    if [[ -f "$ROOT/var/lib/mageia-prepare-upgrade/state" ]]; then
+       echo "ready" >"$ROOT/var/lib/mageia-prepare-upgrade/state"
+    fi
     exit 0
 fi
 
@@ -243,5 +246,9 @@ elif [[ -f "$ROOT/usr/lib/iptables.usrmove~" ]]; then
   fi
 fi
 
+if [[ -f "$ROOT/var/lib/mageia-prepare-upgrade/state" ]]; then
+    echo "ready" >"$ROOT/var/lib/mageia-prepare-upgrade/state"
+fi
+
 echo "Done."
 exit 0
-- 
1.8.1.5