Hi all,

I have enhanced the yupdate [1] script to work also in live medium or in
containers [2].

That means you can use it for patching the D-Installer or the YaST modules 
included
in the ALP container directly from GitHub or your local Git checkout.

For using it in the D-Installer connect to the running instance via SSH or 
switch to
the first console. (Use root/linux credentials.)

Using in a container is a bit more complicated as podman does not allow to pass
additional options to the "runlabel" command. Use

    podman container runlabel --display run <image>

to display the start command. Then copy & paste that command to terminal and 
add the
"--entrypoint=bash" option to start a shell instead of the YaST Control Center.
Then patch the system using yupdate and start YaST manually ("yast" or
"yast <module>").


If you use docker then run this command to print the start command:

    docker inspect  --format '{{index .Config.Labels "RUN"}}' <image>

(Do not forget to replace the "/usr/bin/podman" at the beginning and the "IMAGE"
placeholder at the end. :-))


See more details in the yupdate documentation [3].


[1] https://github.com/yast/yast-installation/blob/master/bin/yupdate
[2] https://github.com/yast/yast-installation/pull/1073
[3] https://github.com/yast/yast-installation/blob/master/doc/yupdate.md

--
Ladislav Slezák
YaST Developer

SUSE LINUX, s.r.o.
Corso IIa
Křižíkova 148/34
18600 Praha 8

Reply via email to