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:
7aec3a1
)
Also respecting persistent-path parameter for snapshots (Closes: #570162).
author
Tanguy Ortolo
<tanguy+debian@ortolo.eu>
Sun, 14 Mar 2010 22:02:11 +0000
(23:02 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Sun, 14 Mar 2010 22:02:11 +0000
(23:02 +0100)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
d162f75
..
f79eaff
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-996,7
+996,7
@@
find_snap ()
if [ "${PERSISTENT}" != "nofiles" ]
then
# search for image files
if [ "${PERSISTENT}" != "nofiles" ]
then
# search for image files
- snapdata=$(find_files "${
snap_label}.squashfs ${snap_label}.cpio.gz ${snap_label}.ext2 ${snap_label}.ext3 ${snap_label}.ext4
${snap_label}.jffs2")
+ snapdata=$(find_files "${
PERSISTENT_PATH}${snap_label}.squashfs ${PERSISTENT_PATH}${snap_label}.cpio.gz ${PERSISTENT_PATH}${snap_label}.ext2 ${PERSISTENT_PATH}${snap_label}.ext3 ${PERSISTENT_PATH}${snap_label}.ext4 ${PERSISTENT_PATH}
${snap_label}.jffs2")
fi
if [ -z "${snapdata}" ]
fi
if [ -z "${snapdata}" ]