Mailinglist Archive: yast-devel (26 mails)

< Previous Next >
Re: [yast-devel] YAST_IS_RUNNING possible values????
On Thu January 10 2013 10:46:01 Lukas Ocilka wrote:
On 01/10/2013 10:24 AM, Arvin Schnell wrote:
On Wed, Jan 09, 2013 at 05:13:45PM -0700, Roberto Angelino wrote:
Yast Gurus,

I have a question from my customer about this variable and what
possible values & their meaning are? Do we have any
documentation available?

Possible values set by YaST are "yes" and "instsys". One place
where the variable is used is parted: It behaves different during
filesystem resize if it's set. AFAIR some RPM macros also use it.

I'm not aware of any documentation.

According to this bugreport
https://bugzilla.novell.com/show_bug.cgi?id=639579

it can also be

YAST_IS_RUNNING=1

which is then used by parted.

In fact the patch
http://bugzillafiles.novell.org/attachment.cgi?id=389782 says:

int always_resize = getenv( "YAST_IS_RUNNING" ) != NULL;

which means it can actually be anything (also "yes" / "1")

According to
https://build.opensuse.org/package/view_file?file=rpm-suse_macros&package=r
pm&project=openSUSE%3AFactory%3APowerPC&rev=90aa982d51941b1f56f22cc8fb540f7
0

There is a special handling for case when

"$YAST_IS_RUNNING" != "instsys"

HTH
Lukas

And kiwi uses YAST_IS_RUNNING=true according to
https://github.com/openSUSE/kiwi/blob/master/modules/KIWIManagerZypper.pm

Cheers,
Thomas

--
Thomas Goettlicher
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer,
HRB 16746 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >