diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2021-05-09 20:50:14 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2021-06-03 08:15:00 -0400 |
commit | ac5b5da8b730b1ed436d83b8cd006c6c07911f33 (patch) | |
tree | 9c5d2e578f25050866be2db49e78b07fe5df8422 /nonsystemd/opentmpfiles | |
parent | 937d40eda09086eaa0aef4e49a9dd9895434ecad (diff) | |
download | abslibre-ac5b5da8b730b1ed436d83b8cd006c6c07911f33.tar.gz abslibre-ac5b5da8b730b1ed436d83b8cd006c6c07911f33.tar.bz2 abslibre-ac5b5da8b730b1ed436d83b8cd006c6c07911f33.zip |
[opentmpfiles]: bugfix chattr patch
Diffstat (limited to 'nonsystemd/opentmpfiles')
-rw-r--r-- | nonsystemd/opentmpfiles/PKGBUILD | 2 | ||||
-rw-r--r-- | nonsystemd/opentmpfiles/chattr-ignore-nocow.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nonsystemd/opentmpfiles/PKGBUILD b/nonsystemd/opentmpfiles/PKGBUILD index fb93fb570..c4d007f7b 100644 --- a/nonsystemd/opentmpfiles/PKGBUILD +++ b/nonsystemd/opentmpfiles/PKGBUILD @@ -22,7 +22,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/OpenRC/${pkgname}/archi sha256sums=('47d651ccda53a204463285044a9d34b1bd54d927509dac43994a9d6341be084a' '23c73b3cc20ec38e0a5166f254293c911d20ae3efec8e133f424c1a1d0703fb8' 'adbee03530006e8284ea44c5dd7eb99f6cc6c4e383c09fec36d7a22f7d486fc5' - '9a753d36a536c7913a38ac9e3cc22ffce4c1214f25059a0a00152bce0043a96e') + 'cc551d44fb9026fe00205751a149b564db09c6bf0455a741ddd171d0a85f5b62') prepare() diff --git a/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch b/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch index c3aa84d9c..3233d1c20 100644 --- a/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch +++ b/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch @@ -10,7 +10,7 @@ diff a/tmpfiles.sh b/tmpfiles.sh + local fs_type + case $attr in + [+-=]C) fs_type="$(df --output=fstype "$3" | tail --lines=1)" -+ test "$fstype" == 'btrfs' || return 0 ++ test "$fs_type" = 'btrfs' || return 0 + ;; + esac + |