diff options
| author | Marco Amadori <marco.amadori@gmail.com> | 2008-06-06 23:44:09 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:00 +0100 |
| commit | 02f0fb6ca32464adc6d6dd80878ac62bd75048ec (patch) | |
| tree | cdfb6a4b32d31ecd6e070c55deba45d24fc492b3 /scripts | |
| parent | 41e9edcaf36bf2b7d56eee71bee80703176d111e (diff) | |
| download | live-boot-02f0fb6ca32464adc6d6dd80878ac62bd75048ec.tar.gz live-boot-02f0fb6ca32464adc6d6dd80878ac62bd75048ec.zip | |
live-snapshot: now supports a static keep file list.
* Included support for specifing a list of files/dirs to be explicitly
kept between reboots, enabled only for the "cpio" snapshot type.
Look at "/usr/share/doc/live-initramfs/examples/live-snapshot.list"
for hints.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live index ee363c3..e211263 100755 --- a/scripts/live +++ b/scripts/live @@ -875,7 +875,7 @@ try_snap () fi else # cpio.gz snapshot - if ! (cd "${snap_mount}" && zcat "${snapback}/${snapfile}" | cpio -i -u -d 2>/dev/null) + if ! (cd "${snap_mount}" && zcat "${snapback}/${snapfile}" | cpio --extract --preserve-modification-time --no-absolute-filenames --sparse --unconditional --make-directories > /dev/null 2>&1) then log_warning_msg "Impossible to include the ${snapfile} Snapshot" return 1 |
