Re: [Starlingx-discuss] Adding packages to build .lst files
Hi Don, Not sure what happened, maybe because of the attached script, this got scrubbed on my end. Can you resend possibly with the script in a zip file? Thanks Sau! On 07/17/2018 08:15 AM, Rowsell, Brent wrote:
Saul,
Can someone provide some input on this ?
Thanks,
Brent
*From:* Penney, Don [mailto:Don.Penney@windriver.com] *Sent:* Monday, July 16, 2018 2:22 PM *To:* 'starlingx-discuss@lists.starlingx.io' <starlingx-discuss@lists.starlingx.io <mailto:starlingx-discuss@lists.starlingx.io>> *Subject:* [Starlingx-discuss] Adding packages to build .lst files
Hi folks,
We’ve got some packages to add to the build, and I’m wondering if there’s some description of the various .lst files in stxtools/centos-mirror-tools. For example, how do you decide whether a package is listed in rpms_from_centos_repo.lst vs rpms_from_centos_3rd_parties.lst?
I started writing a script to pull together a list of the dependencies based on Requires and BuildRequires. As I understand it, we need to add all such dependencies, recursively, to these .lst files. Using the StarlingX.repo config file as an arg to repoquery, I get some packages overlapping with rpms_from_centos_3rd_parties.lst, however, so I’m hoping there’s some clear direction with these files. My script is finding hundreds of rpms to add to rpms_from_centos_repo.lst with its calls to repoquery to resolve the dependencies, so either I’ve got lots of overlap and many of these need to go to the 3rdparty file, my repoquery approach for automating this is completely wrong, or these new packages are using a completely different set of dependencies for the builds than anything else we’ve got.
I’ve attached the first draft of my script for anyone that’s curious.
Thanks,
Don.
*Don Penney*, Developer, *Wind River*
About the names of the files, we don't have a description of the content but Initially the 3rd_parties.lst content was for the rpms that couldn't be get through yumdownloader, presumably these are the oldest packages as they are not in vault.centos.org or they are hard to find. The best scenario is to not have the 3rd_parties.lst file. On 7/17/18, 11:50 AM, "Saul Wold" <sgw@linux.intel.com> wrote: Hi Don, Not sure what happened, maybe because of the attached script, this got scrubbed on my end. Can you resend possibly with the script in a zip file? Thanks Sau! On 07/17/2018 08:15 AM, Rowsell, Brent wrote: > Saul, > > Can someone provide some input on this ? > > Thanks, > > Brent > > *From:* Penney, Don [mailto:Don.Penney@windriver.com] > *Sent:* Monday, July 16, 2018 2:22 PM > *To:* 'starlingx-discuss@lists.starlingx.io' > <starlingx-discuss@lists.starlingx.io > <mailto:starlingx-discuss@lists.starlingx.io>> > *Subject:* [Starlingx-discuss] Adding packages to build .lst files > > Hi folks, > > We’ve got some packages to add to the build, and I’m wondering if > there’s some description of the various .lst files in > stxtools/centos-mirror-tools. For example, how do you decide whether a > package is listed in rpms_from_centos_repo.lst vs > rpms_from_centos_3rd_parties.lst? > > I started writing a script to pull together a list of the dependencies > based on Requires and BuildRequires. As I understand it, we need to add > all such dependencies, recursively, to these .lst files. Using the > StarlingX.repo config file as an arg to repoquery, I get some packages > overlapping with rpms_from_centos_3rd_parties.lst, however, so I’m > hoping there’s some clear direction with these files. My script is > finding hundreds of rpms to add to rpms_from_centos_repo.lst with its > calls to repoquery to resolve the dependencies, so either I’ve got lots > of overlap and many of these need to go to the 3rdparty file, my > repoquery approach for automating this is completely wrong, or these new > packages are using a completely different set of dependencies for the > builds than anything else we’ve got. > > I’ve attached the first draft of my script for anyone that’s curious. > > Thanks, > > Don. > > *Don Penney*, Developer, *Wind River* > _______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
participants (2)
-
Cordoba Malibran, Erich
-
Saul Wold