From c2d2b5e64f89c612bd29b5b38e83c79a6522dc69 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Sun, 8 Nov 2015 15:09:06 +0000 Subject: [PATCH] Set btrfs fstab passno to zero, as there is no btrfs fsck scripts. --- debian/changelog | 6 ++++++ debian/control | 2 +- fstab.d/btrfs | 8 ++------ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index 900dc7e..db9b72d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +partman-btrfs (19) unstable; urgency=medium + + * Set btrfs fstab passno to zero, as there is no btrfs fsck scripts. + + -- Dimitri John Ledkov Sun, 08 Nov 2015 15:01:42 +0000 + partman-btrfs (18) unstable; urgency=medium [ Updated translations ] diff --git a/debian/control b/debian/control index f57b902..a4dc75a 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: partman-btrfs Section: debian-installer Priority: standard Maintainer: Debian Install System Team -Uploaders: Anton Zinoviev , Christian Perrier +Uploaders: Anton Zinoviev , Christian Perrier , Dimitri John Ledkov Build-Depends: debhelper (>= 9), dh-di, po-debconf (>= 0.5.0) Vcs-Browser: http://anonscm.debian.org/gitweb/?p=d-i/partman-btrfs.git Vcs-Git: git://anonscm.debian.org/d-i/partman-btrfs.git diff --git a/fstab.d/btrfs b/fstab.d/btrfs index 9327e5a..77d403b 100755 --- a/fstab.d/btrfs +++ b/fstab.d/btrfs @@ -21,12 +21,8 @@ for dev in $DEVICES/*; do rm -f $id/options/noexec fi options=$(get_mountoptions $dev $id) - if [ "$mountpoint" = / ]; then - pass=1 - else - pass=2 - fi - echo "$path" "$mountpoint" btrfs $options 0 $pass + # There is no btrfs fsck + echo "$path" "$mountpoint" btrfs $options 0 0 ;; esac done