[pkg-fso-maint] Openmoko kernel built by Debian
Timo Juhani Lindfors
timo.lindfors at iki.fi
Thu Oct 9 23:08:34 UTC 2008
Luca Capello <luca at pca.it> writes:
>> git clone git://git.debian.org/git/pkg-fso/linux-2.6-openmoko.git
>>
>> finally succeeded
>
> Which command did you use? It fails on agricola.d.o [1] with debuild,
> more on that in the following days [2].
"git clone" succeeded, make did not. After I copied /proc/config.gz
from my running system to .config and added those three CONFIG-options
I mentioned
make
finally failed with
kernel/built-in.o: In function `timespec_add_ns':
/root/debian/debian-linux/linux-2.6-openmoko/include/linux/time.h:174: undefined reference to `__aeabi_uldivmod'
Is this the same failure?
>> but I see no debian/ directory.
>
> It's in the debian Git branch [3].
debian-armel:~/debian/debian-linux/linux-2.6-openmoko# git branch
* stable
showed only one branch so I did not see it. Now I noticed that it's a
remote branch:
debian-armel:~/debian/debian-linux/linux-2.6-openmoko# git branch -r
origin/HEAD
origin/debian
origin/stable
so 'git checkout origin/debian' is what I want?
>> How should I build the package? Use make-kpkg?
>
> No, you should use debuild or, better, wrapper like pdebuild. Once
> you've setup your QEMU armel image as explained at [4], cd into the
> linux-2.6-openmoko Git local repository and start compiling with
>
> $ pdebuild --pbuilder qemubuilder --configfile $CONFIG_QEMUBUILDER
Ah so I should run pdebuild on x86 and it would then start
qemubuilder? I was originally asking if I can just dpkg-buildpackage
inside qemu.
> But as I said before, please be patient: the kernel got a lower position
> because we want to upload as many packages as we want to Debian main.
Sure, I was only asking this so that I know I am working with the same
source and can therefore fix bugs before official packages have them.
More information about the pkg-fso-maint
mailing list