OK. I'll try learn more about git till then could you if this work flow has major
flaws _if done locally_ ?
git clone
git://dev.laptop.org/olpc-2.6
cd olpc-2.6
commit -a # is the tree included already?
(patch kernel) # do I need to "git add" the patch file and the file/folders that
the patch generates?
make clean distclean # this goes here, right?
make xo_1_defconfig
make menuconfig
make
commit -a #do I need this for the next steps?
make xo_1-kernel-rpm
Yes?
Thx for your help (I know is a very busy time)
--- On Tue, 12/8/09, Daniel Drake <dsd(a)laptop.org> wrote:
From: Daniel Drake <dsd(a)laptop.org>
Subject: Re: dracut(?) problem
To: "Yioryos Asprobounitis" <mavrothal(a)yahoo.com>
Cc: fedora-olpc-list(a)redhat.com
Date: Tuesday, December 8, 2009, 8:08 AM
Hi Yioryos,
On Thu, 2009-12-03 at 13:59 -0800, Yioryos Asprobounitis
wrote:
> On the XO-1 under F11-XO1/os10, I patched with unionfs
and recompiled the 2.6.31_xo kernel, to include unionfs and
some other modules.
> Installed on the XO-1 with "make install".
> Then I made the initrd with "dracut initrd_name
kenel_version" (dracut-olpc v0.30) and fixed the simlinks in
/boot.
> Everything looked good but rebooting resulted in a
kernel panic with the attached message (picture of the
screen actually).
The way we develop is that we make changes to the kernel,
commit it to
git, then:
make clean distclean
make xo_1-kernel-rpm
(or xo_1_5-kernel-rpm)
Then you have a kernel RPM that you can install on the XO,
which will
take care of the initramfs for you.
If you choose to develop another way then you're going to
have to look
carefully at the rpm spec file and make sure that you
reproduce all the
little things that it does.
Daniel