Commit graph

1618 commits

Author SHA1 Message Date
Johannes Marbach
5fa1755fba
main/postmarketos-mkinitfs: add modprobe subpkgs (MR 2693)
This adds two new subpackages postmarketos-mkinitfs-modprobe-lts and
postmarketos-mkinitfs-modprobe-edge that include /sbin/modprobe in the
initfs when one of the Alpine kernels (linux-lts or linux-edge) are also
installed.

Fixes: #1294

[ci:skip-build] already built successfully in CI
2021-11-22 09:48:39 -08:00
Stacy Harper
67b82a1f3b
main/postmarketos-ui-sxmo-de-dwm: depend on dunst (MR 2692) 2021-11-22 07:52:39 +01:00
Stacy Harper
70fb840906
main/sxmo-common: change dependency to dunstify (MR 2692) 2021-11-22 07:52:39 +01:00
Minecrell
11709bdb54
main/linux-postmarketos-qcom-msm8916: upgrade to 5.15 (MR 2632)
- Update to Linux 5.15
- Upstreamed many more patches
- Major rework of CPU core boot: This is now partially handled in lk2nd
  since mainline Linux does not want to support anything except PSCI on arm64.
- Major rework of "-modem" DTB variants. Now all device trees only contain
  the full modem configuration. lk2nd can patch the DTB at runtime to get
  the alternative "no-modem" variant where audio bypasses the modem entirely.
- Rename some Samsung device trees to drop variant suffixes (e.g. *lte/*wifi)
- Lots of other cleanup everywhere
- Probably many other things I forgot :)

Device changes:
  - samsung-gtelwifiue: new device tree
    - eMMC, SD card, USB, Buttons
    - Display (no brightness control yet)
    - Touchscreen
  - gt58: touch keys and some touch fixes
    - Note: Multi-touch seems broken at the moment :<
  - samsung-a2015/samsung-serranove:
    - Battery: Report voltage as uV
    - Touch keys: Allow changing function from userspace

Kernel config changes:
  - Enable required options for AppArmor and IWD

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2021-11-21 19:11:49 +01:00
Stacy Harper
214008d8fa
main/postmarketos-ui-sxmo: splited into DE packages (MR 2684)
[ci:skip-vercheck]
2021-11-17 20:19:58 +01:00
Paul Spooren
56f48ef255
main/postmarketos-ui-sway: add polkit-elogind dependency (MR 2677)
Without the explicit dependency to `polkit-elogind` the packages
`polkit` and `polkit-libs` are installed. This however prevents starting
`sway`. Below is the error message from the `tinydm` log:

```
00:00:00.028 [ERROR] [wlr] [libseat] [libseat/backend/logind.c:310] Could not activate session: Interactive authentication required.
00:00:00.028 [ERROR] [wlr] [libseat] [libseat/libseat.c:79] No backend was able to open a seat
00:00:00.028 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented
00:00:00.028 [ERROR] [wlr] [backend/session/session.c:218] Failed to load session backend
00:00:00.028 [ERROR] [wlr] [backend/backend.c:353] Failed to start a DRM session
00:00:00.028 [ERROR] [sway/server.c:53] Unable to create backend
```

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-11-14 21:39:44 +01:00
Oliver Smith
72c2f02a06
main/linux-postmarketos-allwinner: enable iwd opts (MR 2565)
Enable options required to run iwd instead of wpa_supplicant for the
aarch64 kernel config. Make it easier to test this, before we consider
switching to iwd as default (and enforcing kernel options in all devices
in main and community).

[ci:skip-build]: already built successfully in CI before disabling
CRYPTO_USER_API_ENABLE_OBSOLETE. I've built and verified the aarch64
version with this disabled locally, and I'm pretty sure that the armv7
version will build successfully too. So let's avoid the wait here.
2021-11-14 21:30:18 +01:00
Oliver Smith
3d06bf36dc
main/postmarketos-ui-*: link to UI pkg reference (MR 2683)
Let every postmarketos-ui-* package have a link on top that points to
the new UI package reference. Do not put the link in <>, as it was done
with other references, since there's no benefit to it. It doesn't look
better and it doesn't make it easier to click the link or something, I
just did this initially because I saw it in GPL license headers.

[ci:skip-vercheck] [ci:ignore-count]
2021-11-14 18:30:27 +01:00
Stacy Harper
7bf9401273
main/postmarketos-ui-sxmo: fix build issue with a fallback to one single package 2021-11-12 21:00:26 +01:00
Stacy Harper
a8e61ecd59
main/postmarketos-ui-sxmo: fix reverse dependency build issue 2021-11-12 20:17:42 +01:00
Stacy Harper
69533cc728
main/postmarketos-ui-sxmo: add -de virtual subpackage dependency (MR 2674) 2021-11-12 17:11:30 +01:00
Stacy Harper
b2c4acc115
main/postmarketos-ui-sxmo: upgrade to 1.6.0 (MR 2664) 2021-11-12 16:01:42 +00:00
Paul Cercueil
01f19ace27
main/linux-postmarketos-exynos4: Enable RFKILL (MR 2661)
Enable CONFIG_RFKILL in the kernel configuration for Exynos4 devices.

This allows Gnome's Bluetooth panel to detect the Bluetooth controllers
present.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>

[ci:skip-build]: already built successfully in CI
2021-11-12 12:34:28 +01:00
Paul Cercueil
cdf6b3fed5
main/linux-postmarketos-exynos4: Add support for Bluetooth on i9100 (MR 2661)
Add two patches that fixes the Bluetooth node in the Device Tree of the
Galaxy S2 (i9100).

These two patches are not upstream yet, but were accepted by the
maintainer for inclusion in Linux 5.17.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2021-11-12 12:32:49 +01:00
Oliver Smith
69dc4449f0
main/postmarketos-ui-phosh: depend on mm-openrc (MR 2675)
Let postmarketos-ui-phosh depend on modemmanager and
modemmanager-openrc, so we ensure both get installed before the
post-install script runs. The post-install script will not be able to
enable the modemmanager openrc service otherwise.

Related: issue 1297
2021-11-12 00:22:52 +01:00
Jami Kettunen
659b8240ac
linux-postmarketos-qcom-msm8998: enable Waydroid configs (MR 2672) 2021-11-10 23:25:15 +01:00
Federico Amedeo Izzo
cc123ebbef
pine64-pinephone: Add support for eMMC Vccq hardware mod (MR 2665)
[ci:skip-build]: already built successfully in CI
2021-11-10 20:05:52 +01:00
Jami Kettunen
805d792ec1
linux-postmarketos-qcom-msm8998: new pmaport (MR 2591)
Add main/linux-postmarketos-qcom-msm8998 as shared mainline kernel for
all MSM8998 devices.
2021-11-08 12:07:42 +02:00
Bobby The Builder
33041ca535
main/crust: upgrade to 0.5 (MR 2648)
[ci:skip-build] already built successfully in CI
2021-11-07 19:37:00 -08:00
Nikita Travkin
316745a171
main/postmarketos-mkinitfs: Center splash images on the screen (MR 2662)
Alpine patches busybox to support image alignment in [1].
So far we don't need to align the spalshes in postmarketOS as those are
generated per device. However with generic images it becomes impossible
to support multiple resolutions with this approach.
Set the alignment to "Center" in fbsplash config so generic system
images can reuse the splash on multiple resolutions.

[1] - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/busybox/0008-fbsplash-support-image-and-bar-alignment-and-positio.patch

[ci:skip-build] already built successfully in CI
2021-11-07 19:33:56 -08:00
Newbyte
d3ca9ab6f6
main/linux-postmarketos-exynos4: upgrade to 5.15 (MR 2660)
[ci:skip-build] already built successfully in CI
2021-11-07 19:31:11 -08:00
Newbyte
d213b248eb
main/linux-postmarketos-stericsson: upgrade to 5.15 (MR 2663)
[ci:skip-build] already built successfully in CI
2021-11-07 19:29:20 -08:00
Alexey Minnekhanov
81c47a0912
postmarketos-mkinitfs-hook-debug-shell: add debugfs mount (MR 2655)
Very helpful and useful for debugging issues.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2021-11-06 19:05:45 +03:00
Yassine Oudjana
78f9b0c63e
main/linux-postmarketos-qcom-msm8996: upgrade to 5.15.0 (MR 2650)
Upgrade to 5.15.0, disable some unused I2C and SPI configs, and
remove msm8996 from linux-msm8996-$_tag, since $_tag already
includes msm8996 and makes the first one redundant.

[ci:skip-build] Already built on CI in MR
2021-11-02 13:48:00 +01:00
Petr Vorel
b1ec255459
main/linux-postmarketos-qcom-msm8994: new aport (MR 2411)
v5.14.15 kernel used (current newest stable).

Intended to be used also on msm8992 which has nearly the same DTS.

I haven't tested other functionality except boot to initramfs on
huawei-angler and lg-bullhead.

Some kernel config options set according to
linux-postmarketos-qcom-msm8996.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

[ci:skip-build] Already built on CI in MR
2021-11-02 13:23:21 +01:00
Alexey Minnekhanov
75a251552e
main/lk2nd: make all subpackages install the same file (MR 2638)
We should always install lk image as /boot/lk2nd.img, even for
image with appended DTB (lk2nd-appended-dtb.img). pmbootstrap tooling
will expect it this way, and also it keeps all subpackages consistent,
while also making them conflict with each other.

Add new subpackages that are explicitly named -appended, but still
install the same file.

Each device should "know" which kind of LK image it needs and should
explicitly depends on specific variant.

Having only one file `/boot/lk2nd.img` will simplify many things,
for example we don't have to introduce new deviceinfo properties
to specify which image is needed (like if we installed both of them).

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2021-11-02 02:00:58 +03:00
DolphinChips
df9d656df5
main/postmarketos-mkinitfs: fix showing custom splash after running osk-sdl (MR 2647)
Support for custom "Loading..." splashes was added in MR 1776, but
`unlock_root_partition` function is still hardcoding default "Loading..."
splash. Fix this behaviour by replacing usage of `show_splash` function with
`show_splash_loading`, which accounts for presence of custom splash.

Closes #759
2021-11-01 15:34:39 +05:00
Clayton Craft
931a460c14
main/postmarketos-mkinitfs: upgrade to 1.1.2 (MR 2528) 2021-10-31 10:00:43 +01:00
Clayton Craft
57e5655e22
main/boot-deploy: upgrade to 0.3 (MR 2528) 2021-10-31 10:00:39 +01:00
Anjandev Momi
46e52f1083
main/postmarketos-ui-sxmo: add bluetooth subpackage (MR 2628) 2021-10-30 17:05:35 +02:00
Bart Ribbers
54b2ff6979
main/postmarketos-ui-plasma-bigscreen: move mycroft to -extra subpackage (MR 2642)
MyCroft is something definitely not everybody wants, and it could in
theory even make slower devices unusable while they would otherwise work
fine with Bigscreen. Let's move it to extras so it's optional to install
2021-10-29 22:47:39 +03:00
wonderfulShrineMaidenOfParadise
d60ff7eb32
main/postmarketos-config-nftables: subpackage docker (MR 2629) 2021-10-24 15:13:11 +03:00
Oliver Smith
54414bc01e
main/postmarketos-ui-{sway,sxmo}: add seat group (MR 2631)
Fixes: https://todo.sr.ht/~mil/sxmo-tickets/394
2021-10-24 12:03:25 +02:00
Alexey Minnekhanov
6bf5f763c6
linux-postmarketos-qcom-msm8974: upgrade to 5.14.14 (MR 2620)
Last update for 5.14 kernel, next one will be 5.15

Kernel config cleanup:
* enable various USB peripherals support, per user requests:
  * usb webcams [m]
  * usb ethernet adapters [m]
* remove support for various TV tuners and DVB cards
* enable few filesystem drivers [m], like iso9660, exFAT, ntfs
* enable kernel automounter, to use with nfs (autofs, [m])
* disable CONFIG_ARM_CPUIDLE, which gets rid of annoying message
  during boot:
  /cpus/cpu@0: unsupported enable-method property: qcom,kpss-acc-v2
  Cpuidle is handled by another driver, which is still enabled:
  CONFIG_ARM_QCOM_SPM_CPUIDLE

[ci:skip-build] already built successfully in CI
2021-10-24 00:13:40 -07:00
Minecrell
ae715e09fa
main/msm-firmware-loader: add dummy wcnss subpackage (MR 2619)
firmware-qcom-msm8916-wcnss is a virtual package used for MSM8916
devices without secure boot (i.e. device that do not require signed
firmware). For those it's best to install more recent firmware by
default rather than using the firmware on the firmware partition.

firmware-qcom-msm8916-wcnss is provided by firmware-qcom-db410c-wcnss
by default, however it's still useful to make it possible to switch to
the stock firmware on the firmware partition if needed. To allow that,
add a dummy msm-firmware-loader-wcnss package that provides the virtual
package using the msm-firmware-loader.

  # apk add msm-firmware-loader-wcnss
  (1/2) Purging firmware-qcom-db410c-wcnss (1034.2.1-r2)
  (2/2) Installing msm-firmware-loader-wcnss (1-r1)
2021-10-23 14:41:28 -07:00
Jami Kettunen
ea7d9007a4
main/postmarketos-mkinitfs: support more modular kernels (MR 2590)
* xts, libaes & aes are required for root partition FDE unlocking
* evdev is required by osk-sdl for input

[ci:skip-build] already built successfully in CI
2021-10-23 14:03:28 -07:00
Clayton Craft
45ea9bec29
postmarketos-config-nftables: add forward rule to accept traffic on wlan (MR 2622)
This seems to fix the last missing piece to getting the hotspot stuff
working, at least when it's set up with networkmanager (I haven't tested
other methods, but assume this rule is still needed there too...)

fixes #1198
2021-10-22 18:35:23 +03:00
Bart Ribbers
28ef1ffb4d
main/linux-postmarketos-allwinner: add kb151 fn layer support (MR 2596) 2021-10-19 14:20:38 +02:00
Minecrell
74e8166c7d
main/postmarketos-base: fix file permissions of /etc/sudoers (MR 2610)
Installing postmarketos-base currently changes the file permissions
of /etc/sudoers:

  # apk add sudo
  # stat /etc/sudoers
  Access: (0440/-r--r-----)  Uid: (    0/    root)   Gid: (    0/    root)

  # apk add postmarketos-base
  # stat /etc/sudoers
  Access: (0044/----r--r--)  Uid: (    0/    root)   Gid: (    0/    root)

The file mode 0044 decodes to:
  - User *cannot* read
  - Group can read
  - Other can read

which does not make any sense. The "sudoers" man page makes it very
clear that this file should have a file mode of 0440 [1]
("readable by owner and group, writable by none").

This looks like a bad typo. However, given that only read permissions
were given out this shouldn't have major security implications
(except allowing all users to see who can use sudo).
Install the file with 0440 instead of 0044 to fix this:

  # apk add postmarketos-base
  # stat /etc/sudoers
  Access: (0440/-r--r-----)  Uid: (    0/    root)   Gid: (    0/    root)

[1]: https://www.sudo.ws/man/1.9.8/sudoers.man.html#Error_log_entries
2021-10-17 11:30:07 +02:00
jenneron
7c98516164
main/linux-postmarketos-grate: upgrade to 5.15.0_rc4 (MR 2579) 2021-10-16 17:03:59 +03:00
Alexey Minnekhanov
7467b235c3
linux-postmarketos-stericsson: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:18 +03:00
Alexey Minnekhanov
95ddb43499
linux-postmarketos-qcom-sm8150: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:15 +03:00
Alexey Minnekhanov
2bcbfffab4
linux-postmarketos-qcom-msm8953: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:12 +03:00
Alexey Minnekhanov
722331fef7
linux-postmarketos-qcom-msm8939: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:09 +03:00
Alexey Minnekhanov
e2b079ffdc
linux-postmarketos-qcom-msm8916: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:06 +03:00
Alexey Minnekhanov
a30bfc04be
linux-postmarketos-exynos4: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:02 +03:00
Alexey Minnekhanov
e940d5277e
linux-postmarketos-qcom-msm8974: switch to installkernel-pmos (MR 2586)
Rebuild package so kernel image is installed correctly

[ci:skip-build] Already built on CI once in pipeline https://gitlab.com/postmarketOS/pmaports/-/jobs/1664922102
2021-10-14 12:27:59 +03:00
Alexey Minnekhanov
a80d0445a7
main/postmarketos-installkernel: new package (MR 2586)
This script will be used to install postmarketOS mainline kernels.
2021-10-14 12:27:39 +03:00
Newbyte
6c1f7c1e47
main/postmarketos-ui-gnome: enable on armhf (MR 2598)
gdm is available on armhf since a while back.

[ci:skip-vercheck]
2021-10-12 11:11:47 +02:00
Pablo Correa Gómez
7f97b0dcd8
main/postmarketos-tweaks: upgrade to 0.8.1 (MR 2593) 2021-10-11 16:32:23 +03:00