Skip to content

main/postmarketos-base: remove networkmanager from depends

Bart Ribbers requested to merge postmarketos-base-networkmanager into master

NetworkManager really doesn't belong in our base. If a UI depends on it, it should enable it itself.

This MR also allows switching both Asteroid and Glacier to connman instead, which their Mer base uses/requires. SSH, at least on Qemu, still works for all UI's in my tests.

I tried also getting rid of the sudo dep in postmarketos-base, but it results in an unbootable system:

[    0.915535] Run /init as init process
[    0.916535] Failed to execute /init (error -2)
[    0.917547] Run /sbin/init as init process
[    0.918472] Run /etc/init as init process
[    0.919400] Run /bin/init as init process
[    0.920292] Run /bin/sh as init process
[    0.921668] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[    0.926266] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.36-0-lts #1-Alpine
[    0.927794] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[    0.930826] Call Trace:
[    0.931638]  dump_stack+0x6b/0x83
[    0.932821]  ? rest_init+0x20/0xb4
[    0.933795]  panic+0x101/0x2c5
[    0.934640]  ? kernel_execve+0x14a/0x1c0
[    0.935533]  ? rest_init+0xb4/0xb4
[    0.936295]  kernel_init+0x101/0x10c
[    0.937074]  ret_from_fork+0x22/0x30
[    0.938262] Kernel Offset: 0xe000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    0.940746] ---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. ]---

So I'll probably take a look at that later...

Merge request reports