- Skip %check if fusermount3 is not executable. post-build-checks
breaks it in openSUSE:Factory (boo#1159963) OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kio-fuse?expand=0&rev=2
This commit is contained in:
parent
7286a07970
commit
c1b797a284
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 31 18:46:53 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Skip %check if fusermount3 is not executable. post-build-checks
|
||||
breaks it in openSUSE:Factory (boo#1159963)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 29 13:04:21 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
|
@ -60,6 +60,13 @@ applications using FUSE.
|
||||
# The hack below only works with util-linux 3.34+.
|
||||
# Without working umount, the tests can't work :-(
|
||||
|
||||
ret=0
|
||||
fusermount3 || ret=$?
|
||||
if [ $ret -eq 126 ] ; then
|
||||
# No permission to run fusermount3: boo#1159963
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Hack to make "fusermount3 -u" work in the OBS context
|
||||
# (https://github.com/openSUSE/obs-build/issues/535)
|
||||
echo -e '#!/bin/sh\numount $2' >> fusermount3
|
||||
|
Loading…
Reference in New Issue
Block a user