ios-xr / gisobuild

Golden ISO build tool for ios-xr
Other
28 stars 14 forks source link

RPM packages missing from the giso. #40

Open Red86 opened 4 months ago

Red86 commented 4 months ago

Hi, I've built an iso using a repository that had around 50 RPMs in it. While the iso was built without any warning or error, the image installed on the router has significantly less RPMs than what it should have.

As an example: ncs5500-dpa-3.0.0.8-r7721.CSCwi35880.x86_64.rpm was inside of the repository but I cannot see that installed, when on the router I issue the "show install active summary" on the router I see:

Active Packages: 17 ncs5500-xr-7.7.21 version=7.7.21 [Boot image] libpci3-3.6.4.p1-r0.r7721.CSCwe49269.xr ncs5500-mpls-2.1.0.0-r7721 ncs5500-mpls-te-rsvp-3.1.0.0-r7721 ncs5500-ospf-2.0.0.0-r7721 ncs5500-mgbl-3.0.0.0-r7721 ncs5500-mcast-3.0.0.0-r7721 ncs5500-k9sec-3.1.0.0-r7721 ncs5500-infra-5.1.0.6-r7721.CSCwi09344 ncs5500-parser-2.0.0.1-r7721.CSCwf53989 ncs5500-iosxr-fwding-4.0.0.8-r7721.CSCwh79153 ncs5500-ospf-2.0.0.1-r7721.CSCwi08034 ncs5500-bgp-2.0.0.4-r7721.CSCwe14754 ncs5500-dpa-3.0.0.9-r7721.CSCwf98671 ncs5500-dpa-fwding-4.0.0.7-r7721.CSCwf57277 ncs5500-mpls-te-rsvp-3.1.0.1-r7721.CSCwe78378 ncs5500-os-support-4.0.0.2-r7721.CSCwi26163

and in admin:

ncs5500-sysadmin-7.7.21 version=7.7.21 [Boot image] libpci3-3.6.4.p1-r0.r7721.CSCwe49269.admin ncs5500-sysadmin-ncs5500-7.7.21.2-r7721.CSCwe59739 libpci3-3.6.4.p1-r0.r7721.CSCwe49269.host

Is the giso script skipping all RPMs not listed or, they're being merged into others? Could you please advise?

Thank you rpms_packaged_in_giso.txt gisobuild.log-2024-02-29%3A16%3A55%3A41.log

NeilKetley commented 4 months ago

It looks like ncs5500-dpa-3.0.0.9-r7721.CSCwf98671 is installed, which is a later version of the ncs5500-dpa package and would supersede ncs5500-dpa-3.0.0.8-r7721.CSCwi35880.x86_64.rpm.