Difference between revisions of "SUSE Manager/Uptodate bootstrap repo"

From MicroFocusInternationalWiki
Jump to: navigation, search
(Created page with "=== 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.")
 
(Creating up-to-date bootstrap repositories)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[SUSE_Manager|SUSE Manager Main Page]]
 
=== Creating up-to-date bootstrap repositories ===
 
=== 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.
+
You can have up-to-date packages for the bootstrap repositories, with the new '''mgr-create-bootstrap-repo''' command introduced in SUSE Manager 1.7.
 +
 
 +
Of course you should have the related Pool and Update channels available and synced to be able to create the bootstrap repository you want :
 +
<pre># mgr-create-bootstrap-repo
 +
SLE-10-SP4-x86_64
 +
SLE-11-SP1-x86_64
 +
SLE-11-SP2-x86_64
 +
SLE-11-SP3-x86_64
 +
SLE-12-x86_64
 +
Enter product label: SLE-11-SP3-x86_64
 +
copy 'spacewalk-client-tools-1.7.14.18-0.5.2.noarch'
 +
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-0.6.2.1.x86_64'
 +
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-1.7.14.18-0.5.2.noarch'
 +
copy 'spacewalk-client-setup-1.7.14.18-0.5.2.noarch'
 +
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-0.15.15.1.x86_64'
 +
copy 'python-openssl-0.7.0-1.17.2.x86_64'
 +
copy 'rhnlib-2.5.51.5-0.5.1.x86_64'
 +
copy 'spacewalksd-4.9.15.3-0.5.3.x86_64'
 +
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</pre>
 +
 
 +
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.
 +
 
 +
===Adding Packages to bootstrap repository===
 +
 
 +
To change the list of packages which are copied to the bootstrap repository, you can define your own
 +
bootstrap data file.
 +
 
 +
  $> cd /usr/share/susemanager/
 +
  $> cp mgr_bootstrap_data.py my_mgr_bootstrap_data.py
 +
 
 +
Now you can modify the package lists for:
 +
 
 +
* SLES10: PKGLIST10
 +
* SLES11: PKGLIST11
 +
* SLES12 all Servicepacks: PKGLIST12
 +
* SLES12 GA only: ENHANCE12
 +
* SLES12 SP1 only: ENHANCE12SP1
 +
 
 +
After this call
 +
 
 +
  $> mgr-create-bootstrap-repo --datamodule=my_mgr_bootstrap_data

Latest revision as of 08:51, 20 April 2016

SUSE Manager Main Page

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 introduced in SUSE Manager 1.7.

Of course you should have the related Pool and Update channels available and synced to be able to create the bootstrap repository you want :

# mgr-create-bootstrap-repo
SLE-10-SP4-x86_64
SLE-11-SP1-x86_64
SLE-11-SP2-x86_64
SLE-11-SP3-x86_64
SLE-12-x86_64
Enter product label: SLE-11-SP3-x86_64
copy 'spacewalk-client-tools-1.7.14.18-0.5.2.noarch'
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-0.6.2.1.x86_64'
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-1.7.14.18-0.5.2.noarch'
copy 'spacewalk-client-setup-1.7.14.18-0.5.2.noarch'
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-0.15.15.1.x86_64'
copy 'python-openssl-0.7.0-1.17.2.x86_64'
copy 'rhnlib-2.5.51.5-0.5.1.x86_64'
copy 'spacewalksd-4.9.15.3-0.5.3.x86_64'
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.

Adding Packages to bootstrap repository

To change the list of packages which are copied to the bootstrap repository, you can define your own bootstrap data file.

 $> cd /usr/share/susemanager/
 $> cp mgr_bootstrap_data.py my_mgr_bootstrap_data.py

Now you can modify the package lists for:

  • SLES10: PKGLIST10
  • SLES11: PKGLIST11
  • SLES12 all Servicepacks: PKGLIST12
  • SLES12 GA only: ENHANCE12
  • SLES12 SP1 only: ENHANCE12SP1

After this call

 $> mgr-create-bootstrap-repo --datamodule=my_mgr_bootstrap_data