-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem creating giso for 7.11.2 #42
Comments
This error suggests that the |
The same happened here. The RPM and ISO were both downloaded at the same time from Cisco Software Central. The list of RPMs that are seen with different hashes is a long one. I believe g9306 has just provided a short excerpt. My list was at least long. Once I added the RPMs I need to the pkglist the list of RPMs that fail seemed somewhat shorter. |
Thank you both for raising this. It does appear that the optional RPMs published alongside the ISO are indeed from a separate build of the same codebase. Since signatures on RPMs are intentionally different every time they will have hashes even if all the content is the same. We will republish the RPMs on Cisco Software Central to be from the same exact build as the ISO. To work around this issue you can, when building your GISO, remove the optional RPMs which already appear in the ISO from your repo directory, to avoid the conflict with the ones in the ISO. Some optional RPMs are included in the ISO by default. It is only any other ones that you might need to add in when creating your GISO. So the ones you might want to have in your repo are the RPMs for these packages
|
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
...
The text was updated successfully, but these errors were encountered: