MathiasJeschke

From
Revision as of 18:00, 8 February 2006 by Jeschke (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. Kernel holen und entpacken
  2. UnionFS holen und entpacken
  3. ins UnionFS-Verzeichnis wechseln
  4. Kernel patchen:

$ KERNEL_DIR=/no_backup/bernhard/kernel/linux-2.6.15.1 $ sh patch-kernel.sh $KERNEL_DIR

  1. Kernel konfigurieren:

$ cd $KERNEL_DIR

$ make menuconfig ARCH=um

  1. Kernel-Makefile anpassen

--- Makefile.orig +++ Makefile @@ -336,7 +336,7 @@

CHECK          = sparse
CHECKFLAGS     := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise $(CF)

-MODFLAGS = -DMODULE +MODFLAGS = -DMODULE -DUNIONFS_NDEBUG

CFLAGS_MODULE   = $(MODFLAGS)
AFLAGS_MODULE   = $(MODFLAGS)
LDFLAGS_MODULE  = -r
  1. Kernel bauen:

$ make ARCH=um $ make modules ARCH=um

$ make modules_install ARCH=um INSTALL_MOD_PATH=/tmp