%post and sub packages
Jason Pyeron
jpyeron at pdinc.us
Sat Apr 25 17:18:10 UTC 2009
The answer seems to be it depends on the %post flavor you are using.
So far these work:
%post -p /sbin/ldconfig
%post
/sbin/ldconfig
%post subpackage
/sbin/chkconfig --add %{name}
This does not work:
%post subpackage -p "/sbin/chkconfig --add %{name}"
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.
> -----Original Message-----
> From: rpm-list-bounces at lists.rpm.org
> [mailto:rpm-list-bounces at lists.rpm.org] On Behalf Of Jason Pyeron
> Sent: Saturday, April 25, 2009 12:48
> To: rpm-list at lists.rpm.org
> Subject: %post and sub packages
>
> Can I get a %post script per sub package? Or am I stuck with
> the script on the main package only?
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> - -
> - Jason Pyeron PD Inc. http://www.pdinc.us -
> - Principal Consultant 10 West 24th Street #100 -
> - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
> - -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
More information about the Rpm-list
mailing list