When building immutable images, we'll be putting /etc into
/usr/share/factory, and then using systemd-tmpfiles to symlink all of
that stuff under /etc. When systemd installs into this dir, it leads to
accidentally adding some "example" config to the system's runtime
config, e.g. adding pam config with a comment like this which completely
breaks login/auth for many UIs (Phosh, Plasma Mobile, etc) :
# You really want to adjust this to your local distribution. If you use this
# unmodified you are not building systems safely and securely.
I could technically just scrub this dir when building immutable images,
but tbh I can't think of any reason why we'd want to ship this in the
first place.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6915
1. Relocate the WLR_BACKEND environment variable away from sway subpackage to
enable its use on other wlroots compositors. Install this for any wayland
environment, even though it is only useful under wlroots. However, there are
currently many wlroots versions in Alpine to come up with a sane install_if
directive.
2. Add the USB PHY driver (isp1704) to the initramfs to allow the charger
driver to autodetect the charger type and pull higher current as needed.
Improves upon e040fa5e51 ("device-nokia-n900: initfs: add charger driver")).
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6908
- Remove all contributor lines
- Use maintainer comment
- Add myself to .mailmap
[ci:ignore-count]
[ci:skip-vercheck]: some just have the co-maintainer changed and bq-tenshi is in archived
[ci:skip-build]: CI tries to build device/archived/, except that it built successfully
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6899
apk-tools has a bug in connection with handling symlink in some scenarios,
which is an issue for xkeyboard-config, which installs a symlink since version
2.45. implement Alpine workaround until apk-tools is fixed.
Fixes: 5edf40fbe9 ("xkeyboard-config: upgrade to latest upstream")
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6891
[ci:skip-build]: already built successfully in CI
systemd's meson.build looks up various systems utilties at build-time.
This wasn't a problem before, but as our buildroots are now usr-merged
we can no longer expect that meson's $PATH traversal results in a path
to a binary on non-usr-merge system. We need to state our expectations
explictly now.
This also removes some unneeded options. meson's get_option returns on
booleans without any default `true`.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6884
[ci:skip-build]: already built successfully in CI
This does a hack to removing the need to build the stuff in src/boot for
enabling bless-boot. Previously I tried to enable bless-boot by adding
-Dbootloader=enable, which would be required without this hack, but
cross-compiling systemd/src/boot failed on 32-bit archs and it seemed
unnecessary to go down that rabbit hole to debug/fix.
Why? Because:
1) It's not actually needed for building the stuff I care about enabling
in this MR (systemd-bless-boot and its generator). These things build
and work just fine without building stuff in src/boot.
2) Even if it worked, we would have to remove the artifacts made
from src/boot and not package them here. They would conflict with the
systemd-boot package in Alpine.
So it seems pointless to waste time fixing some weird cross-compiling
issue for some components that don't actually need to be built to enable
the extra features I want and would be discarded anyways in package()
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6840
This forces the volume keys to wake up the screen.
For now, this device has no other method of waking up the screen if no
external input methods are attached.
On the vendor's Android OS the proximity sensor wakes up
the screen, but it doesn't work on pmOS yet.
The touchscreen is disabled when the screen is blanked, so we cannot use
it to wake up the device.
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6832
[ci:skip-build]: already built successfully in CI
This adds the config file for the maXTouch mXT1664S file for v1awifi.
The only difference to the original config is, that CTE_SCAN is disabled,
because it made the touchscreen unusable on linux.