Re: Mulinux source

From: Michele Andreoli (m.andreoli@tin.it)
Date: Mon Dec 20 1999 - 15:04:46 CET


On Mon, Dec 20, 1999 at 12:55:33AM +0000, Clive Wright nicely wrote:
> Just two things to add:
>
> 1. The mulinux readme file says that a small patch is required to the
> source to build a mulinux kernel which could be made the subject of an
> email.
>
> 2. The (.config) file used for building the mulinux kernel would aid in
> getting the correct components integrated or built as modules.
>

Build the muLinux kernel is not complicated. The basic guideline is
to modularize all. I leaved in the kernel only some filesystem
(msdos,vfat,ext2) and the initrd (initial ramdisk) features.

Further: add in ip-filtering and ip-masqueranding. The problem is
pc-speaker module. This is a rare patch and I cannot find it from
new kernel. Anycase, it is relatively not useful.

In the muLinux README I speak about a little patch in the init.c
component in the kernel sources. I added a simple line in
the file init/main.c

Please, locate this group of line:

--------------------------------------------------------------------
#ifdef CONFIG_BLK_DEV_INITRD
        root_mountflags = real_root_mountflags;
        mount_initrd=1;
        ^^^^^^^^^^^^^^^^^^^^
        if (mount_initrd && ROOT_DEV != real_root_dev && ROOT_DEV == MKDEV(RAMDI
--------------------------------------------------------------------

I added the mount_initrd=1. In this way, all muLinux starts via initrd,
also cloned one.

Michele

-- 
I'd like to conclude with a positive statement, but I can't 
remember any. Would two negative ones do?       -- Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:12 CET