MOUNTP=""
COW=""
DEV=""
-DEST=""
+DEST="${MOUNTP}/live-sn.cpio.gz"
TYPE=""
DESKTOP_LINK=""
;;
esac
+ case "${TYPE}" in
+ cpio)
+ DEST="${MOUNTP}/casper-sn.cpio.gz" ;;
+ squashfs)
+ DEST="${MOUNTP}/casper-sn.squashfs" ;;
+ ext2)
+ DEST="${MOUNTP}/casper-sn.ext2" ;;
+ *)
+ echo "Internal error."
+ exit 1
+ ;;
+ esac
#if [ -d
#if Is_same_mount
fi
+casper (1.124) hardy; urgency=low
+
+ [ Colin Watson ]
+ * Name generated snapshot images according to their type (LP: #202699).
+
+ [ Martin Pitt ]
+ * scripts/casper-bottom/44pk_allow_ubuntu: Remove erroneous blank line at
+ the start of PolicyKit.conf, since this is invalid XML. This broke
+ PolicyKit completely on the live system.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 18 Mar 2008 10:20:08 +0100
+
casper (1.123) hardy; urgency=low
* Add scripts/casper-bottom/44pk_allow_ubuntu: Allow PolicyKit privileges
# configure PolicyKit in live session
cat << EOF > /root/etc/PolicyKit/PolicyKit.conf
-
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"