From 02f0fb6ca32464adc6d6dd80878ac62bd75048ec Mon Sep 17 00:00:00 2001 From: Marco Amadori Date: Fri, 6 Jun 2008 23:44:09 +0200 Subject: 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. --- scripts/live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3