projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
99a3dc0
)
Avoiding using busybox cpio applet, this should fix snapshot restore.
author
Marco Amadori
<amadorim@vdavda.com>
Mon, 5 Jul 2010 15:07:10 +0000
(17:07 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Mon, 5 Jul 2010 21:17:36 +0000
(23:17 +0200)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
5b5a3b9
..
d35fb08
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-992,9
+992,9
@@
try_snap ()
cpioargs='--unconditional --make-directories'
fi
cpioargs='--unconditional --make-directories'
fi
- if ! (cd "${snap_mount}" && zcat "${snapback}/${snapfile}" |
cpio
$cpioargs --extract --preserve-modification-time --no-absolute-filenames --sparse 2>/dev/null)
+ if ! (cd "${snap_mount}" && zcat "${snapback}/${snapfile}" |
$cpiopath
$cpioargs --extract --preserve-modification-time --no-absolute-filenames --sparse 2>/dev/null)
then
then
- log_warning_msg "failure to \"zcat ${snapback}/${snapfile} |
cpio
$cpioargs --extract --preserve-modification-time --no-absolute-filenames --sparse\""
+ log_warning_msg "failure to \"zcat ${snapback}/${snapfile} |
$cpiopath
$cpioargs --extract --preserve-modification-time --no-absolute-filenames --sparse\""
fi
fi
fi
fi