On Sun, Jan 13, 2013 at 12:40 PM, Matwey V. Kornilov <matwey.kornilov@gmail.com> wrote:
OBS may run %post during checks after the actual build.
Is the way to say OBS "forget about this code and don't run it. I will care about it" ?
Please, show us your logs.
This project located on my own OBS, but I can reproduce it at some test package: OBS Log: https://build.opensuse.org/package/live_build_log?arch=i586&package=fpns&project=home%3AAlexander_Naumov&repository=openSUSE_12.2 Spec: https://build.opensuse.org/package/view_file?expand=1&file=funnyPNS.spec&package=fpns&project=home%3AAlexander_Naumov On Mon, Jan 14, 2013 at 11:25 AM, Henne Vogelsang <hvogel@opensuse.org> wrote:
Hey,
Hey Henne,
On 13.01.2013 00:18, Alex Naumov wrote:
can somebody remind me how to add some piece of code to spec that will *NOT* run during the build process (I need it at installation only). As I remember, it was %post... but OBS run %post during the build.
It installs packages after the build succeeds. RPM runs %post during that install, of course. So whatever you have in %post runs only during package installation....
The problem is that I need to run curl and check configuration of some components in the system. I want to automate the configuration process: package will configure itself after installation. I know how to do this, but OBS should ignore (don't run) this piece of code.
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org