Novell ZENWORKS LINUX MANAGEMENT 7.3 IR2 - ADMINISTRATION GUIDE 02-12-2010 Administration Manual page 657

Table of Contents

Advertisement

To build your drivers:
"Obtaining the Linux Source Code Tree" on page 657
"Compiling the Module" on page 658
Obtaining the Linux Source Code Tree
To compile a module, you need the Linux source code tree that contains the configuration matching
the ZENworks kernel. To obtain the necessary source code, do the following:
To use the Linux source code tree:
1 Obtain the current kernel version of the Imaging distro:
1a Boot any device in the Management Zone into the ZENworks Imaging Maintenance
mode.
1b Run the
uname -r
This displays the kernel version of the Imaging distro.
2 From the
Novell Downloads Web site (http://download.novell.com/patch/finder/
?familyId=7261&productId=8162&yearValue=2009&keywords=kernel), download the kernel
source RPM for the kernel version obtained in
The kernel source RPM filename is in the following format:
kernel-source-kernel_version.i586.rpm
For example,
kernel-source-2.6.27.29-0.1.i586.rpm
version
2.6.27.29-0.1-default
3 Install the downloaded kernel source RPM.
The RPM is installed to the
/usr/src/linux-Kernel_source_version
/usr/src/linux-Kernel_source_version-obj
For example, the following directories are created when you install
2.6.27.29-0.1.i586.rpm
/usr/src/linux-2.6.27.29-0.1
/usr/src/linux-2.6.27.29-0.1-obj
4 To create a link to the source tree:
4a To change to the
cd /usr/src
4b If there is a Linux soft link in the directory, delete it.
4c Create the new Linux soft link, such as:
ln -s linux-2.6.27.29-0.1 linux
You now have the Linux kernel source tree and soft link ready for compiling the module. Continue
with
"Compiling the Module" on page
command.
Step
.
directory, and the following subdirectories are created:
/usr/src
:
directory, enter:
/usr/src
658.
1b.
is the souce code for the kernel
kernel-source-
Updating ZENworks Imaging Resource Files 657

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.3 ir2

Table of Contents