Commit graph

1581 commits

Author SHA1 Message Date
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
Bart Ribbers
552454b41b
main/waydroid-image: new aport (MR 2588)
This used to be in Alpine but they don't want what is basically a giant
unknown blob, and for good reasons. However we do want to provide these
images for ease of install and quality-control, so let's ship it in pmOS
instead
2021-10-10 18:12:28 +02:00
Oliver Smith
e27235c2ab
main/postmarketos-android-recovery-installer: upgrade to 1.0.5 (MR 2587) 2021-10-10 12:31:06 +02:00
Alexey Minnekhanov
0d193279ff
main/lk2nd: fix version display on lk2nd screen (MR 2585)
When building from tarball git tag is not available.
We need to pass version number manually.

This chnage is cosmetic, but will allow users to easily
identify version and source of their bootloader.
2021-10-10 00:13:58 +03:00
Martijn Braam
7702d95983
main/postmarketos-theme: new aport (MR 2582) 2021-10-10 00:04:23 +03:00
Clayton Craft
834d15b804
main/linux-postmarketos-rockchip: upgrade to 5.14.9 (MR 2567)
[ci:skip-build] Already built successfully on CI
2021-10-07 08:39:46 +02:00
Alexey Minnekhanov
1b869ed064
main/lk2nd: new package (MR 2570)
Package secondary LK bootloader for some Qualcomm devices
(for now: msm8916, msm8974, msm8226).

Bootloader binary is built from source in x86_64 chroot.
Two targets are built in a sequence. Then package is split
into 2 subpackages, each of them installs `/boot/lk2nd.img`.
So the end result is - lk2nd-msm8916 and lk2nd-msm8974 can't
be installed at the same time.

Device- packages then can depend on specific subpackage of this
package and have proxy-bootloader image ready to use in /boot.

This can improve user experience with installing postmarketOS on
several devices using only pmbootstrap tool.
At the very least, pmbootstrap can suggest user to flash lk2nd
immediately after `pmbootstrap install` or even offer some kind
of `pmbootstrap flasher` integration.

This will also open possibilities to automatically update and flash
lk2nd using package manager, it we ever want this.
2021-10-07 08:28:22 +02:00
Yassine Oudjana
d5a197a10e
main/linux-postmarketos-qcom-msm8996: upgrade to 5.15.0-rc4 (MR 2574)
[ci:skip-build] Already built on CI in MR
2021-10-06 17:04:46 +03:00
Luca Weiss
16d6ea0b17
main/linux-postmarketos-qcom-sm6350: new aport (MR 2562) 2021-10-02 17:42:26 +02:00
Clayton Craft
4cb1fb71d1
linux-postmarketos-allwinner: upgrade to 5.14.6 (MR 2549)
from megi's changelog:
- add a buffer overflow fix for https://lkml.org/lkml/2021/9/20/152

[ci:skip-build]: already built successfully in CI
2021-10-02 14:52:35 +02:00
Martijn Braam
7d484de261
main/postmarketos-tweaks: upgrade to 0.8.0 (MR 2561) 2021-09-29 19:40:01 +02:00
Jakob Hauser
b0cdf66653
main/postmarketos-ui-xfce4: further improvements (MR 2506)
Improvements from xfce4-phone source:
- Add screenshot to README.md
- Enable screen locking
- Disable Desktop icons "Home", "File System", "Trash"
- Enable single-click on Desktop
- Enable single-click in Thunar
- Change clock format
- Set postmarketos wallpaper

Additional changes in postmarketos-ui-xfce4:
- Installing greybird-themes (which is already set as default theme in
  /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml).
- Changing /etc/skel/.config/autostart/onboard-autostart.desktop to
  slightly speed up keysboard startup (overriding startup-delay of
  /etc/xdg/autostart/onboard-autostart.desktop).
- Enabling scrollbars by /etc/profile.d/enable-scrollbars.sh, this is
  helpful where touch-scrolling doesn't work like e.g. in whiskermenu.

(And re-ordered network-manager-applet in APKBUILD _pmb_recommends
section.)

Also removing xfce4 subpackages of device-qemu-amd64,
device-qemu-aarch64 and device-nokia-n900. The device specific monitor
to set the wallpaper will now be automatically derived from "monitor0"
in file xfce4-desktop.xml.

Additionally taking maintainership as discussed in merge request
(!2506).
2021-09-29 18:29:54 +03:00
Bart Ribbers
196bd6138f
main/postmarketos-ui-plasma-bigscreen: add plank-player to pre-installed apps (MR 2551)
Plank Player is the default video player used by Plasma Bigscreen

[ci:skip-vercheck] No need to bump pkgrel as we're not touching the
package metadata
2021-09-28 14:08:08 +03:00
Nikita Travkin
bc50dd0279
main/msm-firmware-loader: add a package to load firmware on msm devices (MR 2431)
Many devices need proprietary firmware blobs. So far those blobs were
packaged and installed from the repository but this approach has many
drawbacks:

- The rootfs can only be used on a single device model.
 - If a model has multiple variants that have diferent secire-boot key,
   each must have it's own firmware blobs.

This makes maintaining packaged firmware very hard and outweights the
benefits of having a repeatable installation in most cases.

Instead we can load blobs dynamically from preexisting firmware
partitions that usually have same structure and contain the blobs we are
interested in.

The proposed scripts place symlinks to the blobs in a special dir that
then given to the kernel. Blobs from firmware/postmarketos (or another
dir that was set as extra path prior the script execution) will take
priority which allows to override some blobs (e.g. for deviecs with no
secure-boot)
2021-09-27 15:23:47 +03:00
Henrik Grimler
ed1e314287
linux-postmarketos-exynos4: upgrade to 5.15-rc2 (MR 2546)
Also add patches from the Replicant project to fix so that charging
works, and patches from the linux-pm list to fix the SOC INTR message
that has been spamming our dmesg (issue
https://gitlab.com/postmarketOS/pmaports/-/issues/1214).
2021-09-25 11:51:27 +02:00
Jakob Hauser
75a395fb9c
main/postmarketos-ui-mate: take maintainership (MR 2537) 2021-09-24 11:58:56 +02:00
Raffaele Tranquillini
ad1681c190
main/postmarketos-qcom-msm8996: add support for Anbox and Waydroid (MR 2529)
Add kernel flags needed for Anbox and Waydroid to work

[ci:skip-build] Already built successfully on CI

Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
2021-09-24 11:25:55 +02:00
Clayton Craft
45e07704df
main/postmarketos-mkinitfs: upgrade to 1.1.1 (MR 2540) 2021-09-21 10:40:54 +02:00
Newbyte
642628a116
main/linux-postmarketos-exynos4: upgrade to 5.14.5 (MR 2532)
Also add patches that should fix backlight control, add reboot modes,
and work around a nasty eMMC corruption issue.

[ci:skip-build]: already built successfully in CI
2021-09-19 17:14:25 +02:00
Minecrell
d535b170e2
main/linux-postmarketos-qcom-msm8916: upgrade to 5.14 (MR 2535)
- Update to Linux 5.14
- Enable new RPMSG WWAN CTRL driver that is now used to communicate
  with the modem through the new WWAN subsystem in Linux
- Minor fixes for ARM32
- Enable some additional options in kernel config (F2FS, UHID, LED triggers)
- Add TravMurav as second maintainer
2021-09-19 17:03:31 +02:00
Newbyte
040458ea81
main/linux-postmarketos-stericsson: support containers kconfig (MR 2522)
[ci:skip-build] already built successfully in CI
2021-09-18 19:47:49 +02:00
Newbyte
c14f630f55
main/linux-postmarketos-stericsson: support anbox kconfig (MR 2522) 2021-09-17 16:34:04 +02:00
Newbyte
e26c4e19fb
main/linux-postmarketos-stericsson: add myself as maintainer (MR 2522) 2021-09-17 16:34:04 +02:00
Newbyte
a7d1a3ed35
main/linux-postmarketos-stericsson: upgrade to 5.15-rc1 (MR 2522) 2021-09-17 16:34:04 +02:00
Alexey Minnekhanov
ffbb8f6c8d
main/linux-postmarketos-qcom-msm8974: upgrade to 5.14.2 (MR 2508)
* enable CLK_VIBRATOR for lg-hammerhead
2021-09-16 21:49:06 -07:00
Clayton Craft
5963a970d5
main/postmarketos-mkinitfs: upgrade to 1.1 (MR 2516)
Changelog: https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/tags/1.1

Fixes #1234
2021-09-16 10:38:00 +02:00
Jakob Hauser
be10b94733
main/postmarketos-ui-mate: Change terminal colors (MR 2525)
The text color in mate-terminal is currently dark brown on black
background. Therefore hardly readable.

Changing text color to light gray on black background.
2021-09-16 10:31:29 +02:00
Newbyte
7c690db318
main/linux-postmarketos-qcom-msm8939: fix defconfig (MR 2519)
* Idol3 panel have been renamed, so update the defconfig to
  reflect that.
* add finduitls to makedepends (MR 2519)
  Gets rid of "find: unrecognized: -printf" in build log.

Fixes 80a70aab92

[ci:skip-build] Already built on CI in MR
2021-09-14 16:10:04 +03:00
BO41
80a70aab92
main/linux-postmarketos-qcom-msm8939: upgrade to 5.14 (MR 2509) 2021-09-14 09:42:57 +02:00
Raffaele Tranquillini
4aea6bf381
main/linux-postmarketos-qcom-msm8996: enable CONFIG_BACKLIGHT_QCOM_WLED (MR 2515)
This is needed for devices such as Xiaomi Mi 5 (gemini), having backlight embedded in the panel controller

Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
2021-09-14 09:31:20 +02:00
Newbyte
a12d9e54b6
main/linux-postmarketos-allwinner: enable support for Wacom USB tablets (MR 2480)
[ci:skip-build] Already built on CI in MR
2021-09-13 21:33:13 +03:00
Bart Ribbers
402ad5deaa
main/linux-postmarketos-allwinner: upgrade to 5.14.1_git20210908 (MR 2504)
Fixes an issue where /dev/video2 can't be used by Megapixels (and thus
Megapixels crashing) when having PipeWire installed. The problem was
that the node could only be used by a single application, which was
PipeWire in that case.

[ci:skip-build]: just built successfully in CI
2021-09-13 01:09:12 +02:00
Bart Ribbers
88e6fb6caa
main/linux-postmarketos-allwinner: fix checksums 2021-09-11 22:35:47 +02:00
Bart Ribbers
d984517405
main/linux-postmarketos-stericsson: enable CONFIG_PSI (MR 2497)
[ci:skip-build] Will take way too long
2021-09-11 17:30:29 +02:00
Bart Ribbers
c9086835dc
main/linux-postmarketos-qcom-sm8150: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
3128266f80
main/linux-postmarketos-qcom-sdm660: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
0f2aae40b5
main/linux-postmarketos-qcom-msm8996: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
a071383eb2
main/linux-postmarketos-qcom-msm8974: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00