ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/AutoinstDrive.ybc

YaST bytecode 1.4.0
AutoinstDrive:AutoinstDrive.ycpautoinstall/types.ycp
PartitionT	DriveT	AutoinstPartPlanT	DialogT
autoinstall/common.ycpAutoinstStorage
currentDialog
	stack

currentEventreplacement_point
dialogs	

	addDialog	

symbol2string	

string2symbol
	
toItemList	updateCurrentDialog
		getDialog
	prepareStackcallDialogFunction

eventHandled
getTypePrefix		stripTypePrefix		removePrefix				addPrefix			autoinstall/tree.ycpsTree
iTreesetTreecurrentTreeItem	isContainedInTree
 termContains
!selectTreeItem	"createTreeNode		#AutoinstCommon$AutoinstPartition%fields	&_id'	diskTypes
(isValidDiskType
)set			*new		
+isDrive	,isField	-hasValidType	.areEqual		/getNodeReference		0getNodeName		1
createTree	2getPartition		3getPartitionCount	4getNextAvailablePartitionNumber	5addPartition			6updatePartition			7removePartition		8
parseDrive	9Export	
))>drive	field	value**Iname	type
++Vdrive	,,Yfield	--\field	value.._d1	d2	//mdrive	00drive	
enableHTML11drive	22drive	idx33drive	44drive	55drive		partition	66drive	idx	partition	772drive	idx88Ldrive99gdrive	B3UIChangeWidget

QueryWidget

1autoinstall/types.ycp0
autoinst#
PartitionT	#
DriveT	#AutoinstPartPlanT	#DialogT
2AutoinstDrive.ycp1
autoinstall/common.ycp0
autoinst1autoinstall/types.ycp3AutoinstStorage$
$	
$

$rp$
%
name	dialog


& 	
	
	
add%#s


($4$
-%-'			substring			tostring	%)s	

-*
symbolof
toterm%-sList	

-.		maplists	
itemid%2
dialogType	

&3

-4%8
dialogType	

-9

%<
,@	
y2milestone	
prepareStack(): NOT IMPLEMENTED%Ddialog
function

functionTerm
$E(F4F
,G	
y2milestone	
calling function: '%1'->'%2'.	typeUnknown,Ieval4K
,L	
y2milestone	
Function not found: '%1'->'%2'.	typeUnknown%T
&U

%[item	

(\&&4\
-]			substring				findfirstof		_-_%eitem	

(f&&4f
-g			substring		+		findfirstof		_-i%ms	prefix	
result	
$n&o					regexpsub				+			(.*)\1(p4p
-q-s%xs	prefix	

-y+			2AutoinstDrive.ycp1autoinstall/tree.ycp1
autoinstall/common.ycp$
tree$id%newTree,Items%- 
Value%1 ts
argsfound(3
symbolof
43-4$7argsof$8,9foreache(:4:&; (<4<.=(@4@&A(B4B.C(F&&

4G&H.I-L%Vs
treefound$W,Xforeachitem(Y 4Y&Z.[-^%g!newItem	item
allItems$h$i	&jItems(k4k,lCurrentItem-m,o	
	y2warning	
Item '%1' not found in tree,p	
y2debug	

Tree was '%1'-q%{"	reference	name	childrenresult$|Empty(}size4}&~itemid4&itemid,	
y2milestone	
new node: '%1'-2AutoinstDrive.ycp3AutoinstCommonset				isValidField		
isValidObject		hasValidType		areEqual		3AutoinstPartitionisPartition	
createTree		parsePartition	exportPartition		0autoinst$%
_iddevice
initialize
partitionspesizetypeCT_DISKuseall$(&$*'	CT_DISKCT_LVMCT_MDCT_NFS%3(type
-4

contains'%>)-?%%I*result	(J!(4J,K	
	y2warning	
.Invalid disk type: '%1'. Defaulting to CT_DISK&LCT_DISK$N)))%device_id&type&O&+&-P%V+-W%%Y,-Z%%\--]%%_.-`%m/dev_idref	$n_id$odrive_(p
typeCT_DISKCT_DISK4p&q	volgroup_-s+				tostring	%0nodeName	description		driveType
$	device(4&		
sformat		
	<b>%1</b>$ - Driveautoinst$
typeCT_DISK(CT_DISK4& - Volume groupautoinst&+			+			, CT_4useTypeDesc	$
initialize
initializereuse(4&		
sformat		
%1 to be %2d4&		
sformat		
%1 , %2-+			%1
partitions	partitionTermspart_iddriveRef	$
partitions	$	$$/(size4,		foreachp	&add&+-"0%2result	$
(+4partList	$
partitions	&
	4,	
y2error	
Invalid drive: '%1'.-%3-size
partitions	%4usedPartitionNumbersnewPartitionNumber$	,		foreachpart	
partitions	partitionNumber$partition_nr(4&add$)contains4&+-%5(4
partitionList	$
partitions	&			add-			add
partitions4,	
y2error	
No valid partition: '%1'%6(+4(4
partitionList	$
partitions	(size4'-			add
partitions4,	
y2error	
9Index '%1' out of bounds. Drive has only '%2' partitions.size4,	
y2error	
No valid partition: '%1'.4",#	
y2error	
No valid drive '%1'.-%%27(3+43
partitionList	$4
partitions	(5size45&6		remove-7			add
partitions49,:	
y2error	
QCannot remove partition '%1', index out of bounds. Drive has only '%2' partitionssize4>,?	
y2error	
5Cannot remove partition '%1' from invalid drive '%2'.%L8newDrive	$M*auto
typeCT_DISK&N)device	deviceauto&O)
initialize
initialize&P)use	useall&Q)pesize	pesize,Rforeachpart
partitions	newPart	$S(T4T&U54W,X	
y2error	
'Couldn't construct PartitionT from '%1'-[%g9exportDrive$i			remove_id'kuse
useEmpty'm
partitions				maplistpart	
partitions	-q

ACC SHELL 2018