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. `rpmbuild -bb test.spec`
2. `rmmod brd`
3. `rpm -i /root/rpmbuild/RPMS/aarch64/test-1.0-1.aarch64.rpm --force`
4. `lsmod | grep brd`

According to the preceding steps, the following output can be obtained:
```
[root@localhost SPECS]# lsmod | grep brd
brd                    20480  0
```

Is it reasonable that the brd module is automatically loaded when the block 
file is installed?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2275
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to