From: William Douglas Date: Wed, 10 Apr 2013 13:41:26 +0000 (-0700) Subject: Update snapshots location for snapper X-Git-Tag: submit/trunk/20130412.085600 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftrunk%2F20130412.085600;p=platform%2Fupstream%2Fpc-installer.git Update snapshots location for snapper Signed-off-by: William Douglas --- diff --git a/scripts/install.sh b/scripts/install.sh index 6f0f3a7..85f6727 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -57,7 +57,7 @@ mount -oloop,ro $SRCMNT/LiveOS/ext3fs.img $SRCOSMNT mount ${TARGET_DEV}2 $TGTMNT /usr/sbin/btrfs subvolume create ${TGTMNT}/tizen -/usr/sbin/btrfs subvolume create ${TGTMNT}/tizen-snapshots +/usr/sbin/btrfs subvolume create ${TGTMNT}/tizen/.snapshots SUBVOLID=$(/usr/sbin/btrfs subvolume list $TGTMNT | grep 'tizen$' | awk '{ print $2 }') /usr/sbin/btrfs subvolume set-default $SUBVOLID $TGTMNT