Skip to content
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

GISO build failed with tar files including sysadmin in repo and pkglist has list of tar file names #22

Open
skwsk opened this issue Nov 7, 2022 · 1 comment

Comments

@skwsk
Copy link

skwsk commented Nov 7, 2022

When put tar files under repo and pkglist specify list of tar file name, if the it has sysadmin SMU tar file, the GISO build for eXR failed. I think validate_and_return_list() in gisobuild_exr_engine.py require similar logic for "if pkg.endswith('.tar'):" as "elif pkg.endswith('.rpm'):" to treat sysadmin SMUs.

The below is error message. I've put some debug lines so the line numbers in below error are not aligned with original source code.

Traceback (most recent call last):
  File "/opt/giso/./gisobuild/src/gisobuild.py", line 532, in <module>
    main()
  File "/opt/giso/./gisobuild/src/gisobuild.py", line 528, in main
    execute_build(cli_args)
  File "/opt/giso/gisobuild/src/exrmod/isotools_exr.py", line 40, in execute_build
    system_build_main (cli_args, infile)
  File "/opt/giso/gisobuild/src/exrmod/gisobuild_exr.py", line 193, in main
    rpm_db.populate_rpmdb(fs_root, argv.rpmRepo, pkglist,
  File "/opt/giso/gisobuild/src/exrmod/gisobuild_exr_engine.py", line 703, in populate_rpmdb
    self.tmp_smu_repo_path, repo_files = Rpmdb.validate_and_return_list(platform, repo_paths, pkglist)
  File "/opt/giso/gisobuild/src/exrmod/gisobuild_exr_engine.py", line 551, in validate_and_return_list
    result = run_cmd(cmd)
  File "/opt/giso/gisobuild/src/exrmod/gisobuild_exr_engine.py", line 114, in run_cmd
    raise RuntimeError("Error CMD=%s returned --->%s" % (cmd, out))
RuntimeError: Error CMD=rpm -qpR /opt/giso/output/R08_ISO_01/tmppo67pzdn/ncs5500-sysadmin-hostos-7.2.1.1-r721.CSCvv89835.host.arm.rpm | grep -e ncs5500 | grep  ' = ' returned --->warning: /opt/giso/output/R08_ISO_01/tmppo67pzdn/ncs5500-sysadmin-hostos-7.2.1.1-r721.CSCvv89835.host.arm.rpm: Header V4 RSA/SHA256 Signature, key ID 5746bd08: NOKEY
@skwsk skwsk changed the title GISO build with tar files including sysadmin in repo doesn't work GISO build failed with tar files including sysadmin in repo and pkglist has list of tar file names Nov 7, 2022
@cmohapat
Copy link
Collaborator

Ack. we will fix and update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants