Just wanted to give folks a little hope.
This does work. It's not entirely unattended as you still have to kick
it off by running yast (I think this is at what is called stage 1
maybe???) and then run the "/usr/lib/YaST2/startup/YaST2.sh" after the
upgrade is complete. (stage2???) But, other than that and depending on
how you set up the upgrade xml file, it proceeds without asking any
other questions.
It can still stop and prompt you. For instance, our /boot partition is
only 32MB and the upgrade complains about it needing to be 64MB. It
also will complain if it has a problem installing any RPMs. In our case
it has a problem installing "ruby" which I haven't looked into yet.
If you set "only_installed_packages" to true it does update based on the
installed packages and, in our case, cuts down on about 1GB of
unnecessary packages. It still installs unneeded packages however, so
there's still some post-upgrade activity that has to occur. I'm going
to try and add these to the "remove_packages" list in the upgrade file
to see if it will just skip installing them at all.
It's not all roses however. The one main issue I ran into was that it
doesn't automatically activate the DASD volumes, so prior to running the
first "yast", I simply bring them online manually. I will be adding
this to the initrd, so I won't have to remember to do it. :-)
Anyway, it's not a bad start, especially for something that's at version
0.0.1. :-)
Leland
On 1/26/11 1:48 AM, Leland Lucius wrote:
On 1/25/11 11:59 PM, Mark Post wrote:
On 1/26/2011 at 12:02 AM, Leland Lucius<[email protected]> wrote:
Has anyone tried and gotten this to work:
http://doc.opensuse.org/products/draft/SLES/SLES-deployment/cha.update.auto.
html
I would imagine not, since I'm not aware of the driver update (dud) being
released that will make this work. Understand, Novell does not publish
official SLES documentation via openSUSE.org web pages.
Somebody must be working on it:
pzsadm01:/depot/sles # rpm -q --info -p
./SLES11-SP1-Updates/sle-11-s390x/rpm/s390x/unattended_upgrade_dud-0.0.1-1.1.s390x.rpm
Name : unattended_upgrade_dud Relocations: (not relocatable)
Version : 0.0.1 Vendor: SUSE LINUX Products
GmbH, Nuernberg, Germany
Release : 1.1 Build Date: Thu Dec 9 09:10:48 2010
Install Date: (not installed) Build Host: s390z05
Group : System/YaST Source RPM:
unattended_upgrade_dud-0.0.1-1.1.src.rpm
Size : 257666 License: GPL
Signature : RSA/8, Thu Dec 9 09:10:52 2010, Key ID e3a5c360307e3d54
Packager : http://bugs.opensuse.org
Summary : DUD for unattended upgrade
Description :
-
Distribution: SUSE Linux Enterprise 11
But, as usual, I always see to want something before it's actually ready. :-)
I actually have made more progress getting it to work, but I have a feeling
I'll only be able to get it to the 99% mark and fail to get that last 1%. :-)
Leland
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/