MathiasJeschke: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= UML-Kernel mit UnionFS = |
|||
# Kernel holen und entpacken |
# Kernel holen und entpacken |
||
# UnionFS holen und entpacken |
# UnionFS holen und entpacken |
Latest revision as of 18:01, 8 February 2006
UML-Kernel mit UnionFS
- Kernel holen und entpacken
- UnionFS holen und entpacken
- ins UnionFS-Verzeichnis wechseln
- Kernel patchen:
$ KERNEL_DIR=/no_backup/bernhard/kernel/linux-2.6.15.1 $ sh patch-kernel.sh $KERNEL_DIR
- Kernel konfigurieren:
$ cd $KERNEL_DIR
$ make menuconfig ARCH=um
- 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
- Kernel bauen:
$ make ARCH=um $ make modules ARCH=um
$ make modules_install ARCH=um INSTALL_MOD_PATH=/tmp