ACC SHELL

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

YaST bytecode 1.4.0ImageInstallationHImageInstallation.ycpInstallationXMLProgressReportStringArchPackageCallbacksPopup		SlideShow
ProductControlProductFeaturesPackages

PackagesUI_repoSetRepoInitRepo_images		_image_order	_metadata_image	_image_path	_mounted_images	images_details		_current_image	_checkpoint_record_sizelast_patterns_selected	changed_by_userimage_installation_available
debug_modeThisIsADebugModeSwMgmtImage	 
ImageOrder	!GetCurrentImages		"AddImage			#RemoveTemporaryImage	$tar_image_progress%SetDeployTarImageProgress&download_image_progress'SetDownloadTarImageProgress(start_download_handler		)SetStartDownloadImageProgress		*generic_set_progress	+SetOverallDeployingProgress	,DeployTarImage		-
DeployFsImage		.MountFsImage		/_current_image_from_imageset0	TotalSize1SetCurrentImageDetails	2GetCurrentImageDetails	3_DeployImage		4DeployImage		5DeployImageTemporarily		6CleanTemporaryImage		7FillUpImagesDetails8DeployImages		9CountMatchingPatterns		:EnoughPatternsMatching;FindImageSet	<ImagesToUse=FileSystemCopy		>all_supported_types
?
objects_state
	@progress_layoutAGetProgressLayoutDetails		BGetProgressLayoutLabel		CAdjustProgressLayout		DStoreAllChangesEProceedWithSelected	
FRestoreAllChangesGFreeInternalVariables-repoprw  %%tip''tip))sdi		++odp	002244id	target	55
id	target	66id	target	77%88limages	target	progress;;patterns	<<f=={from	to	progress_startprogress_finishAAid	details	BBid	CCid	steps_totallabel	DDFFsGGK3UI	PollInput3Pkg	CallbackProgressDownloadCallbackStartDownload		SourceReleaseAllSourceProvideDigestedFile		PkgSolveResolvableInstallArchVersion	
		ResolvableRemove	
ResolvableNeutral	
ResolvableProperties		
	3SCRReadExecute3Installation
image_onlyimage_installation3XMLXMLToYCPFile		3Progress3ReportError	3StringQuote		3Arch
arch_short	3PackageCallbacksRegisterEmptyProgressCallbacks RestorePreviousProgressCallbacks3PopupConfirmAbort
3	SlideShowSubProgress	
StageProgress	HandleInput3ProductControl3ProductFeaturesGetBooleanFeature		3Packages
theSources3 
PackagesUIRunPackageSelector
	0"installation$'%-&.,/	
y2milestone	
New images repo: %1%5(6-7,9$?
$D	$I$N/images$S	$_
$d
$i$n($p	$r$w$y%{(|4|&}globalsdebug_deploying,~	
y2milestone	
 ImageInstallation debug mode: %1-%-% -%!-%"name	file	type	'filetypename%#image	out$SCR::Execute.target.bash_output		
sformat		
 test -w '%1' && echo -n writable(||exit	stdout4,	
y2milestone	
+Releasing sources to remove temporary files,$$%%&$,	
y2milestone	
New tar_image_progress: %1$$&%'&&,	
y2milestone	
New download_image_progress: %1&$(%)&(,	
y2milestone	
New start_download_handler: %1($*%+&*,	
y2milestone	
New generic_set_progress: %1*%,id	target	file	image	cmd	outpidnewline	read_checkpoint_str	better_feeling_constantret	aborted
exitcode,$	file,	
y2milestone	
Untarring image %1 (%2) to %3&		
sformat		
%1/%2$(4,	
y2error	
File %1 not found on media-($,!$,	
y2milestone	
Creating target directory$		
sformat		
test -d %1 || mkdir -p %1$SCR::Execute.target.bash_output,	
y2milestone	
Executing %1 returned %2,	
y2milestone	
Untarring the image(		regexpmatch		.lzma$4&		
sformat		
\lzmadec < '%1' | tar --numeric-owner --totals --checkpoint=%3 --record-size=%4 -C '%2' -xf -(		regexpmatch		.xz$4&		
sformat		
Zxzdec < '%1' | tar --numeric-owner --totals --checkpoint=%3 --record-size=%4 -C '%2' -xf -4&		
sformat		
Ntar --numeric-owner --checkpoint=%3 --record-size=%4 --totals -C '%2' -xf '%1',	
y2milestone	
Calling: %1$SCR::Execute.process.start_shell$$&^tar: Read checkpoint ([0123456789]+)$$ $"$#	)%	SCR::Read.process.running4%&&		SCR::Read.process.read_line_stderr((4(()!		regexpmatch		4),*	
y2milestone	
Deploying image: %1/+&.					regexpsub				\1(0||/1(3$,4!$+	tointeger45&6(7||abortcancel47(8unusable48,9	
	y2warning	
Aborted!&:	.;4=,>,?sleep$F
	SCR::Read.process.status(H&&

4H,I	
y2milestone	
3Deploying has failed, exit code was: %1, stderr: %2
	SCR::Read.process.read_stderr&M	,P	
y2milestone	
Finished(R	-S(V$,W!$d,Y#-[exit%d-id	target	file	image	tmpdir	cmd	out,e$g	file,h	
y2milestone	
 Deploying FS image %1 (%2) on %3&i		
sformat		
%1/%2$l(n4o,p	
y2error	
File %1 not found on media-q,t	
y2milestone	
Creating temporary directory$u+					SCR::Read.target.tmpdir		
sformat		

/images/%1$v		
sformat		
test -d %1 || mkdir -p %1$wSCR::Execute.target.bash_output,x	
y2milestone	
Executing %1 returned %2,z	
y2milestone	
Mounting the image&{		
sformat		
mount -o loop %1 %2&|SCR::Execute.target.bash_output,}	
y2milestone	
Executing %1 returned %2,	
y2milestone	
Creating target directory&		
sformat		
test -d %1 || mkdir -p %1&SCR::Execute.target.bash_output,	
y2milestone	
Executing %1 returned %2,	
y2milestone	
Copying contents of the image&		
sformat		

cp -a %1/* %2&SCR::Execute.target.bash_output,	
y2milestone	
Executing %1 returned %2,	
y2milestone	
)Unmounting image from temporary directory&		
sformat		
umount -d -f -l %1&SCR::Execute.target.bash_output,	
y2milestone	
Executing %1 returned %2,#-exit%.id	target	file	image	cmd	out
,$	file,	
y2milestone	
Mounting image %1 (%2) on %3&		
sformat		
%1/%2$(4,	
y2error	
File %1 not found on media-$		
sformat		
test -d %1 || mkdir -p %1$SCR::Execute.target.bash_output,	
y2milestone	
Executing %1 returned %2&		
sformat		
mount -o loop %1 %2&SCR::Execute.target.bash_output,	
y2milestone	
Executing %1 returned %2-exit$/%0sum$,	
y2milestone	
.Computing total images size from [%1], data %2,		foreachimage	&+size,	
y2milestone	
Total images size: %1-%1img	&/+/(size4,	
	y2warning	
Images details are empty&file	filename	namesize	filesizefiles	filefilesmax_progress	tointeger/	filesizeimage_nr/%2-%3id	target		temporaryimg	type	$
	(
4,	
y2error	
Image %1 does not exist$	type,1(fs-.-(tar-,,	
y2error	
Unknown type of image: %1-%4,	
y2milestone	
Deploying image %1 to %2-3%
5,	
y2milestone	
%Temporarily delploying image %1 to %2-3%6,	
y2milestone	
'UnDelploying temporary image %1 from %2(	typefs4cmd	out$		
sformat		
	umount %1$SCR::Execute.target.bash_output,	
y2milestone	
Executing %1 returned %2-exit,	
y2milestone	
 Cannot undeploy image of type %1	type-%%7filename	possible_files	read_details	
,&()4),*	
	y2warning	
No images-repository defined-+$/$1		
sformat		
%1/details-%2.xml			
sformat		
%1/details.xml,6		foreachtry_file	&9(;&&4;,<	
y2milestone	
Using details file: %1 (%2).=(A4A,B	
y2milestone	
#No image installation details found-C$F(G4G,H	
y2error	
Cannot parse imagesets details-I(L!haskeydetails4L,M	
	y2warning	
 No images details in details.xml-N&Q
,Sforeachimage_detaildetails	file	filesisize$T	file(V||-V$X	tointeger	files0$Y	tointeger	size0'[filessize,b	
y2milestone	
Details: %1-c%l8numaborted,n
,q7(t&,u&(x(,y(${&|/$},		foreachimg	&+(,!(44&,	
y2milestone	
Aborting....(,!d(4-(&,,
-%9imageset_patterns	installed_patterns	ret$,		foreachone_installed_pattern	(		contains&+-%:matching_patternspatterns_in_imagesets(||-(||--%;	filename	image_descr	
image_sets	result	possible_patterns		matching_patterns	patterns_in_imagesets	
arch_short	last_pattern	 ,&
&	&$		
sformat		

%1/images.xml(4&&&,	
y2milestone	
%Image list for installation not found-$(4&&&,4Failed to read information about installation imagesinstallation-&$
image_sets	,	
y2debug	
Image set descriptions: %1$
$
$
$
$	,	
y2milestone	
Current architecture is: %1&			filterimage	imageset_archs	$			splitstring				archs ,(size4-4(		contains4-4,	
y2milestone	
%Filtered-out, Patterns: %1, Archs: %2	patterns	archs-,		foreachimage	pattern	imageset_patterns	$	patterns$			splitstring			, 'size(	size4	'
4'
9(4'4,	
y2milestone	
(Filtered-out, Patterns: %1, Matching: %2	patterns,	
y2debug	
 Matching patterns: %1, sizes: %2$(size4 last_number_of_matching_patterns$& ,"				foreachpattern	image	(#&&:4)&*&+&,,1	
y2milestone	

Result: %1/%2(4
44&5&6,7	
y2milestone	
No image for installation found-8&<(>haskey	pkg_image4>&?		pkg_image4@&A,E				foreachimg		images	(Gfile	4G,H	
y2error	
No file defined for %1-I&L			addfile	,M"name	file	type	,P	
y2milestone	
Image-only installation: %1,Q	
y2milestone	

Images: %1,R	
y2milestone	
Image installation order: %1(T!,U	
y2milestone	
+Image with software management metadata: %1-W%f<ret$g
(i4i&jdeploying_enabledimages!4n'odeploying_enabled-r%{=	cmd	out	total_str	total_mb	tmp_pipe1		tmp_pipe2	processpid	copy_result$		
sformat		
du -x -B 1048576 -s %1,	
y2milestone	
Executing %1$SCR::Execute.target.bash_output,	
y2milestone	

Output: %1$	stdout$	tointeger(&**$+					SCR::Read.target.tmpdir/system_clone_fifo_1$+					SCR::Read.target.tmpdir/system_clone_fifo_2&		
sformat		
mkfifo %3 ;
	 mkfifo %4 ;
	 tar -C %1 --hard-dereference --numeric-owner -cSf %3 --one-file-system . &
	 dd bs=1048576 if=%3 of=%4 >&2 &
	 jobs -l >&2;
	 tar -C %2 --numeric-owner -xSf %4,	
y2milestone	
Executing %1$SCR::Execute.process.start_shell
$)	SCR::Read.process.running4done	line	$$		SCR::Read.process.read_line_stderr)4(4(!		regexpmatch				
sformat		
dd bs=1048576 if=%1 of=%2&4&					regexpsub				([0-9]+) [^ 0-9]+ +dd\1,	
y2milestone	
DD's pid: %1,sleep(		regexpmatch		^[0-9]+ &					regexpsub				
^([0-9]+) \1,	
y2debug	
Done: %1&		SCR::Read.process.read_line_stderr(4&		
sformat		
/bin/kill -USR1 %1,	
y2debug	
Executing %1,SCR::Execute.target.bash,sleep,(4progress$+///*-	tointeger,	
y2debug	
Setting progress to %1,,///*-	tointeger$	SCR::Read.process.status,	
y2milestone	

Result: %1,SCR::Execute.target.remove,SCR::Execute.target.remove&		
sformat		
0chown --reference=%1 %2; chmod --reference=%1 %2,	
y2milestone	
Executing %1&SCR::Execute.target.bash_output,	
y2milestone	

Result: %1-&&exit$>	packagepatch$?
$@
deploying_images
steps_reservedTsteps_start_atrestoring_user_prefs
steps_reserved
steps_start_atZstoring_user_prefs
steps_reservedsteps_start_at%A-@%B-@labelDeploying...installation%C(!haskey@4,	
y2error	
Unknown key: %1-'@label'@steps_total%Dnr_stepsid	$*size>$storing_user_prefs,CStoring user preferences...installation(*,!*,

foreachone_type
>resolvable_properties	remove_resolvables	install_resolvables	taboo_resolvables	lock_resolvables	$'?
$			filter
one_object	
statusunknownremoved'?remove(*,!*$			filter
one_object	
statusunknownselected'!?install(#*,$!*$&			filter
one_object	&&
statusunknown	availablelocked')?taboo(+*,,!*$.			filter
one_object	&&
statusunknown	installedlocked'1?lock(3*,4!*(747,9
	
	foreachobject_type
objects_status	?,:		foreach
one_status	list_of_objects,;	
y2milestone	
4Object type: %1, New status: %2, List of objects: %3%DE
one_object	one_type
arch	resolvable_properties	ret$G	arch$I	name-x-	version-x-(M,N	
y2milestone	
Looking for %1 returned %2&Q			filterone_resolvable	&&
statusunknown	installed	arch(U,V	
y2milestone	
Resolvables installed: %1$X([size4[,\	
y2milestone	
/Resolvable type: %1, name: %2 already installed	name-x-,^	name-x-&`4b,c	
y2milestone	
&Installing type: %1, details: %2,%3,%4	name	arch	version,f	name	arch	version&h-k%sFnr_stepsid	ret$t*size>$urestoring_user_prefs,wCRestoring user preferences...installation(y*,z!*,|

foreachone_type
>resolvable_properties	
to_install	"selected_for_installation_pkgnames	selected_for_installation		 one_already_installed_resolvable		$}$			filterone_resolvable	
statusunknownselected(*,!*$		maplistone_resolvable?install		name$				maplistone_resolvable?install	arch	archname	nameversion	version(*,!*$
,		foreachone_resolvable	(&&
statusunknown	installed
statusunknownselected4-&arch	archname	nameversion	version(!				contains4(		contains	name-x-4,	
y2milestone	
+Not Removing type: %1, name: %2 version: %3	name-x-	version-x-4,	
y2milestone	
'Removing type: %1, name: %2 version: %3	name-x-	version-x-,	name-x-(*,!*,		foreachone_to_install	,E  (*,!*&?
(4,	
y2milestone	
 Dependencies solved atomatically-,Installation was unable to solve package dependecies automatically.
Package manager will be opened for you to solve them manually.installation$)4diaret
,	
	y2warning	
;Cannot solve dependecies automatically, opening Packages UI$
enable_repo_mgrmodesummaryMode,	
y2milestone	
RunPackageSelector returned %1(cancel4&(unusable4,	
	y2warning	

User abort..../4&.,	
y2milestone	
Dependencies solved: %1-%G&	&
&	&
&	

ACC SHELL 2018