-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Peter,
> How do you avoid the repo wrapper fetching the repo source itself > and instead fetch it using the bitbake fetcher? I have seen nothing > to that extent in the patches so far. we don't. This recipe only installs the repo wrapper. The source code is downloaded and installed when running `repo init`. However, in our opinion this is not an issue. When installing repo as a package to a target, this is the expected behaviour. The target would only have the repo wrapper installed, just like on any other linux distrobution. The actual usage of repo on the target is decoupled from the bitbake build process. When using the repo fetcher, the repo source is fetched during the do_fetch stage by running `repo init` (when SRCREV = AUTOREV, changes to the recipe or no previous sources available in DL_DIR). By executing this within the "runfetchcmd" function, this also works with the usual network features bitbake provides, e.g. proxy. If the recipe has not changed and sources are already available from a previous run, repo will not be rerun. As such, reproducing a build offline is also possible. - -- With best regards Jasper Orschulko DevOps Engineer Tel. +49 30 58 58 14 265 Fax +49 30 58 58 14 999 [email protected] • • • • • • • • • • • • • • • • • • • • • • • • • • iris-GmbH infrared & intelligent sensors Schnellerstraße 1-5 | 12439 Berlin https://iris-sensing.com/ On Wed, 2021-11-10 at 23:55 +0000, Peter Kjellerstedt wrote: > > -----Original Message----- > > From: [email protected] <bitbake- > > [email protected]> On Behalf Of Jasper Orschulko > > Sent: den 9 november 2021 12:26 > > To: [email protected]; openembedded- > > [email protected]; [email protected]; > > [email protected] > > Cc: [email protected]; [email protected]; bitbake- > > [email protected] > > Subject: Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial > > recipe > > for repo 2.17.3 > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA256 > > > > Hi Richard, > > > > I think our implementation of the repo fetcher checks the (what I > > believe to be) most relevant parts of your checklist (thanks for the > > write-up). Martin, please corrent me if I'm missing something: > > > > > a) network access for sources is only expected to happen in the > > > do_fetch step. > > > This is not enforced or tested but is required so that we can: > > > > > > i) audit the sources used (i.e. for license/manifest reasons) > > > ii) support offline builds with a suitable cache > > > iii) allow work to continue even with downtime upstream > > > iv) allow for changes upstream in incompatible ways > > > v) allow rebuilding of the software in X years time > > > > check > > > > > b) network access is not expected in do_unpack > > > > check > > How do you avoid the repo wrapper fetching the repo source itself > and instead fetch it using the bitbake fetcher? I have seen nothing > to that extent in the patches so far. > > //Peter > -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE4WyPMIC5Ap4+Ooo1Ygqew07VMNUFAmGM6rUACgkQYgqew07V MNUCIAf+MXGp9Hnfxmu+8w3BasVsP2N7ttW2FN3Zroiyr/hKrJzeq/qDQwO+/K3U zWZJ85H6L2eTjOP8fPaHbVMRD1jUoYVpYUAE/fN64FbhCBmurVuWFrLo/u6Gy2cU DCd3SIejXidB25EQRoS4Bfl25il1wG4iMw1pCFA6ku5rGhb8q5jvfZECf0Wuhh7X FnMQlI3VZsSk4CakF3g88AFTLFrsQYcN2vDUskdhMfTZpuRA8duIvW4rVgOvHJQT v07rASNR/9yzPRVkzpgPUI9Vl2LA3vEZ3Rccw3jscYHFwkzj0096DO4+jeDwyza5 fFm0dDT9HjGuzTz66c5JL8sdZZi9pw== =AOyp -----END PGP SIGNATURE-----
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#158152): https://lists.openembedded.org/g/openembedded-core/message/158152 Mute This Topic: https://lists.openembedded.org/mt/86840389/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
