129700529f
- Add btrfsmaintenance-0.3.1-fix-rpm-db-path.patch: * Change RPM database path to /usr/lib/sysimage/rpm for Tumbleweed. OBS-URL: https://build.opensuse.org/request/show/539734 OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsmaintenance?expand=0&rev=20
19 lines
588 B
Diff
19 lines
588 B
Diff
RPM database location has changed from /var/lib/rpm to /usr/lib/sysimage/rpm
|
|
for openSUSE Tumbleweed.
|
|
|
|
See https://lists.opensuse.org/opensuse-factory/2017-11/msg00188.html.
|
|
---
|
|
diff -up ./btrfs-defrag-plugin.py.orig ./btrfs-defrag-plugin.py
|
|
--- ./btrfs-defrag-plugin.py.orig 2017-11-07 22:56:51.559813001 +0100
|
|
+++ ./btrfs-defrag-plugin.py 2017-11-07 22:57:38.027814927 +0100
|
|
@@ -24,7 +24,7 @@ import subprocess
|
|
DEBUG=False
|
|
EXTENT_SIZE=64*1024*1024
|
|
LOGFILE='/tmp/btrfs-defrag-plugin.log'
|
|
-PATH='/var/lib/rpm'
|
|
+PATH='/usr/lib/sysimage/rpm/'
|
|
|
|
def dbg(args):
|
|
if not DEBUG: return
|
|
|