Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] building condor rpm metapackage (to avoid circular dependencies)
- Date: Wed, 21 Feb 2024 11:52:35 +0100
- From: Benoit Roland <benoit.roland@xxxxxxx>
- Subject: Re: [HTCondor-users] building condor rpm metapackage (to avoid circular dependencies)
Dear all,
to have the condor version with my Helmoltz AAI CredMon installed on
our login node, I need to run the command:
yum install -y
condor-credmon-mytoken-23.5.0-0.202402200404.el8.x86_64.rpm
condor-23.5.0-0.202402200404.el8.x86_64.rpm
python3-condor-23.5.0-0.202402200404.el8.x86_64.rpm
because of the circular dependency between the packages.
This was fine for my test setup.
But I would like to deploy this condor version via puppet, and
puppet can not handle packages with circular dependencies.
That's the reason why I was asking, if there exists some condor.spec
file producing a condor metapackage, like the one I would access
from the condor repo?
Thanks a lot in advance for your help!
Cheers,
ben
On 20/02/2024 15:26, Benoit Roland
wrote:
Dear all
IÂsuccessfullyÂbuildÂ23.5.0ÂcondorÂrpmsÂusingÂtheÂx86_64_AlmaLinux8-23050000Âcontainer
with the script [1],
addingÂtoÂtheÂexistingÂcode
someÂpluginsÂtoÂproduceÂ[2],ÂmonitorÂandÂrefreshÂ[3,4]ÂHelmhotzÂAAIÂaccessÂtokens.
AfterÂtheÂbuildingÂprocessÂusingÂthe modified condor.spec file
[5],ÂIÂretrieveÂtheÂrpmsÂlocallyÂand proceed with a yum install
with theÂfollowing rpms of interest for me:
yum install -y
condor-credmon-mytoken-23.5.0-0.202402200404.el8.x86_64.rpm
condor-23.5.0-0.202402200404.el8.x86_64.rpm
python3-condor-23.5.0-0.202402200404.el8.x86_64.rpm
This is working fine.
My question is about the creation of a metapackage.
Is there an available spec file that I could you use in order to
produce a single rpm?
Thanks a lot in advance for your answer and help!
Cheers,
ben
[1]
https://github.com/benoitroland/C4P-HTCondor/blob/devel_rhel8/c4p-condor-utils/build-c4p-condor.sh
[2]
https://github.com/benoitroland/C4P-HTCondor/blob/devel_rhel8/src/condor_credd/condor_credmon_oauth/condor_producer_mytoken
[3]
https://github.com/benoitroland/C4P-HTCondor/blob/devel_rhel8/src/condor_credd/condor_credmon_oauth/condor_credmon_mytoken
[4]
https://github.com/benoitroland/C4P-HTCondor/blob/devel_rhel8/src/condor_credd/condor_credmon_oauth/credmon/CredentialMonitors/MytokenCredmon.py
[5]
https://github.com/benoitroland/C4P-HTCondor/blob/devel_rhel8/build/packaging/rpm/condor.spec