1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
Building an EVMS-enabled kernel with kernel-package (recommended)
-----------------------------------------------------------------
1. Obtain kernel sources, either from a kernel-source-x.y.z package or
elsewhere
2. Install the 'kernel-package' package
2. Unpack kernel sources (tar xjf /usr/src/kernel-source-x.y.z.tar.bz2)
3. cd kernel-source-x.y.z
4. Optionally, copy your existing kernel configuration, e.g. from
/boot/config-x.y.z, to .config
5. PATCH_THE_KERNEL=YES make-kpkg --added-patches evms --append-to-version -evms kernel_image
You may also wish to specify the evms-VFS-lock patch, e.g.:
--added-patches evms,evms-VFS-lock
When make-kpkg is finished, you will have a kernel .deb in the parent
directory (where kernel-source-x.y.z is).
Refer to the kernel-package documentation for more information about
make-kpkg and its parameters.
Building an EVMS-enabled kernel by hand
---------------------------------------
If building without kernel-package, run
/usr/src/kernel-patches/apply/evms (and optionally
apply/evms-VFS-lock) in your kernel source tree to apply the
patch(es), then build as normal.
-- Matt Zimmerman <mdz@debian.org> Tue, 23 Apr 2002 09:33:44 -0400
|