[opensuse-autoinstall] Autoyast on installed system
Hello all, I would like to update an installed system with a new AutoYast XML profile (containing only updated stuff) and found that there is a /sbin/yast ayast_setup setup filename=profile.xml command that does just that. Unfortunately, the docs about what this command does exactly are very spare. Uwe mentions on http://suse.gansert.net/?p=38 that (quoting): ------- The XML file will be read by AutoYaST and applied to your currently running system except (and that’s good – you want it that way, believe me) all 1st stage configuration like partitioning, bootloader, pre- and chrootscripts and software selection. ------- => Thus, for software updates I use post-packages, => for scripts I wanted to use post-scripts and init-scripts. But it looks like init-scripts are not run... is there a complete list of steps that are actually done by this command? Background: I would like to use zypper to enable a repo with the XML mentioned above. But as it does not run the init-scripts and Yast locks the RPM database during post-scripts, I looks like zypper cannot be used along with "ayast_setup setup" at all, right? Best regards, Joschi Brauchle
Hm, it also looks like the <add-on> tags are not read, hence, post-packages from additional repositories cannot be installed... So the functionality of "yast ayast_setup setup" seems to be rather limited. On 10/11/2012 10:27 AM, Joschi Brauchle wrote:
Hello all,
I would like to update an installed system with a new AutoYast XML profile (containing only updated stuff) and found that there is a /sbin/yast ayast_setup setup filename=profile.xml command that does just that.
Unfortunately, the docs about what this command does exactly are very spare. Uwe mentions on http://suse.gansert.net/?p=38 that (quoting): ------- The XML file will be read by AutoYaST and applied to your currently running system except (and that’s good – you want it that way, believe me) all 1st stage configuration like partitioning, bootloader, pre- and chrootscripts and software selection. -------
=> Thus, for software updates I use post-packages, => for scripts I wanted to use post-scripts and init-scripts.
But it looks like init-scripts are not run... is there a complete list of steps that are actually done by this command?
Background: I would like to use zypper to enable a repo with the XML mentioned above. But as it does not run the init-scripts and Yast locks the RPM database during post-scripts, I looks like zypper cannot be used along with "ayast_setup setup" at all, right?
Best regards, Joschi Brauchle
participants (1)
-
Joschi Brauchle