Mailinglist Archive: yast-devel (26 mails)

< Previous Next >
Re: [yast-devel] YAST_IS_RUNNING possible values????
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=rpm&project=openSUSE%3AFactory%3APowerPC&rev=90aa982d51941b1f56f22cc8fb540f70

There is a special handling for case when

"$YAST_IS_RUNNING" != "instsys"

HTH
Lukas

--

Lukas Ocilka, Cloud & Systems Management Department
SUSE LINUX s.r.o., Praha
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups