summaryrefslogtreecommitdiff
path: root/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2021-07-02 18:13:26 -0400
committerDavid P <megver83@parabola.nu>2021-07-02 18:13:26 -0400
commit497dc6e9cd7e3ace1f7740f7ac8fa274e88f16d2 (patch)
tree19034182300eb3a9d192b60cbb1a7d671c6d3602 /nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
parent23e56a806d94541abc1237d5ed5a85e1b59dfddc (diff)
downloadabslibre-497dc6e9cd7e3ace1f7740f7ac8fa274e88f16d2.tar.gz
abslibre-497dc6e9cd7e3ace1f7740f7ac8fa274e88f16d2.tar.bz2
abslibre-497dc6e9cd7e3ace1f7740f7ac8fa274e88f16d2.zip
nonsystemd: remove opensysusers and opentmpfiles
succeded by esysusers and etmpfiles Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/opentmpfiles/chattr-ignore-nocow.patch')
-rw-r--r--nonsystemd/opentmpfiles/chattr-ignore-nocow.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch b/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
deleted file mode 100644
index 3233d1c20..000000000
--- a/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff a/tmpfiles.sh b/tmpfiles.sh
---- a/tmpfiles.sh
-+++ b/tmpfiles.sh
-@@ -54,6 +54,15 @@ _chattr() {
- '') return ;;
- *) attr="+$attr" ;;
- esac
-+
-+ # ignore attempts to set unsupported attributes
-+ local fs_type
-+ case $attr in
-+ [+-=]C) fs_type="$(df --output=fstype "$3" | tail --lines=1)"
-+ test "$fs_type" = 'btrfs' || return 0
-+ ;;
-+ esac
-+
- local IFS=
- dryrun_or_real chattr "$1" "$attr" -- "$3"
- }