I am using Debian Lenny kernel version Linux-2.6.21-2-686. I have been using Debian and Debian based distros for a while now, and kernel compilation has always been something I wanted to get into. I figured bootsplash would be an excellent tweak to start with =]
I began following the instructions located at
http://foo-bar.dk/7/12/
and the only time I strayed from that guide is when it told me to get the bootsplash patch from
http://bootsplash.de/ (returned a 404 : page not found)
I realized from my own research it's now in the repos, so I preceeded to
Code:
apt-get install linux-patch-bootsplash
and then
Code:
cd /usr/src/kernel-patches/diffs/bootsplash
gunzip bootsplash-3.1.6-2.6.21.diff.gz
then I installed my kernel source and patched the kernel
Code:
apt-get install linux-source-2.6.21
cd /usr/src
tar -xjf linux-source-2.6.21.tar.bz2
ln -s linux-source-2.6.21 linux
cd linux
patch -p1 < ../kernel-patches/diffs/bootsplash/bootsplash-3.1.6-2.6.21.diff
all goes well, next
Code:
make menuconfig
make-kpkg --initrd binary-arch
after a long, long compile time (800MHz cpu)
back to a prompt
here's the catch
when I go on to the next step
Code:
make-kpkg modules_image
This happends:
Code:
Longcindia:/usr/src/linux# make-kpkg modules_image
exec debian/rules DEBIAN_REVISION=2.6.21-10.00.Custom modules_image
for module in ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.6.21" KSRC="/usr/src/linux" \
KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf" \
KPKG_DEST_DIR="/usr/src/linux/.." \
KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \
KPKG_EXTRAV_ARG="" \
ARCH="i386" \
KDREV="2.6.21-10.00.Custom" kdist_image; then \
echo "Module $module processed fine"; \
else \
echo "Module $module failed."; \
if [ "X" != "X" ]; then \
echo "Perhaps $module does not understand --rootcmd?"; \
echo "If you see messages that indicate that it is not"; \
echo "in fact being built as root, please file a bug "; \
echo "against $module."; \
fi; \
echo "Hit return to Continue"; \
read ans; \
fi; \
); \
else \
echo "Module $module does not exist"; \
echo "Hit return to Continue?"; \
fi; \
done
Longcindia:/usr/src/linux#
wth is that!? XD
It looks like a shell script, why or how I'm not sure (this is my first kernel compilation project)
It does say however done at the bottom, should this be ignored?
please help/advise
--
Salvatore Nuzzo