Re: How to pass runtime argument on RPM installation?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi 

I have a customized rpm which will be shared by different applications, when I do a rpm install , I want to pass the app userid and groupid at install time so that directories /files installed by rpm will be owned by the app ids which I pass . 

The idea is to make it work on a single shot both installation and permissions applying. 

Note : we have different ids owned by different applications

Any suggestions on this will be helpful.

Regards, 
Mohan

On Fri, 26 Jun 2020, 2:30 pm Igor Raits, <ignatenkobrain@xxxxxxxxxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Fri, 2020-06-26 at 14:22 +0530, Mohankumar S wrote:
> Hi,
>
> I want to pass a runtime argument while installing a rpm .
> say like rpm -ivh sample. rpm "hello".
> I want to read the argument and make use of it while installing it.
>
> Any help would be appreciated.

You can't. Neither you should. What's your use-case?

> Regards,
> Mohan
> _______________________________________________
> packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to
> packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx
- --
Igor Raits <ignatenkobrain@xxxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEcwgJ58gsbV5f5dMcEV1auJxcHh4FAl71uSAACgkQEV1auJxc
Hh5deg/8CZ++IF85oRrIzYWT6mm+QhccgaXDouuk+9vyS6jRpduAmP4V4kZVGTk6
85TGy6bO4OhU3GPUnWYoWh7BidSHi6PBgxu6jnKgYJTGAZ/RNZ8vbM6VT4bREI/e
wM1WdIaf2i5dxtjtzcH0Lm+/+RL7bDL4T37qCanGPR2PvhRXnPIhOpOAwsR1HZYv
EKatxPJyBefjeQYqG46vgb2nhNEAw6CGUfVZWRdT75ILnhmr7JGhWOUG94QI6f5I
s8Aqj5yNbYE2XTQ790i1rXn87fIN6sltncYsXBnDH0oOyTf45gwLu9AU8rJB9i5x
N3kljIB2HWqLmNnafo7oai+lDqYps8FFrN4dnobWUFKqWxm9Guw+WfTtC/rMI8aq
136bHlnNZi3HGH48EKkqdtOWKz0pcsFIFcpoM5U73VHUazLqEe39nHbn6zIlWERF
EY8kl8vDO+FISin2XxVADEqcLEoKsUvUcR+gWqOOoL2rdA8v0Zy9zej+lUa9cx8D
NDiXtKAlJFFvk/+UcJpJ5Mx9ywG1ESodQ9MKcwVhfb98/6I7H6PdjrbIHfYP2GK0
Di+thu3850utLN8nDX8pc/hQ5NMFmtARuisDhw2aKalzyTwEhEkYybn1eD4IfMCX
+mPD7UeankcSnGuzBBQzFPxxeZ/1iN9QWRxEgo41Gt5+AguQf4U=
=jxMM
-----END PGP SIGNATURE-----
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux