summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rescue/NEWS2
-rwxr-xr-xrescue/make_rescue_img2
2 files changed, 3 insertions, 1 deletions
diff --git a/rescue/NEWS b/rescue/NEWS
index 0ddb7c8c6..53b1c499c 100644
--- a/rescue/NEWS
+++ b/rescue/NEWS
@@ -1,3 +1,5 @@
+- work both with squashfs 3 and 4
+
Version 1.15 - 3 September 2009, by Thierry Vignaud
- add back dumpe2fs
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img
index 3cbf97aab..2d226afdc 100755
--- a/rescue/make_rescue_img
+++ b/rescue/make_rescue_img
@@ -56,6 +56,6 @@ if (my ($LANGUAGE) = map { if_(/LANGUAGE_(.*)/, $1) } keys %ENV) {
exit 0 if $ARGV[0];
-_ "mksquashfs3 $tmp $rescue -all-root -noappend >/dev/null";
+_ "mksquashfs $tmp $rescue -all-root -noappend >/dev/null || mksquashfs3 $tmp $rescue -all-root -noappend >/dev/null";
_ "chmod 755 $rescue";
_ "rm -rf $tmp";