http://bugzilla.suse.com/show_bug.cgi?id=983529 Bug ID: 983529 Summary: Document use or remove if possible: Variable $YAST_IS_RUNNING Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: trenn@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- '$YAST_IS_RUNNING" != "instsys" is used in some rpm .spec %post sections It is also used in: /usr/lib/rpm/suse_macros I would like to know when and why it is used because I need to add: %regenerate_initrd_post in some packages %post section. And especially there it is often embedded into: if [ "${YAST_IS_RUNNING}" != "instsys" ]; then if [ -e %{_localstatedir}/lib/no_initrd_recreation_by_suspend ]; then echo "Skipping recreation of existing initial ramdisks, due" echo "to presence of %{_localstatedir}/lib/no_initrd_recreation_by_suspend" %regenerate_initrd_post ... But this seem to be old and I wonder what for or whether it is needed at all anymore. -- You are receiving this mail because: You are on the CC list for the bug.