[Arm-dev] Bananapi / C7

Rob Verduijn rob.verduijn at gmail.com
Tue Sep 1 16:05:22 UTC 2015


Hi,

I'm using this little script to update my update uboot on my fedora22 bpir2
https://github.com/Hexxeh/rpi-update

It uses git to pull the latest firmware from the raspbery git repo and
then install it while running.

Maybe you can use it to find some inspiration in it for a post-install
rpm script :-)

Regards
Rob Verduijn






2015-08-24 17:45 GMT+02:00 Johnny Hughes <johnny at centos.org>:
> On 08/23/2015 07:48 AM, Nicolas wrote:
>> Hello
>>
>> I made some others tests for Bananapi and Centos image.
>>
>> Image generated with rbf is 4.3GB. I think we should shrink it to 4GB to
>> allow people use 4GB cards.
>>
>> Maybe on a howto we can tell users to do :
>> - install ntp (no clock on bananapi)
>> - enable led activity
>>     - /sys/class/leds/bananapi\:green\:usr/trigger with on the following
>> option :
>>     [none] usb-gadget usb-host cpu0 cpu1 mmc0
>>     mmc0 is a good choice.
>> - make eth0 dhcp by default
>>
>> I did a yum update,
>>
>>  kernel armv7hl 4.2.0-0.rc2.git0.1.centos.el7
>> c7pass1                          60 k
>>  kernel-core armv7hl 4.2.0-0.rc2.git0.1.centos.el7
>> c7pass1                          17 M
>>  kernel-modules armv7hl 4.2.0-0.rc2.git0.1.centos.el7
>> c7pass1                          11 M
>> Updating:
>>  avahi armv7hl 0.6.31-14.el7 c7pass1                         245 k
>>  avahi-autoipd armv7hl 0.6.31-14.el7 c7pass1                          38 k
>>  avahi-libs armv7hl 0.6.31-14.el7 c7pass1                          54 k
>>  kernel-tools armv7hl 4.2.0-0.rc2.git0.1.centos.el7
>> c7pass1                         110 k
>>  kernel-tools-libs armv7hl 4.2.0-0.rc2.git0.1.centos.el7
>> c7pass1                          65 k
>>
>> But I got the error :
>>
>> /usr/lib/kernel/install.d/51-dracut-rescue.install: line 59:
>> /boot/loader/entries/5f978b1f46204461b2d19e876ea201d6-0-rescue.conf: No
>> such file or directory
>> warning: %posttrans(kernel-core-4.2.0-0.rc2.git0.1.centos.el7.armv7hl)
>> scriptlet failed, exit status 1
>> Non-fatal POSTTRANS scriptlet failure in rpm package
>> kernel-core-4.2.0-0.rc2.git0.1.centos.el7.armv7hl
>
> The kernel updates will not happen right now via the RPM .. that has to
> be a manual process because of the uboot process.
>
> We would like someone smart to figure out how to make that process
> happen in a way we can roll it into the SRPM :)
>
>
> _______________________________________________
> Arm-dev mailing list
> Arm-dev at centos.org
> http://lists.centos.org/mailman/listinfo/arm-dev
>


More information about the Arm-dev mailing list