The brd module is automatically loaded after fsmOpenat() the block file.
```
if (!rc && fd == -1 && !S_ISLNK(fp->sb.st_mode)) {
/* Only follow safe symlinks, and never on temporary files */
fd = fsmOpenat(di.dirfd, fp->fpath,
I have a spec as follows:
[root@localhost SPECS]# cat test.spec
```
Name: test
Version: 1.0
Release: 1
Group: Testing
License: GPL
Summary: Simple rpm demonstration.
%description
Simple rpm demonstration.
%prep
%build
%install
mknod %{buildroot}/test-block b 1 2
%files
/test-block
```
1. `rpm
@JetXujing commented on this pull request.
> @@ -1371,3 +1371,21 @@ runroot rpm -q --whatprovides /
],
[])
AT_CLEANUP
+
+AT_SETUP([rpm -U with Obsoletes])
+AT_KEYWORDS([install])
+AT_CHECK([
+RPMDB_INIT
+
+runroot rpmbuild -bb --quiet /data/SPECS/test-obsoletes.spec
+runroot rpm -i --nodeps -
@JetXujing pushed 1 commit.
1275994c92b1cfb4831d285fc12dd2ef2aa514d3 tests: add test for Obsoletes
--
View it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2254/files/aba4fa3281fba07be3a10a039c844bb91295a31b..1275994c92b1cfb4831d285fc12dd2ef2aa514d3
You are receiving this becau
Thanks for the productive collaboration!
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2274#issuecomment-130910
You are receiving this because you are subscribed to this thread.
Message ID: __
@pmatilai commented on this pull request.
> @@ -1371,3 +1371,21 @@ runroot rpm -q --whatprovides /
],
[])
AT_CLEANUP
+
+AT_SETUP([rpm -U with Obsoletes])
+AT_KEYWORDS([install])
+AT_CHECK([
+RPMDB_INIT
+
+runroot rpmbuild -bb --quiet /data/SPECS/test-obsoletes.spec
+runroot rpm -i --nodeps --
Closed #2272 as completed via #2274.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2272#event-7781199012
You are receiving this because you are subscribed to this thread.
Message ID:
___
Rp
Thanks for the patch!
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2274#issuecomment-1309993482
You are receiving this because you are subscribed to this thread.
Message ID: ___
Rpm-maint mai
Merged #2274 into master.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2274#event-7781198831
You are receiving this because you are subscribed to this thread.
Message ID:
___
Rpm-maint maili