Re: Bringing Mobian closer to Debian
On Thu, Sep 9, 2021 at 12:38 PM 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.
Other options would be to:
* reconfigure the Android bootloader to not do that for Debian
* replace the Android bootloader with a Debian one
* chainload from the Android bootloader to a Debian one
--
bye,
pabs
https://wiki.debian.org/PaulWise
Reply to: