For 6 I always did something similar to Gordan. although I normally try
to make rpms for the kernels, I then have less/no handwork at the end.
for 7 I use RBF. https://github.com/mndar/rbf/ which gives a much better
repeatable result.
somehow I was not able to make RBF work for 6, can't remember why.
For inspiration, I add the rpi2 rbf template to this mail.
Jacco
On 19-08-16 10:38, Gordan Bobic wrote:
> I haven't tried recently, but I don't recall having to do anything
> as complex. IIRC the process I followed was more along the lines of:
>
> 1) Create a .repo file on the host for RSEL (with enabled=false),
> unless you are already using a similar RSEL release.
> 2) Run:
> yum --installroot=/path/to/image/chroot \
> --disablerepo=* --enablerepo=rsel \
> install @base
>
>
> That should take care of the rootfs, then you have to sort
> out the kernel and booting related details.
>
> Gordan
>
> On 2016-08-19 08:37, Bjarne Saltbæk wrote:
>> To Jacco.
>>
>> Would you like to share how you build the rsel 6 and 7 rootfs's ?
>>
>> I have tried making one - please see
>>
>> https://gitserver.dev.saltbaek.dk/blob/?f=bootstrap-rsel7-rootfs.sh&r=IoT/rootsfs-scripts.git&h=master
>>
>>
>>
>> Is it close to similar to yours?
>>
>> BR,
>>
>> Bjarne
>>
>> Sendt fra Outlook [1]
>>
>>
>> Links:
>> ------
>> [1] http://aka.ms/weboutlook
>> _______________________________________________
>> users mailing list
>> [email protected]
>> https://lists.redsleeve.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> [email protected]
> https://lists.redsleeve.org/mailman/listinfo/users
<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]
https://lists.redsleeve.org/mailman/listinfo/users