Manually Extending An Image - Novell SLRS 8 Admin Manual

Table of Contents

Advertisement

11.5 Manually Extending an Image

The description above is based upon the existence of the package within the
SLRS CD set. Extending an image may be based on non-standard packages or
even on software not bundled in a package.
Packages Not in SLRS
To extend an image with a package not part of the SUSE LINUX Retail Solution
(SLRS), the procedure varies from that described above:
1. Create a copy of the standard minimal image:
scr --create myImage-1.1.1 --image minimal-1.1.7
2. Copy the package to the global package directory /opt/SLES/POS/pac.
In this example, the newest unstable vim-unstable package is added:
cp vim-unstable.rpm /opt/SLES/POS/pac
3. Leave the file setup untouched and edit the file
/opt/SLES/POS/system/myImage-1.1.1/setup.user instead. Add the
following line:
vim-unstable : x : x
4. Adapt the size parameter of the config file and build the new image in
the same way as the standard procedure described above.
Unpackaged Software
To extend an image with software not packaged into an RPM package the
procedure is as follows:
1. Create a copy of the standard minimal image:
scr --create myImage-1.1.1 --image minimal-1.1.7
2. Prepare the image first:
scr --prepare --image myImage-1.1.1
3. After the image is prepared, find the root system of this image below the
directory root-myImage-1.1.1.
1
The example uses the package name vim-unstable.rpm. Note if you use package names
with version numbers, for example, vim-unstable-1.3-471.i586.rpm, you have to add
the following line in setup.user: vim-unstable : x : 1.3-471
1
11.5 Manually Extending an Image
119

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux retail solution 8

Table of Contents