RE: [suse-autoinstall] auto-installing with patched OS
Hi folks, I used Anas' create_update_source.sh on my SLES9 installation source. It created an updates/ directory in that source, resulting in a directory structure that looks like this: SLES9/ SUSE-CORE-Version-9/ SUSE-SLES-Version-9/ boot content control.xml media.1 updates/ <-- this was newly-created by the script, as expected yast/ After this, I followed the instructions in the script: 1. I moved my packages into SLES9/updates/suse/<arch> directories. 2. I cd into SLES9/updates/suse. 3. I ran /usr/bin/create_package_descr -x setup/descr/EXTRA_PROV OK, so then I do an autoinstall from this source on a targe machine. After the reboot, there is no sign of my package on the installed machine, and if I search for the package using YaST2 "Install and Remove Software" it is not found by its name. I think I'm missing a step somewhere to cause the installation to actually install my package. What am I missing? Do I need to add a <package> line to the XML file? Do I need to do some more mucking with the installation source? -- Charlie -----Original Message----- From: Anas Nashif [mailto:nashif@suse.de] Sent: Tuesday, March 01, 2005 10:53 PM To: Mark Acosta Cc: suse-autoinstall@suse.com Subject: Re: [suse-autoinstall] auto-installing with patched OS Hi, I have a script for doing this you might want to try, see http://www.suse.de/~nashif/autoyast2/scripts/create_update_source.sh The script itself has some additional info on how to use it. The script uses the multiple source feature known from SLES, it will register multiple sources and the latest version of packages available in the original source and the new source will be installed. Give it a try and let me know if it works for you. any feedback is welcome. Anas Mark Acosta wrote:
I need to autoinstall a patched 2.6.8-24.11-default kernel (including patched utils) for Suse 9.2. The stock kernel is 2.6.8-24.10-default, but I can't find out how to patch/update to 2.6.8-24.11-default. How is the best accomplished?
thanks, Mark
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
Hi, On the installed system, try running installation_sources -s This will show the configured sources. It should have the updates source. You will also notice during package installation that "Updates" appear on the left side when the rpms are being installed. Of course, if the packages you have added are non SUSE packages and you want to install them, you have to add them to the control file. Please also verify that yast/order and yast2/instorder have the updates directory included. Anas Suffin, Charles wrote:
Hi folks,
I used Anas' create_update_source.sh on my SLES9 installation source. It created an updates/ directory in that source, resulting in a directory structure that looks like this:
SLES9/ SUSE-CORE-Version-9/ SUSE-SLES-Version-9/ boot content control.xml media.1 updates/ <-- this was newly-created by the script, as expected yast/
After this, I followed the instructions in the script:
1. I moved my packages into SLES9/updates/suse/<arch> directories. 2. I cd into SLES9/updates/suse. 3. I ran /usr/bin/create_package_descr -x setup/descr/EXTRA_PROV
OK, so then I do an autoinstall from this source on a targe machine.
After the reboot, there is no sign of my package on the installed machine, and if I search for the package using YaST2 "Install and Remove Software" it is not found by its name.
I think I'm missing a step somewhere to cause the installation to actually install my package. What am I missing? Do I need to add a <package> line to the XML file? Do I need to do some more mucking with the installation source?
-- Charlie
-----Original Message----- From: Anas Nashif [mailto:nashif@suse.de] Sent: Tuesday, March 01, 2005 10:53 PM To: Mark Acosta Cc: suse-autoinstall@suse.com Subject: Re: [suse-autoinstall] auto-installing with patched OS
Hi, I have a script for doing this you might want to try, see
http://www.suse.de/~nashif/autoyast2/scripts/create_update_source.sh
The script itself has some additional info on how to use it.
The script uses the multiple source feature known from SLES, it will register multiple sources and the latest version of packages available in the original source and the new source will be installed.
Give it a try and let me know if it works for you. any feedback is welcome.
Anas
Mark Acosta wrote:
I need to autoinstall a patched 2.6.8-24.11-default kernel (including patched utils) for Suse 9.2. The stock kernel is 2.6.8-24.10-default, but I can't find out how to patch/update to 2.6.8-24.11-default. How is the best accomplished?
thanks, Mark
Hi, I just found out that the permission of the content file under updates/ is wrong, it should be world readable. (chmod a+r content) I will update the script. Anas Suffin, Charles wrote:
Hi folks,
I used Anas' create_update_source.sh on my SLES9 installation source. It created an updates/ directory in that source, resulting in a directory structure that looks like this:
SLES9/ SUSE-CORE-Version-9/ SUSE-SLES-Version-9/ boot content control.xml media.1 updates/ <-- this was newly-created by the script, as expected yast/
After this, I followed the instructions in the script:
1. I moved my packages into SLES9/updates/suse/<arch> directories. 2. I cd into SLES9/updates/suse. 3. I ran /usr/bin/create_package_descr -x setup/descr/EXTRA_PROV
OK, so then I do an autoinstall from this source on a targe machine.
After the reboot, there is no sign of my package on the installed machine, and if I search for the package using YaST2 "Install and Remove Software" it is not found by its name.
I think I'm missing a step somewhere to cause the installation to actually install my package. What am I missing? Do I need to add a <package> line to the XML file? Do I need to do some more mucking with the installation source?
-- Charlie
-----Original Message----- From: Anas Nashif [mailto:nashif@suse.de] Sent: Tuesday, March 01, 2005 10:53 PM To: Mark Acosta Cc: suse-autoinstall@suse.com Subject: Re: [suse-autoinstall] auto-installing with patched OS
Hi, I have a script for doing this you might want to try, see
http://www.suse.de/~nashif/autoyast2/scripts/create_update_source.sh
The script itself has some additional info on how to use it.
The script uses the multiple source feature known from SLES, it will register multiple sources and the latest version of packages available in the original source and the new source will be installed.
Give it a try and let me know if it works for you. any feedback is welcome.
Anas
Mark Acosta wrote:
I need to autoinstall a patched 2.6.8-24.11-default kernel (including patched utils) for Suse 9.2. The stock kernel is 2.6.8-24.10-default, but I can't find out how to patch/update to 2.6.8-24.11-default. How is the best accomplished?
thanks, Mark
Hello, OK, I have a working test repository. I have a working test rules, config and postinstall script files. I have updated my repository with SP1. I have setup my /etc/skel for a test default desktop. (most of this is thanks to Anas and this mailing list!) The above works on the Dell GX60 attached to a Viewsonic flat panel. When we rollout NLD, it will be to a limited number of hardware models ( DELL GX60, and 170Ls most likely), however my company has many different models of monitors attached to these PCs. What is the best way to tackle this variability? -- With classes and rules together? or with post install scripting? Can you merge the xml config from classes on the fly? Has anyone done this already? Any insights appreciated. Cheers, Tony Staples astaples@humana.com The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.
participants (3)
-
Anas Nashif
-
Anthony Staples
-
Suffin, Charles