On 20-09-15 17:29, Bjarne Saltbaek wrote:
> Hi Jacco.
>
> On 20-09-2015 01:57, Jacco Ligthart wrote:
>>> Good luck. I have tried and tried and tried and I cant get RBF
>>> working. Not even with the CentOS 7 templates supplied.
>>> And documentation is not very good.
>> I just now tried rbf. For me it worked exactly as it supposed to do. I
>> got a working image on the first try. (actually second try, in the first
>> try I installed a rpi1 kernel for a rpi2 machine)
>> interested in the .xml?
> I must be a complete noob then :-D
> In all :)
> How did you do it? From with OS?
> I assume that you can build the QEMU Centos7 template easy as well?
Ok I did 'it' in three easy steps :)
1. download rbf
2. create template (and a local repo for core comps)
3. /rbf.py build templates/rpi2_redsleeve.xml
this was all from RedSleeve7.1 of course.
I'll make you an image, but I don't know really what kernel there is
sopposed to be in an QEMU image.
Jacco
<template>
<board>rpi2</board>
<image size="1G" type="raw" path="rpi2-redsleeve-image.img"></image>
<partitions>
<partition size="64M" type="primary" fs="vfat" mountpoint="/boot"></partition>
<partition size="960M" type="primary" fs="ext4" mountpoint="/"></partition>
</partitions>
<packages>
<installer>yum</installer>
<releasever>7</releasever>
<group>core</group>
<package>chrony,raspberrypi-config,raspberrypi2-firmware,raspberrypi2-kernel,raspberrypi2-kernel-firmware,rng-tools</package>
</packages>
<stage1loader>none</stage1loader>
<uboot>none</uboot>
<rootfiles>none</rootfiles>
<firmware>none</firmware>
<kernel type="none"></kernel>
<config>
<hostname>rpi2</hostname>
<selinux>disabled</selinux>
<rootpass>password1234</rootpass>
<rootsshkey>none</rootsshkey>
<network>
<interface name="eth0" config="dhcp">
</interface>
</network>
</config>
<etcoverlay>./etc</etcoverlay>
<finalizescript>./boards.d/finalize.sh</finalizescript>
<distro>redsleeve</distro>
<repos>
<repo name="base" path="http://www.mirrorservice.org/sites/ftp.redsleeve.org/pub/el7/packages/base/"></repo>
<repo name="updates" path="http://www.mirrorservice.org/sites/ftp.redsleeve.org/pub/el7/packages/updates/"></repo>
<repo name="updates-testing" path="http://www.mirrorservice.org/sites/ftp.redsleeve.org/pub/el7-devel/el7/7.1-updates-testing/"></repo>
<repo name="Redsleeve_raspberrypi" path="http://www.mirrorservice.org/sites/ftp.redsleeve.org/pub/el7-devel/el7/raspberrypi/"></repo>
<repo name="comps" path="file:///tmp/comps/"></repo>
</repos>
<workdir>/tmp/temp</workdir>
<extlinuxconf>false</extlinuxconf>
</template>
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users