16.11.2015 04:05, Andreas Färber пишет: > Am 15.11.2015 um 19:50 schrieb Matwey V. Kornilov: >> 2015-11-15 21:34 GMT+03:00 Andreas Färber <[email protected]>: >>> Am 28.10.2015 um 19:07 schrieb Matwey V. Kornilov: >>>> I've just looked through perl-bootloader. It is not so hard to implement >>>> additional module Extlinux.pm, given there is hardware support to test. >>>> But I would say that to implement extlinux support seems to be way >>>> easier than direct u-boot anyway. >>>> Patching perl-bootloader should be sufficient for correct operation of >>>> kernel RPM post/pre scripts. >>> >>> Have you looked further into implementing this? >>> >>> I am testing changes to dtb-source, but I do not have a good solution >>> for /boot/dtb symlink yet. Switching to extlinux would elegantly avoid >>> tackling that. ;) >> >> I've just tested that extlinux worked. >> I am going to start to implement initial support into perl-bootloader, > > Great, then I'll leave my hands off. > > I gathered that /etc/sysconfig/bootloader would need > LOADER_TYPE="extlinux", and Library.pm:SetLoaderType() would need to > handle "extlinux" to instantiate your new Core/Extlinux.pm. > https://github.com/openSUSE/perl-bootloader
You may follow progress here: https://github.com/matwey/perl-bootloader/commits/extlinux I'll squash my commits when ready. > > https://github.com/yast/yast-bootloader will probably also need some > love for ARM, to allow selecting (grub2 and) extlinux. > > Meanwhile, this is what I've cooked up as first step for dtb-source: > https://build.opensuse.org/request/show/344652 > That allows dual-booting linux-next and Tumbleweed kernel with a > hand-crafted extlinux.conf. > > Regards, > Andreas > -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
