pmaports w/ reMarkable 1 packages
13a7778f94
Disable the hostname management feature of NetworkManager. This isn't useful for the postmarketOS use case, where we set one hostname in /etc/hostname via pmbootstrap and want it to be used. (It makes more sense for normal PCs, which may just have the hostname 'localhost' at the end of the installation and then not be unique in the network.) NetworkManager is supposed to only change the hostname if it is set to localhost, however this detection does not work properly in postmarketOS. I've skimmed through sources of elogind, NetworkManager and OpenRC a bit and found that in OpenRC the definitive location to put the hostname is /etc/hostname. The other path, /etc/conf.d/hostname, is just a fallback. Experiments show that setting something in /etc/conf.d/hostname does prevent NM from setting a hostname offered by the DHCP server, but it's not clear to my why this happens. I suspect elogind + dbus. Disabling this feature we don't need anyway seems like a good approach to me without wasting too much time here. |
||
---|---|---|
.gitlab-ci | ||
cross | ||
device | ||
main | ||
modem | ||
non-free/sgx-ddk-um | ||
temp | ||
.clang-format | ||
.editorconfig | ||
.gitignore | ||
.gitlab-ci.yml | ||
.mrhlpr.json | ||
channels.cfg | ||
CODEOWNERS | ||
LICENSE | ||
pmaports.cfg | ||
README.md |
postmarketOS aports
Helpful resources: