This also sneaks in a change to add 'quiet' on the kernel cmdline, to
remove some kernel msg noise on the screen that overwrites the splash
sometimes on boot.
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7112>
This adds support for having a custom install/deploy, where if
`/etc/os-installer/deploy.sh` exists then pmbootstrap generates an
image, exports it, then calls deploy.sh with the path to the image it
created, and does NOT call pmbootstrap install with --disk. deploy.sh
comes from device packages that need to implement custom image
deployment stuff, when using --disk is not appropriate.
If deploy.sh doesn't exist then the standard install (using --disk) will
take place.
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7112>
Running the service for wl1251-cal before udev is partly responsible for very
slow boot observed on the N900 when using systemd. This is likely because of
the dependency on /lib/firmware.
Provide the NVS in /run instead, an idea borrowed from msm-firmware-loader. It
is safe to permanently overwrite the user-defined firmware search path since
the N900 does not need firmware that would be expected to be in
/lib/firmware/postmarketos.
Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7234>
COSMIC is configured by default to allow "over amplification" of audio,
which is probably going to drive systems with sensitive speaker setups
(like macbooks, and the x13s) too hard. 100% on these is already plenty
loud. Users can override this default by flipping the switch in COSMIC
Settings app if they really want it.
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7251>
Upgrading from an older LTS (6.6.y) to the latest LTS (6.12.y) version.
The config updates are simply "make olddefconfig" along with kconfig
check fixes.
6.12.y appears to behave identically to 6.6.y on veyron-minnie and
mickey. All feature testing showed the same results between the kernels.
I used a GNOME image. Appears to be working on minnie: battery, screen,
touchscreen, keyboard, touchpad, audio (headphones), camera, lid sensor.
Appears to be working on both: 3d acceleration, wifi, bluetooth, FDE,
USB-A, HDMI. HDMI audio worked on mickey. Speakers and HDMI audio didn't
work on minnie.
Audio was tested using "aplay -D sysdefault", because pipewire is
failing with a LUA incompatibility. But I didn't spend too much time
fiddling with alsamixer.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7225>
6.17 kernel config builds many things as modules now
Audio is pretty much broken on pulseaudio and I don't care to debug it.
It works with pipewire/pw-pulse, so let's use that by default.
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7224>
Upstream now has a fragment so we no longer need 'device.config', but
there are some bugs with it (reported upstream) so we need to patch it
for now.
pmos.config fragment was also re-sync'd with kconfigcheck.toml
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7224>
This daemon configures the modem manager bearers. And
while, due to audio not yet working, this might not yet
be that interesting for VoLTE/VoNR, this configures the
XTRA source and hence increases the chance of a working
GPS with A-GPS and a quick location fix.
Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7044>
for subpackages. abuild picks them up automatically. They are only
needed when using "-" within the subpackage suffix, as that is not a
valid character in shell scripts function names
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6221>
In the process, bump the pkgver to 1 similarly to what we do with
device packages where version numbers don't have a meaning. We
specifically don't create a subpackage, since the app is in flathub,
which is officially supported by the provider, and is a common way for
most non-technical users to ust it, since it's offically endorsed.
Unconditionally opening this really high port should also not increase
the attack area in any remarkable way.
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6221>