Re: Include non-RPM content in buildroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 24. 02. 20 v 11:17 Vitaly Zaitsev via devel napsal(a):
> All packages must be build with disabled network access to ensure, that
> it use packaged dependencies and not downloaded from outside.

Yes. But it is only rpm-build what cannot access network. Mock itself can access network.

In other words. (see comments inline of output)

###### internet access here ####################
Mock Version: 2.0
INFO: Mock Version: 2.0
Start: dnf install
No matches found for the following disable plugin patterns: local, spacewalk
fedora                                                                                    16 MB/s |  71 MB     00:04
updates                                                                                   14 MB/s |  21 MB     00:01
....
Complete!
Finish: dnf install
Start: creating root cache
Finish: creating root cache
Finish: chroot init
INFO: Installed packages:
Start: build phase for mock-core-configs-32.1-1.fc31.src.rpm
Start: build setup for mock-core-configs-32.1-1.fc31.src.rpm
########### No internet from here - Mock executing rpm-build #########
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1581120000
Wrote: /builddir/build/SRPMS/mock-core-configs-32.1-1.fc31.src.rpm
########### Internet enabled again #########
No matches found for the following disable plugin patterns: local, spacewalk
fedora                                                                                    42 kB/s |  24 kB     00:00
updates                                                                                   45 kB/s |  21 kB     00:00
Dependencies resolved.
Nothing to do.
Complete!
Finish: build setup for mock-core-configs-32.1-1.fc31.src.rpm
Start: Outputting list of installed packages
Finish: Outputting list of installed packages
Start: rpmbuild mock-core-configs-32.1-1.fc31.src.rpm
########### No internet from here - Mock executing rpm-build #########
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1581120000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iN2SBw
....

Finish: rpmbuild mock-core-configs-32.1-1.fc31.src.rpm
Finish: build phase for mock-core-configs-32.1-1.fc31.src.rpm
########### Internet enabled again #########
INFO: Done(/tmp/tito/mock-core-configs-32.1-1.fc31.src.rpm) Config(default) 3 minutes 28 seconds
INFO: Results and/or logs in: /var/lib/mock/fedora-31-x86_64/result
Finish: run


-- 
Miroslav Suchy, RHCA
Red Hat, Associate Manager ABRT/Copr, #brno, #fedora-buildsys
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux