ios-xr / gisobuild

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

Problem creating giso for 7.11.2 #42

Open g9306 opened 1 week ago

g9306 commented 1 week ago

I'm running into an issue where the script is seeing different hashes when comparing the rpm in the repo to the rpm in the output_gisobuild/ directory:

python3 gisobuild.py --iso /home/admin/7.11.2iso/ncs540l-x64-7.11.2.iso --repo /home/admin/7.11.2repo/ --clean Building GISO... Gisobuild script failed, see /home/admin/gisobuild/src/output_gisobuild/logs/gisobuild.log for more info: Packages have been found in multiple locations with different hashes: These RPMs for xr-track-n540x-16z8q2c-7.11.2v1.0.0-1.x86_64 are not identical: /home/admin/gisobuild/src/output_gisobuild/giso/groups/group.main/packages/xr-track-n540x-16z8q2c-7.11.2v1.0.0-1.x86_64.rpm, /home/admin/7.11.2repo/xr-track-n540x-16z8q2c-7.11.2v1.0.0-1.x86_64.rpm These RPMs for xr-track-n540x-16z4g8q2c-7.11.2v1.0.0-1.x86_64 are not identical: /home/admin/gisobuild/src/output_gisobuild/giso/groups/group.main/packages/xr-track-n540x-16z4g8q2c-7.11.2v1.0.0-1.x86_64.rpm, /home/admin/7.11.2repo/xr-track-n540x-16z4g8q2c-7.11.2v1.0.0-1.x86_64.rpm These RPMs for xr-track-n540x-12z16g-7.11.2v1.0.0-1.x86_64 are not identical: /home/admin/gisobuild/src/output_gisobuild/giso/groups/group.main/packages/xr-track-n540x-12z16g-7.11.2v1.0.0-1.x86_64.rpm, /home/admin/7.11.2repo/xr-track-n540x-12z16g-7.11.2v1.0.0-1.x86_64.rpm ...

NeilKetley commented 1 week ago

This error suggests that the xr-track-n540x-16z8q2c-7.11.2v1.0.0-1.x86_64 RPM in the ncs540l-x64-7.11.2.iso ISO and the RPM of the same name and version in /home/admin/7.11.2repo/ are different. Although you don't need the xr-track-n540x-16z8q2c-7.11.2v1.0.0-1.x86_64 RPM in /home/admin/7.11.2repo/ to create your Golden ISO it would be good to understand where the RPM came from any why it is different from the one in the ISO.