HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/tuned/plugins/__pycache__/plugin_bootloader.cpython-39.opt-1.pyc
a

@�Zhsc�@s�ddlmZddlTddlZddlmZddlmZddlm	Z	ddl
Z
ddlZddlZddl
mZej��ZGdd	�d	ej�ZdS)
�)�base)�*�N)�
exceptions)�commands)�sleepcs�eZdZdZ�fdd�Zdd�Zdd�Zedd	��Zd
d�Z	dd
�Z
dd�Zggfdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zdd�Zejfd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*d+�Zd,d-�Zd.d/�Zd0d1�Zd2d3�Zd4d5�Z d6d7�Z!d8d9�Z"d:d;�Z#d<d=�Z$e%d>�d?d@��Z&e%dA�dBdC��Z'e%dD�dEdF��Z(e%dGdHdIdJ�dKdL��Z)e%dMdHdIdJ�dNdO��Z*e%dPdHdIdJ�dQdR��Z+e%dSdHdIdJ�dTdU��Z,dVdW�Z-�Z.S)X�BootloaderPlugina.
	Adds options to the kernel command line. This plug-in supports the
	GRUB 2 boot loader and the Boot Loader Specification (BLS).

	NOTE: *TuneD* will not remove or replace kernel command line
	parameters added via other methods like *grubby*. *TuneD* will manage
	the kernel command line parameters added via *TuneD*. Please refer
	to your platform bootloader documentation about how to identify and
	manage kernel command line parameters set outside of *TuneD*.

	Customized non-standard location of the GRUB 2 configuration file
	can be specified by the [option]`grub2_cfg_file` option.

	The kernel options are added to the current GRUB configuration and
	its templates. Reboot the system for the kernel option to take effect.

	Switching to another profile or manually stopping the `tuned`
	service removes the additional options. If you shut down or reboot
	the system, the kernel options persist in the [filename]`grub.cfg`
	file and grub environment files.

	The kernel options can be specified by the following syntax:

	[subs="quotes"]
	----
	cmdline__suffix__=__arg1__ __arg2__ ... __argN__
	----

	Or with an alternative, but equivalent syntax:

	[subs="quotes"]
	----
	cmdline__suffix__=+__arg1__ __arg2__ ... __argN__
	----

	Where __suffix__ can be arbitrary (even empty) alphanumeric
	string which should be unique across all loaded profiles. It is
	recommended to use the profile name as the __suffix__
	(for example, [option]`cmdline_my_profile`). If there are multiple
	[option]`cmdline` options with the same suffix, during the profile
	load/merge the value which was assigned previously will be used. This
	is the same behavior as any other plug-in options. The final kernel
	command line is constructed by concatenating all the resulting
	[option]`cmdline` options.

	It is also possible to remove kernel options by the following syntax:

	[subs="quotes"]
	----
	cmdline__suffix__=-__arg1__ __arg2__ ... __argN__
	----

	Such kernel options will not be concatenated and thus removed during
	the final kernel command line construction.

	.Modifying the kernel command line
	====
	For example, to add the [option]`quiet` kernel option to a *TuneD*
	profile, include the following lines in the [filename]`tuned.conf`
	file:
	----
	[bootloader]
	cmdline_my_profile=+quiet
	----
	An example of a custom profile `my_profile` that adds the
	[option]`isolcpus=2` option to the kernel command line:
	----
	[bootloader]
	cmdline_my_profile=isolcpus=2
	----
	An example of a custom profile `my_profile` that removes the
	[option]`rhgb quiet` options from the kernel command line (if
	previously added by *TuneD*):
	----
	[bootloader]
	cmdline_my_profile=-rhgb quiet
	----
	====

	.Modifying the kernel command line, example with inheritance
	====
	For example, to add the [option]`rhgb quiet` kernel options to a
	*TuneD* profile `profile_1`:
	----
	[bootloader]
	cmdline_profile_1=+rhgb quiet
	----
	In the child profile `profile_2` drop the [option]`quiet` option
	from the kernel command line:
	----
	[main]
	include=profile_1

	[bootloader]
	cmdline_profile_2=-quiet
	----
	The final kernel command line will be [option]`rhgb`. In case the same
	[option]`cmdline` suffix as in the `profile_1` is used:
	----
	[main]
	include=profile_1

	[bootloader]
	cmdline_profile_1=-quiet
	----
	It will result in the empty kernel command line because the merge
	executes and the [option]`cmdline_profile_1` gets redefined to just
	[option]`-quiet`. Thus there is nothing to remove in the final kernel
	command line processing.
	====

	The [option]`initrd_add_img=IMAGE` adds an initrd overlay file
	`IMAGE`. If the `IMAGE` file name begins with '/', the absolute path is
	used. Otherwise, the current profile directory is used as the base
	directory for the `IMAGE`.

	The [option]`initrd_add_dir=DIR` creates an initrd image from the
	directory `DIR` and adds the resulting image as an overlay.
	If the `DIR` directory name begins with '/', the absolute path
	is used. Otherwise, the current profile directory is used as the
	base directory for the `DIR`.

	The [option]`initrd_dst_img=PATHNAME` sets the name and location of
	the resulting initrd image. Typically, it is not necessary to use this
	option. By default, the location of initrd images is `/boot` and the
	name of the image is taken as the basename of `IMAGE` or `DIR`. This can
	be overridden by setting [option]`initrd_dst_img`.

	The [option]`initrd_remove_dir=VALUE` removes the source directory
	from which the initrd image was built if `VALUE` is true. Only 'y',
	'yes', 't', 'true' and '1' (case insensitive) are accepted as true
	values for this option. Other values are interpreted as false.

	.Adding an overlay initrd image
	====
	----
	[bootloader]
	initrd_remove_dir=True
	initrd_add_dir=/tmp/tuned-initrd.img
	----
	This creates an initrd image from the `/tmp/tuned-initrd.img` directory
	and and then removes the `tuned-initrd.img` directory from `/tmp`.
	====

	The [option]`skip_grub_config=VALUE` does not change grub
	configuration if `VALUE` is true. However, [option]`cmdline`
	options are still processed, and the result is used to verify the current
	cmdline. Only 'y', 'yes', 't', 'true' and '1' (case insensitive) are accepted
	as true values for this option. Other values are interpreted as false.

	.Do not change grub configuration
	====
	----
	[bootloader]
	skip_grub_config=True
	cmdline=+systemd.cpu_affinity=1
	----
	====
	cs:tj�tj�st�d��tt|�j	|i|��t
�|_dS)Nz4Required GRUB2 template not found, disabling plugin.)�os�path�isfile�constsZGRUB2_TUNED_TEMPLATE_PATHrZNotSupportedPluginException�superr�__init__r�_cmd)�self�args�kwargs��	__class__��C/usr/lib/python3.9/site-packages/tuned/plugins/plugin_bootloader.pyr�s
zBootloaderPlugin.__init__cCsVd|_d|_d|_d|_d|_d|_d|_d|_|��|_	|�
�|_|��du|_
dS)NFT�)Z_has_dynamic_tuningZ_has_static_tuning�update_grub2_cfg�_skip_grub_config_val�_initrd_remove_dir�_initrd_dst_img_val�_cmdline_val�_initrd_val�_get_grub2_cfg_files�_grub2_cfg_file_names�_bls_enabled�_bls�_rpm_ostree_status�_rpm_ostree�r�instancerrr�_instance_init�s

zBootloaderPlugin._instance_initcCsdS�Nrr$rrr�_instance_cleanup�sz"BootloaderPlugin._instance_cleanupcCsdddddddd�S)N)�grub2_cfg_file�initrd_dst_img�initrd_add_img�initrd_add_dir�initrd_remove_dir�cmdline�skip_grub_configr)�clsrrr�_get_config_options�s�z$BootloaderPlugin._get_config_optionscCsr|jjddgdd�\}}}t�d||f�|dkr8dS|��}t|�dksX|dd	krjt�d
|�dS|dS)zW
		Returns status of rpm-ostree transactions or None if not run on rpm-ostree system
		�
rpm-ostree�statusT�Z
return_errz.rpm-ostree status output stdout:
%s
stderr:
%srN�zState:z2Exceptional format of rpm-ostree status result:
%sr)r�execute�log�debug�split�len�warning)r�rc�out�errZsplitedrrrr"�sz#BootloaderPlugin._rpm_ostree_statuscCs<d}d}t|�D]}|��dkr&dSt|�q|��dkS)z:Check that rpm-ostree is idle, allowing some waiting time.�
g�?ZidleT)�ranger"r)rZsleep_cyclesZ
sleep_secs�_rrr�_wait_till_rpm_ostree_idle�s
z+BootloaderPlugin._wait_till_rpm_ostree_idlecCs`|��st�d�dS|jjddgdd�\}}}|rBt�d|�|dkr\t�d	|�dS|S)
zPRetrieve the output of rpm-ostree kargs, i.e., current default kernel arguments.z2Error getting rpm-ostree kargs: rpm-ostree is busyNr2�kargsTr4zrpm-ostree kargs: %srz"Error getting rpm-ostree kargs: %s)rBr7�errorrr6r8)rr<r=r>rrr�_get_rpm_ostree_kargs�s
z&BootloaderPlugin._get_rpm_ostree_kargscCsj|��st�d�dS|jjddgdd�|D�dd�|D�dd	�\}}}|d
krft�d|�dSdS)z�
		Modify (delete and append) kernel arguments in a rpm-ostree system.
		Return a boolean indicating whether the operation was successful.
		z4Error modifying rpm-ostree kargs: rpm-ostree is busyFr2rCcSsg|]}d|�qS)z--delete=%sr��.0�kargrrr�
<listcomp>�z=BootloaderPlugin._modify_rpm_ostree_kargs.<locals>.<listcomp>cSsg|]}d|�qS)z--append=%srrFrrrrIrJTr4rz$Error modifying rpm-ostree kargs: %s)rBr7rDrr6)r�delete_kargs�append_kargsr<rAr>rrr�_modify_rpm_ostree_kargs�s
���z)BootloaderPlugin._modify_rpm_ostree_kargscCsH|����}g}|D]J}t|��d�r2|�|�q||vrH||||<qt�d||jjf�qd}|D]�}||}|dush|dkr�qh|d}|dd�}|dd��	�}	|dks�|d	kr�|d
vr�|	dkr�|d|	7}qh|dk�r|	dk�r(|	�
�D]$}
t�|
�}t�
d
|dd|�}q�qh|d|7}qh|�	�}|dk�rD||d<|S)zSMerge provided options with plugin default options and merge all cmdline.* options.r.z$Unknown option '%s' for plugin '%s'.rNrrr5�+�\)rOrN�-� rPz(\A|\s)z	(?=\Z|\s))r1�copy�str�
startswith�appendr7r;r�__name__�stripr9�re�escape�sub)r�optionsZ	effectiveZcmdline_keys�keyr.�val�opZop1Zvals�pZregexrrr�_get_effective_options
s:



z'BootloaderPlugin._get_effective_optionscCs*g}tjD]}tj�|�r
|�|�q
|Sr')rZGRUB2_CFG_FILESr	r
�existsrU)rZ	cfg_files�frrrr,s

z%BootloaderPlugin._get_grub2_cfg_filescCsH|jjtjdd�}t|�dkr2t�dtj�dStjd|tj	d�duS)NT�Zno_errorr�cannot read '%s'Fz=^\s*GRUB_ENABLE_BLSCFG\s*=\s*\"?\s*[tT][rR][uU][eE]\s*\"?\s*$��flags)
r�	read_filer�GRUB2_DEFAULT_ENV_FILEr:r7�inforX�search�	MULTILINE)r�grub2_default_envrrrr 3s��zBootloaderPlugin._bls_enabledcCs|j�tj|�Sr')r�add_modify_option_in_filer�BOOT_CMDLINE_FILE)r�drrr�_patch_bootcmdline<sz#BootloaderPlugin._patch_bootcmdlinecCs�|�tjdtjdi�|js*t�d�dS|jD]*}|jj|dtj	ddtj
didd�q0|jdur�t�d|j�|j�|j�dS)Nr�cannot find grub.cfg to patchzset\s+F)�addzremoving initrd image '%s')
rpr�BOOT_CMDLINE_TUNED_VAR�BOOT_CMDLINE_INITRD_ADD_VARrr7rirrm�GRUB2_TUNED_VAR�GRUB2_TUNED_INITRD_VARr�unlink)rrbrrr�_remove_grub2_tuning?s

(
z%BootloaderPlugin._remove_grub2_tuningcCs:|j�tj�}tjtjd|tjd�}|r6|d��SgS)z`Return the list of kernel arguments that were appended by this profile (in a rpm-ostree system).z	=\"(.*)\"rer)	rrgrrnrXrjrsrkr9)rrbZappendedrrr�_get_appended_rpm_ostree_kargsJsz/BootloaderPlugin._get_appended_rpm_ostree_kargscCs$|j|��d�|�tjdi�dS)z6Remove kernel parameter tuning in a rpm-ostree system.)rKrN)rMryrprrs�rrrr�_remove_rpm_ostree_tuningPsz*BootloaderPlugin._remove_rpm_ostree_tuningcCsP|tjkrL|jsL|jr*t�d�|��n"t�d�|��|�ddd��dS)Nz4removing rpm-ostree tuning previously added by Tunedz/removing grub2 tuning previously added by Tunedr�Ztuned_paramsZtuned_initrd)	rZ
ROLLBACK_FULLrr#r7rir{rx�_update_grubenv)rr%Zrollbackrrr�_instance_unapply_staticUs


z)BootloaderPlugin._instance_unapply_staticcCs�t�d�tjdtjdd|tjd�}tjdtjd|tjd�}tjdtjdd|tjd�}tjdtjd|tjd�}tjtjdd|tjd�}tjtj	dd|tjd�S)	Nzunpatching grub.cfgz
^\s*set\s+z\s*=.*
rrez *\$�\nz\n+)
r7r8rXrZrrurkrv�GRUB2_TEMPLATE_HEADER_BEGIN�GRUB2_TEMPLATE_HEADER_END)r�	grub2_cfg�cfgrrr�_grub2_cfg_unpatch_s
z#BootloaderPlugin._grub2_cfg_unpatchcCs�t�d�dtjd}|D]0}|d|j�|�d|j�||�d7}q|tjd7}tjd||tj	d	�}tj
tjd
�}|D]l}tjd|dd
|||tj	d	�}tjd|d||dd|tj	d	�}tjd|dd|tj	d	�}q�|S)Nzinitial patching of grub.cfgz\1\n\n�
zset z="�"
rz+^(\s*###\s+END\s+[^#]+/00_header\s+### *)\nre)ZlinuxZinitrdz^(\s*z(16|efi)?\s+.*)$z\1 $z(?:16|efi)?\s+\S+rescue.*)\$z *(.*)$z\1\2z(?:16|efi)?\s+\S+rescue.*) +$�\1)r7r8rr�rrYr�rXrZrkrurv)rr�ro�s�optZd2�irrr�_grub2_cfg_patch_initialhs
.$(z)BootloaderPlugin._grub2_cfg_patch_initialcCs�|j�tj�}t|�dkr.t�dtj�dStjtjd�}d}|D]n}t	j
d|d||d|t	jd�durDd	}|d
dkr�|d7}||d|d
|d||d7}qD|r�t�dtj�|j�
tj|�d	S)NrrdF)ZGRUB_CMDLINE_LINUX_DEFAULTZGRUB_INITRD_OVERLAYz^[^#]*\bz
\s*=.*\\\$z\b.*$reT���r�z="${z:+$z }\$r�z
patching '%s')rrgrrhr:r7rirurvrXrjrkr8�
write_to_file)rrlro�writer�rrr�_grub2_default_env_patchzs **z)BootloaderPlugin._grub2_default_env_patchcCs�|j�tj�}t|�dkr.t�dtj�dSd}tjdtj	d|tj
d�r�d}tjdtj	dd	|tj
d�}|d
dkr�|d7}|r�t�dtj�|j�
tj|�dS)
NrrdFzb^GRUB_CMDLINE_LINUX_DEFAULT=\"\$\{GRUB_CMDLINE_LINUX_DEFAULT:\+\$GRUB_CMDLINE_LINUX_DEFAULT \}\\\$z"$reTz"$
rr�r�zunpatching '%s')rrgrrhr:r7rirXrjrurkrZr8r�)rrlr�r�rrr�_grub2_default_env_unpatch�s4������z+BootloaderPlugin._grub2_default_env_unpatchc	CsPt�d�|jst�d�dS|jD�]
}|j�|�}t|�dkrRt�d|�q$t�d|�|}d}|D]^}tjd|dd	|j�	||�d
|tj
d�\}}|dks�tjd
||tj
d�durld}qlttjd
t
j|tj
d��ttjd
t
j|tj
d��k�r
d}|�r"|�|�|�|�}|j�||�q$|j�rD|��n|��dS)Nzpatching grub.cfgrqFrzcannot patch %sz+adding boot command line parameters to '%s'z	\b(set\s+z\s*=).*$z\1"�"rerz\$T)r7r8rrirrgr:rX�subnrYrkrj�findallrrurvr�r�r�r!r�r�)rrorbr�Z
grub2_cfg_newZ
patch_initialr�Znsubsrrr�_grub2_cfg_patch�s6

4"�
z!BootloaderPlugin._grub2_cfg_patchcs�|��}|j��}|��}|dur0t�d�dS|���|D]}��|�q<�fdd�|D�}||krtt�d�dS|j||d�r�|�	t
jd�|�i�dS)z5Apply kernel parameter tuning in a rpm-ostree system.Nz?Not updating kernel arguments, could not read the current ones.csg|]}|�vr|�qSrrrF�Znon_tuned_kargsrrrI�rJz7BootloaderPlugin._rpm_ostree_update.<locals>.<listcomp>z+Kernel arguments already set, not updating.)rKrLrQ)
ryrr9rEr7rD�removerirMrprrs�join)rZappended_kargsZ
profile_kargsZactive_kargsrHZkargs_to_appendrr�r�_rpm_ostree_update�s


z#BootloaderPlugin._rpm_ostree_updatecCs8|�tj|jtj|ji�|�tj|jtj|ji�dSr')	r�rrurrvrrprsrtrzrrr�
_grub2_update�szBootloaderPlugin._grub2_updatecCstj�tj�Sr')r	r
rarZBLS_ENTRIES_PATHrzrrr�_has_bls�szBootloaderPlugin._has_blscCsZt�dt|��dd�|��D�}|j�gd�|�\}}|dkrVt�d|�dSdS)	Nzupdating grubenv, setting %scSs$g|]\}}dt|�t|�f�qS)z%s=%s)rS)rG�option�valuerrrrI�rJz4BootloaderPlugin._update_grubenv.<locals>.<listcomp>)z
grub2-editenvrP�setrzcannot update grubenv: '%s'FT)r7r8rS�itemsrr6r;)rro�lr<r=rrrr}�sz BootloaderPlugin._update_grubenvcCsb|j��}|dkrdSt�dtj�|jjtjdgd|id�\}}|dkr^t�d|�dSd	S)
NrFz4running kernel update hook '%s' to patch BLS entriesrrZKERNEL_INSTALL_MACHINE_ID)�envrzcannot patch BLS entries: '%s'T)rZget_machine_idr7r8rZKERNEL_UPDATE_HOOK_FILEr6r;)rZ
machine_idr<r=rrr�_bls_entries_patch_initial�s
z+BootloaderPlugin._bls_entries_patch_initialcCs6t�d�|��r2|�|j|jd��r2|��r2dSdS)Nzupdating BLSr|TF)r7r8r�r}rrr�rzrrr�_bls_update�s
��zBootloaderPlugin._bls_updatecCs(|jdur$tj�tjtj�|��|_dSr')rr	r
r�r�BOOT_DIR�basename)r�namerrr�_init_initrd_dst_img�s
z%BootloaderPlugin._init_initrd_dst_imgcCstj�tj�Sr')r	r
�isdirrZPETITBOOT_DETECT_DIRrzrrr�_check_petitbootsz!BootloaderPlugin._check_petitbootcCs�|jrt�d�dS|��r&t�d�t�d|j�tj�|j�}|j	�
||j�sXdSd|_|j	�d��
�}d}t|�}|r�t�dd	|�}t|�|kr�|}tj�||�|_dS)
Nz:Detected rpm-ostree which doesn't support initrd overlays.FzkDetected Petitboot which doesn't support initrd overlays. The initrd overlay will be ignored by bootloader.zinstalling initrd image as '%s'T�
/proc/cmdline�/z)^\s*BOOT_IMAGE=\s*(?:\([^)]*\))?(\S*/).*$r�)r#r7r;r�rirr	r
r�rrRrrg�rstripr:rXrZr�r)rZimgZimg_nameZcurr_cmdlineZinitrd_grubpathZlcr
rrr�_install_initrds&

z BootloaderPlugin._install_initrdr)cCs$|rdS|r |dur t|�g|_dSr')rSr�r�enablingr��verify�ignore_missingr%rrr�_grub2_cfg_filesz BootloaderPlugin._grub2_cfg_filer*cCsZ|rdS|rV|durVt|�|_|jdkr,dS|jddkr>dStj�tj|j�|_dSdS)NrFrr�T)rSrr	r
r�rr�r�rrr�_initrd_dst_img!s

z BootloaderPlugin._initrd_dst_imgr-cCs.|rdS|r*|dur*|j�|�dk|_dSdS)N�1T)r�get_boolrr�rrrr0sz#BootloaderPlugin._initrd_remove_dirr+Fr?)Z
per_device�prioritycCsH|rdS|rD|durDt|�}|�|�|dkr2dS|�|�s@dSdSdS)NrFT)rSr�r�)rr�r�r�r�r%Zsrc_imgrrr�_initrd_add_img:s

z BootloaderPlugin._initrd_add_imgr,cCs|rdS|�r|du�rt|�}|�|�|dkr6dStj�|�sTt�d|�dSt�d|�tj	ddd�\}}t�
d|�t�|�|jj
d	||d
d�\}	}
t�
d|
�|	d
kr�t�d�|jj|d
d�dS|�|�|j�|�|j�rt�d|�|j�|�d
SdS)NrFzFerror: cannot create initrd image, source directory '%s' doesn't existz+generating initrd image from directory '%s'ztuned-bootloader-z.tmp)�prefix�suffixz+writing initrd image to temporary file '%s'zfind . | cpio -co > %sT)�cwd�shellzcpio log: %srzerror generating initrd imagerczremoving directory '%s')rSr�r	r
r�r7rDri�tempfileZmkstempr8�closerr6rwr�r�rmtree)rr�r�r�r�r%Zsrc_dir�fdZtmpfiler<r=rrr�_initrd_add_dirIs6



z BootloaderPlugin._initrd_add_dirr.cCsD|j�|j�|��}|�r|jr*|��}n|j�d�}|dusJt|�dkrNdSt|�	��}t|�	��}	|	|}
t|
�dkr�t
�tj
dt|	�f�dSdd�|D�}|
D]J}|�	dd�d}
|
|vr�t
�tj|
|f�q�t
�tj||
|f�q�|	|@}t
�d	d
�|�f�dS|�r@|du�r@t
�d�d|_||_dSdS)
Nr�rr.TcSsi|]}|�dd�d|�qS)�=rr)r9)rG�vrrr�
<dictcomp>zrJz-BootloaderPlugin._cmdline.<locals>.<dictcomp>r�rz2expected arguments that are present in cmdline: %srQFz;installing additional boot command line parameters to grub2)Z
_variables�expandr�unquoter#rErgr:r�r9r7rirZSTR_VERIFY_PROFILE_VALUE_OKrSrDZ'STR_VERIFY_PROFILE_CMDLINE_FAIL_MISSINGZSTR_VERIFY_PROFILE_CMDLINE_FAILr�rr)rr�r�r�r�r%r�r.Zcmdline_setZ	value_setZmissing_setZcmdline_dict�m�argZpresent_setrrr�_cmdlineis8

zBootloaderPlugin._cmdliner/cCs<|rdS|r8|dur8|j�|�dkr8t�d�d|_dSdS)Nr�z(skipping any modification of grub configT)rr�r7rirr�rrr�_skip_grub_config�s
z"BootloaderPlugin._skip_grub_configcCs�|rV|jrVt|j�dkr"t�d�t|j�dkr:t�d�|�tj|jtj	|ji�n0|r�|j
r�|jrp|��n|�
�|��d|_
dS)Nrz0requested changes to initrd will not be applied!z1requested changes to cmdline will not be applied!F)rr:rr7r;rrprrsrtrr#r�r�r�)rr%r�rrr�_instance_post_static�s




z&BootloaderPlugin._instance_post_static)/rV�
__module__�__qualname__�__doc__rr&r(�classmethodr1r"rBrErMr`rr rprxryr{rZ
ROLLBACK_SOFTr~r�r�r�r�r�r�r�r�r}r�r�r�r�r�Zcommand_customr�r�rr�r�r�r�r��
__classcell__rrrrrs`!


"	
	 	


	


!

r)rrZ
decoratorsZ
tuned.logsZtunedrZtuned.utils.commandsrZtuned.constsrr	rXr��timerZlogs�getr7ZPluginrrrrr�<module>s