Hi all,

I just got my raspi to boot from Redsleeve 7 (armv5tel) for the first time !

What I did was build everything in the buildsys-build goup against F18
with the bootstrap option. This caused some minor headache with
incompatible libraries, but in the end proved to be quite do-able.
My second goal was to build everything needed for a minimal install
(with all needed dependencies and build tools). This was quite a pain. I
would never have guessed how many packages were needed for that and how
many circular references there are in the tree. But with some more
bootstrap builds against F18 and, if that not worked, some packages from
F18 directly (or from C7 if they were "noarch") I now more-or-less
completed that stage.

I could not find a handy redhat srpm tree, so I started out with centos.
I did not do much in the area of de-branding, except for a
redsleeve-release package. This work is therefore still to do.

Generally rebuilding C7 is much easier than C6, as most packages do not
need any patching, they just build.

issue list:
- kernel: I found that the initial kernel package builds for arm. the
later ones have an arm incompatible patch (hmm, can't recall what it was
exactly) also I needed a patch as described here: 
https://lkml.org/lkml/2013/12/11/798  In the end my kernel for BCM2835
did not boot on the raspberry pi, I'm back to the binary kernel from
https://github.com/raspberrypi/firmware/
- numactl: (needed for kernel build) I finally found how to patch for
arm: https://wiki.linaro.org/LEG/Engineering/Kernel/NUMA
- mariadb: do not use the latest version, as it will break some build
deps for other packages: https://bugzilla.redhat.com/show_bug.cgi?id=1166603
- these packages exclude arm from the available archs (and I do not care
much as the system runs without): biosdevname, irqbalance,
dmidecode, microcode_ctl, grub2
- a couple of other packages needed minor patches. most of them were
needed when building against F18 and not when building against RSEL7.
I'll report on those if I find the patches are still needed.
- atlas: has hardcoded references to a hard FPU. needs patching.
- qt4: fails to build. I now use the qt4 from F18 which is almost the
same version. this needs some more research
- java fails to build. (time is more than 10 years from present:
1104530400000;
http://mail-index.netbsd.org/pkgsrc-users/2014/12/30/msg020843.html) I
now use java from F18
- libreport fails to build ('json_object_object_get' is deprecated)
again I now use the one from F18

The next couple of days I will try to complete this stage (some more
builds and some install-time dependencies) and put it all online
somewhere. As it is already 5GB I think this will be too much for Al's
hospitality, so I'll probably host it at my home.

Next step is then to move my odroid build system to RSEL 7, build
everything again and make some images.

Jacco


_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to