!43 ostree: fix test-rofiles-fuse.sh failed
From: @ship_harbour Reviewed-by: @licunlong Signed-off-by: @licunlong
This commit is contained in:
commit
66689e53c3
25
do-fusermount-lazy-unmount.patch
Normal file
25
do-fusermount-lazy-unmount.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From f67eae1584947385968a5e2f1c641a22a0d7359b Mon Sep 17 00:00:00 2001
|
||||||
|
From: jiangchuangang <jiangchuangang@huawei.com>
|
||||||
|
Date: Tue, 19 Sep 2023 20:51:07 +0800
|
||||||
|
Subject: [PATCH] do lazy umount for "Device or resource busy"
|
||||||
|
|
||||||
|
---
|
||||||
|
tests/test-rofiles-fuse.sh | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/tests/test-rofiles-fuse.sh b/tests/test-rofiles-fuse.sh
|
||||||
|
index 87962ce..9b8f6b9 100755
|
||||||
|
--- a/tests/test-rofiles-fuse.sh
|
||||||
|
+++ b/tests/test-rofiles-fuse.sh
|
||||||
|
@@ -138,7 +138,7 @@ echo "ok flock"
|
||||||
|
|
||||||
|
copyup_reset() {
|
||||||
|
cd ${test_tmpdir}
|
||||||
|
- fusermount -u mnt
|
||||||
|
+ fusermount -zu mnt
|
||||||
|
rm checkout-test2 -rf
|
||||||
|
$OSTREE checkout -H test2 checkout-test2
|
||||||
|
rofiles-fuse --copyup checkout-test2 mnt
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
#needsrootforbuild
|
#needsrootforbuild
|
||||||
Name: ostree
|
Name: ostree
|
||||||
Version: 2023.5
|
Version: 2023.5
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: A tool like git for operating system binaries
|
Summary: A tool like git for operating system binaries
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://ostree.readthedocs.io/en/latest/
|
URL: https://ostree.readthedocs.io/en/latest/
|
||||||
@ -11,6 +11,7 @@ Patch9000: Do-not-run-testcase-test-libarvhive-import-because-selinux-is-of
|
|||||||
Patch9001: skip-updating-the-preference.patch
|
Patch9001: skip-updating-the-preference.patch
|
||||||
Patch9002: skip-if-etc-mtab-is-not-a-symlink-of-proc-self-mounts.patch
|
Patch9002: skip-if-etc-mtab-is-not-a-symlink-of-proc-self-mounts.patch
|
||||||
Patch9003: remove-specific-cc-in-automake.patch
|
Patch9003: remove-specific-cc-in-automake.patch
|
||||||
|
Patch9004: do-fusermount-lazy-unmount.patch
|
||||||
|
|
||||||
BuildRequires: bison autoconf automake libtool gobject-introspection-devel pkgconfig(liblzma) docbook-xsl
|
BuildRequires: bison autoconf automake libtool gobject-introspection-devel pkgconfig(liblzma) docbook-xsl
|
||||||
BuildRequires: pkgconfig(e2p) pkgconfig(zlib) pkgconfig(libcurl) pkgconfig(libsoup-2.4) gpgme-devel
|
BuildRequires: pkgconfig(e2p) pkgconfig(zlib) pkgconfig(libcurl) pkgconfig(libsoup-2.4) gpgme-devel
|
||||||
@ -95,6 +96,9 @@ make check
|
|||||||
%{_mandir}/man*/{ostree,rofiles}*.gz
|
%{_mandir}/man*/{ostree,rofiles}*.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 19 2023 jiangchuangang <jiangchuangang@huawei.com> - 2023.5-3
|
||||||
|
- fix test-rofiles-fuse.sh failed
|
||||||
|
|
||||||
* Fri Aug 11 2023 liyunfei <liyunfei33@huawei.com> - 2023.5-2
|
* Fri Aug 11 2023 liyunfei <liyunfei33@huawei.com> - 2023.5-2
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user