YaST2 Developers Documentation: yast2



functions
files
intro

yast2

modules/Arch.ycp
Architecture, board and bios data

Global Functions

global architecture () -> string

General architecture type

global i386 () -> boolean

true for all x86 compatible architectures

global sparc32 () -> boolean

true for all 32bit sparc architectures

See:
sparc sparc64

global sparc64 () -> boolean

true for all 64bit sparc architectures

See:
sparc sparc32

global sparc () -> boolean

true for all sparc architectures (32 or 64 bit)

See:
sparc32 sparc64

global mips32 () -> boolean

true for all 32bit mips architectures

See:
mips mips64

global mips64 () -> boolean

true for all 64bit mips architectures

See:
mips mips32

global mips () -> boolean

true for all mips architectures (32 or 64 bit)

See:
mips32 mips64

global ppc32 () -> boolean

true for all 32bit ppc architectures

See:
ppc ppc64

global ppc64 () -> boolean

true for all 64bit ppc architectures

See:
ppc ppc32

global ppc () -> boolean

true for all ppc architectures (32 or 64 bit)

See:
ppc32 ppc64

global alpha () -> boolean

true for all alpha architectures

global s390_32 () -> boolean

true for all 32bit S/390 architectures

See:
s390 s390_64

global s390_64 () -> boolean

true for all 64bit S/390 architectures

See:
s390 s390_32

global s390 () -> boolean

true for all S/390 architectures (32 or 64 bit)

See:
s390_32 s390_64

global ia64 () -> boolean

true for all IA64 (itanium) architectures

global x86_64 () -> boolean

true for all x86-64 (AMD Hammer) architectures

global arch_short () -> string

General architecture type

global board_mac () -> boolean

true for all PPC "MacRISC" boards

global board_mac_new () -> boolean

true for all "NewWorld" power macs

global board_mac_old () -> boolean

true for all "OldWorld" power macs

global board_mac_nubus () -> boolean

true for all "NuBus" power macs

global board_chrp () -> boolean

true for all "CHRP" ppc boards

global board_iseries () -> boolean

true for all "iSeries" ppc boards

global board_prep () -> boolean

true for all "PReP" ppc boards

global board_wintel () -> boolean

true for all "Windows/Intel" compliant boards (x86 based)

global has_pcmcia () -> boolean

true if the system supports PCMCIA

global is_uml () -> boolean

true if UML

global setSMP (boolean is_smp) -> void

Set "Arch::has_smp ()". Since Alpha doesn't reliably probe smp, 'has_smp' must be set later with this function.

Parameters:
is_smp true if has_smp should be true
Example:
  setSMP(true);

global has_smp () -> boolean

true if running on multiprocessor board. This only reflects the board, not the actual number of CPUs or the running kernel!

global x11_setup_needed () -> boolean

run X11 configuration after inital boot this is false in case of: installation on iSeries installation on S390


YaST2 Developers Documentation