[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: build a kernel howto ( I want samba)
- From: "sandy pond" <sandy_pond myrealbox com>
- To: fedora-test-list redhat com
- Subject: Re: build a kernel howto ( I want samba)
- Date: Mon, 01 Mar 2004 11:58:18 -0700
> So where to look for a `step by step' applicable to
> current kernels?
Here's a small script currently I use for rawhide
(it's not very general);
#!/bin/bash
rm -rf /lib/modules/2.6.3-MyKernel
cd /usr/src/linux &&
make clean &&
make mrproper &&
make clean &&
cp configs/kernel-2.6.3-i686.config .config &&
echo "
Enable options save and exit
" &&
make gconfig &&
sed --in-place 's/^EXTRAVERSION[[:space:]]*=.*$/EXTRAVERSION = -MyKernel/' Makefile &&
make clean &&
make bzImage &&
make modules &&
make modules_install &&
make install || exit 1
rm -rf /boot/*2.6.3-MyKernel.old
echo -e '\n<<<< BUILD OK >>>>\n'
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]