Configuring An Image; Including Fixed Configuration Files - Novell SLRS 8 Admin Manual

Table of Contents

Advertisement

11 Creating Operating System Images
4. Copy the non-RPM–based software to a directory within the image. For
example:
cp <software> root-myImage-1.1.1/tmp
5. Change into the image system with the command:
chroot root-myImage-1.1.1 bash
6. Perform all the steps needed to install the software.
7. Leave the image system with the exit command.
8. Adapt the size parameter of the config file.
9. Build the image from the current data using scr:
scr --build \
--image myImage-1.1.1 --destdir /tmp/myDirectory
10. You will find the image and the md5 file in the directory /tmp/myDirectory.
11.6 Configuring an Image
Configuring an image means adapting it for a specific hardware and envi-
ronment. Features, like activating and deactivating services, setting up spe-
cial postinstall scripts, adding standard configuration files and loading kernel
modules, is part of the image configuration.
For example, if someone has created a new image description tree below
the path /opt/SLES/POS/system/myImage-1.1.1, the issues described in the
following sections may arise:
11.6.1 Including Fixed Configuration Files
If the image should provide a fixed configuration — a configuration file provid-
ing information for a service that is hardware independent — this file can go to
the files-user subdirectory. For example, to include the /etc/sysconfig/hotplug
file to the image, use the following commands:
1. Change to the source/files-user directory of the image:
cd /opt/SLES/POS/system/myImage-1.1.1/files-user
2. Create the directory structure according to the original system location
of the configuration file:
120

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux retail solution 8

Table of Contents