|
From: | Stuart Hughes |
Subject: | Re: [Ltib] %post spec section not expanded in rpm |
Date: | Fri, 12 Jun 2009 08:43:09 +0100 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080707) |
Hi Alex,I recently updated ltib so it adds --noscripts to the rpm install/erase commands. This has the effect of not running and pre/post preun/postun scripts in the spec file. I suspect that when you query the installed package these are now not recorded and so you see no output.
This is deliberate as another user correctly pointed out this is a security risk. I should also mention that there are few instances where running these scripts makes sense.
What are you trying to do, maybe there's another way to do this. Regards, Stuart Badicioiu Alexandru wrote:
Hi, I'm trying to use %post section in an package spec file, but the corresponding script is not expanded in the generated rpm file. Does anybody know why it doesn't work? The spec file is the one from dist/lfs-5.1/hello/hello_mod.spec with an added %post section. Doing an /opt/freescale/ltib/usr/bin/rpm -qp --scripts on the rpm file shows no scripts are present. Thank you. _______________________________________________ LTIB home page: http://bitshrine.orgLtib mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/ltib
[Prev in Thread] | Current Thread | [Next in Thread] |