exit 0
fi
+if [ -n "$SNF_IMAGE_PROPERTY_DO_SYNC" ]; then
+ unset EATMYDATA
+fi
+
table=$(get_partition_table "$SNF_IMAGE_DEV")
partition=$(get_partition_by_num "$table" "$SNF_IMAGE_RESIZE_PART")
id=$(cut -d: -f1 <<< "$partition")
# system that has been mounted after the last fs check, but since we are
# sure the file system is clean it's safe enough to bypass this.
if [ "$state" = "clean" ]; then
- $RESIZE2FS -f "$device"
+ $EATMYDATA $RESIZE2FS -f "$device"
else
log_error "The file system state of partition: \`$device' " \
" is not clean (state = $state)"
# the order of sections is not important.
# the debootstrap option determines which repository
# is used to calculate the list of Priority: required packages.
-debootstrap=Debian
-aptsources=Debian
+debootstrap=Debian Backport
+aptsources=Debian Backport
[Debian]
packages=linux-image-amd64 ntfs-3g ntfsprogs xmlstarlet python reglookup chntpw parted
source=http://ftp.gr.debian.org/debian
suite=stable
+[Backport]
+packages=eatmydata
+source=http://backports.debian.org/debian-backports
+suite=stable-backports