When you run rpmbuild directly I would argue that you do not care about 
security already :) I guess it will be hard for rpmbuild to handle remounts for 
you. While it is no brainer for Mock.
What mock will need to have in rpm implemented is:
1) rpmbuild -ba --nocheck foo.spec  # this already exists
2) rpmbuild -bC  --short-circuit # C as check, i.e. short circuit directly to 
%check section and not running anything else.

Between these two steps, Mock can fetch results and remount the filesystem.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3009#discussioncomment-8985347
You are receiving this because you are subscribed to this thread.

Message ID: 
<rpm-software-management/rpm/repo-discussions/3009/comments/8985...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to