SUSE Manager/Uptodate bootstrap repo

From MicroFocusInternationalWiki
Revision as of 09:53, 9 January 2014 by Gameboy974 (Talk | contribs) (Creating up-to-date bootstrap repositories)

Jump to: navigation, search

Creating up-to-date bootstrap repositories

You can have up-to-date packages for the bootstrap repositories, with the new mgr-create-bootstrap-repo command.

/!\ First you have to uninstall packages of the old bootstrap repositories /!\

# zypper remove spacewalk-client-repository spacewalk-client-repository-sle-10-4 
spacewalk-client-repository-sle-10-3 spacewalk-client-repository-sle-11-1
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following packages are going to be REMOVED:
  spacewalk-client-repository spacewalk-client-repository-sle-10-3 
  spacewalk-client-repository-sle-10-4 spacewalk-client-repository-sle-11-1 

4 packages to remove.
After the operation, 62.5 MiB will be freed.
Continue? [y/n/?] (y): y
Removing spacewalk-client-repository-0.1-0.7.1 [done]
Removing spacewalk-client-repository-sle-10-4-0.1-0.7.2 [done]
Removing spacewalk-client-repository-sle-11-1-0.1-0.7.1 [done]
Removing spacewalk-client-repository-sle-10-3-0.1-0.7.2 [done]

Then you can call the mgr-create-bootstrap-repo for SLE-11-SP3-x86_64  :

# mgr-create-bootstrap-repo
Enter product label: SLE-11-SP3-x86_64
copy 'spacewalk-client-tools-'
copy 'zypper-1.6.308-0.9.16.x86_64'
copy 'libzypp-9.37.1-0.7.1.x86_64'
copy 'satsolver-tools-0.17.7-'
copy 'zypp-plugin-python-0.3-2.5.38.x86_64'
copy 'zypp-plugin-spacewalk-0.9.5-0.5.5.x86_64'
copy 'spacewalk-check-'
copy 'spacewalk-client-setup-'
copy 'newt-0.52.10-1.35.113.x86_64'
copy 'libnewt0_52-0.52.10-1.35.113.x86_64'
copy 'python-newt-0.52.10-1.35.113.x86_64'
copy 'python-dmidecode-3.10.11-0.10.1.x86_64'
copy 'python-ethtool-0.7-'
copy 'python-openssl-0.7.0-1.17.2.x86_64'
copy 'rhnlib-'
copy 'spacewalksd-'
copy 'suseRegisterInfo-1.7.4-0.5.1.x86_64'
copy 'libcurl4-7.19.7-1.28.1.x86_64'
copy 'slang-2.1.1-58.18.x86_64'
Spawning worker 0 with 26 pkgs
Workers Finished
Gathering worker results

Saving Primary metadata
Saving file lists metadata
Saving other metadata

You may repeat the command for SLE-11-SP1-x86_64 and SLE-11-SP2-x86_64 .

So now you have the latest packages version for you bootstrap repositories.

 For bootstrapping SLES11 SP1 clients you need to create a compatibility symlink.
 $> cd /srv/www/htdocs/pub/repositories
 $> ln -s sle/11/1/bootstrap susemanager-client-setup

Refers to the "mgr-create-bootstrap-repo" manpages for more informations.