[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bringing Mobian closer to Debian




Le 09/09/2021 à 15:04, Guido Günther a écrit :
> Hi,
> On Thu, Sep 09, 2021 at 02:38:27PM +0200, Arnaud Ferraris wrote:
>>
>>
>> Le 09/09/2021 à 06:29, Paul Wise a écrit :
>>>> - initramfs scripts & hooks
>>>
>>> Any examples?
>>
>> Oh, I forgot that point! Here's the nastiest example I have:
>> https://gitlab.com/mobian1/devices/oneplus6-tweaks/-/blob/master/tweaks/initramfs-tools/scripts/init-premount/mobian
>>
>> This one is a workaround to the Android bootloader (at least on OnePlus
>> 6) appending `root=...` and `ro` cmdline parameters to our own cmdline,
>> effectively shadowing our chosen values for those and causing Mobian's
>> boot process to fail.
> 
> flash-kernel has some machinery for something similar:
> 
>   https://salsa.debian.org/installer-team/flash-kernel/-/blob/master/initramfs-tools/hooks/flash_kernel_set_root#L113

Looks like we're trying to solve the same issue indeed, there's probably
room for mutualizing things here.

Cheers,
Arnaud

> 
> Maybe this can be extended?
>  -- Guido
> 
>>
>> Cheers,
>> Arnaud
>>


Reply to: