From 52752b91846e3fa4b0751c11be710ba9fe1f93a9 Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Mon, 30 Jan 2006 13:43:00 +0000 Subject: none --- Mach/BuildingGNUMach.mdwn | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'Mach') diff --git a/Mach/BuildingGNUMach.mdwn b/Mach/BuildingGNUMach.mdwn index 116b50be..7967ddcb 100644 --- a/Mach/BuildingGNUMach.mdwn +++ b/Mach/BuildingGNUMach.mdwn @@ -2,35 +2,36 @@ # Building GNUMach from source from the Debian repository -If you've already installed Debian/Hurd an you want to compile the GNUMach kernel from source (from the Debian repository) instead of installing the binary, follow this instructions. +If you have already installed Debian/Hurd and you want to compile the GNUMach kernel from source (from the Debian repository) instead of installing the binary, follow these instructions. -You can also build GNUMach from Debian GNU/Linux, extract the kernel from the resulting deb-file and then copy the compressed gnumach-kernel onto your GNU/Hurd partition to /boot/gnumach.gz. +You can also build GNUMach from Debian GNU/Linux in the same way, extract the kernel from the resulting .deb file and then copy the compressed gnumach kernel onto your mounted GNU/Hurd partition to /boot/gnumach.gz. -First, make sure, this line is included in your /etc/apt/sources.list: +First, make sure that this line is included in your /etc/apt/sources.list: deb-src http://ftp.debian.org/debian unstable main Install additional needed packages - #apt-get update - #apt-get build-dep gnumach + # apt-get update + # apt-get build-dep gnumach + # apt-get install fakeroot -Load the sources from the Debian repository (the source usually differs to the source in the official FSF repository) +Download the source from the Debian repository (the source usually differs to the source in the official GNU repository) - #apt-get source gnumach + $ apt-get source gnumach Building GNUmach Change into the directory with the downloaded gnumach source, e. g. - $cd ~/gnumach-20050801 + $ cd gnumach-20050801 Start the build process with - $dpkg-buildpackage -us -uc -b -rfakeroot + $ dpkg-buildpackage -us -uc -b -rfakeroot -GNUMach is built then. To use the new kernel, you must install the resulting deb-package, with can be found one directory above the build directory and has a similar name like the built package (gnumach\_\*hurd-i386.deb), e.g.: +GNUMach is now building. To use the new kernel, you must install the resulting .deb package which is located one directory above the build directory and has a similar name as the build directory, e.g.: - dpkg -i ../gnumach_20050801-4_hurd-i386.deb + # dpkg -i ../gnumach_20050801-4_hurd-i386.deb -No you can reboot your computer and enjoy the new kernel. +You can now reboot your computer and enjoy the new kernel. -- cgit v1.2.3