[arch-commits] Commit in btrfs-progs/trunk (3 files)
Sébastien Luttringer
seblu at archlinux.org
Tue Nov 24 13:21:40 UTC 2015
Date: Tuesday, November 24, 2015 @ 14:21:39
Author: seblu
Revision: 251938
upgpkg: btrfs-progs 4.3.1-2
Modified:
btrfs-progs/trunk/PKGBUILD
btrfs-progs/trunk/btrfs-progs.install
btrfs-progs/trunk/btrfs-scrub at .service
----------------------+
PKGBUILD | 4 ++--
btrfs-progs.install | 10 ++++++++--
btrfs-scrub at .service | 4 ++--
3 files changed, 12 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-24 12:47:39 UTC (rev 251937)
+++ PKGBUILD 2015-11-24 13:21:39 UTC (rev 251938)
@@ -5,7 +5,7 @@
pkgname=btrfs-progs
pkgver=4.3.1
-pkgrel=1
+pkgrel=2
pkgdesc='Btrfs filesystem utilities'
arch=('i686' 'x86_64')
depends=('glibc' 'libutil-linux' 'e2fsprogs' 'lzo' 'zlib')
@@ -25,7 +25,7 @@
md5sums=('SKIP'
'7241ba3a4286d08da0d50b7176941112'
'b09688a915a0ec8f40e2f5aacbabc9ad'
- '6988ee82cc06d8639faf16fd2d9e0bc2'
+ '794b867e09451284c545bae112aa0cfd'
'a290e0ab88b7b4675cd20f5a2befc8cb')
build() {
Modified: btrfs-progs.install
===================================================================
--- btrfs-progs.install 2015-11-24 12:47:39 UTC (rev 251937)
+++ btrfs-progs.install 2015-11-24 13:21:39 UTC (rev 251938)
@@ -1,8 +1,14 @@
#!/bin/sh
+## arg 1: the new package version
+## arg 2: the old package version
post_upgrade() {
- if [ "$(vercmp 0.19.20121005 "$2")" -eq 1 ]; then
- echo "btrfs multi-device support now relies on linux 3.6 or later"
+ if (( "$(vercmp "$2" 0.19.20121005)" < 0 )); then
+ echo 'btrfs multi-device support now relies on linux 3.6 or later'
+ elif (( "$(vercmp "$2" 4.3.1-2)" < 0 )); then
+ echo 'btrfs-scrub at .timer instance names must not be prefix by dash anymore'
+ echo 'use btrfs-scrub at -.timer to scrub / monthly'
+ echo ' btrfs-scrub at home.timer to scrub /home monthly.'
fi
}
Modified: btrfs-scrub at .service
===================================================================
--- btrfs-scrub at .service 2015-11-24 12:47:39 UTC (rev 251937)
+++ btrfs-scrub at .service 2015-11-24 13:21:39 UTC (rev 251938)
@@ -1,7 +1,7 @@
[Unit]
-Description=Btrfs scrub on %I
+Description=Btrfs scrub on %f
[Service]
Nice=19
IOSchedulingClass=idle
-ExecStart=/usr/bin/btrfs scrub start -B %I
+ExecStart=/usr/bin/btrfs scrub start -B %f
More information about the arch-commits
mailing list