Commit graph

1753 commits

Author SHA1 Message Date
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
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
Bart Ribbers
d5f48b25c8
main/linux-postmarketos-qcom-msm8953: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
536a5002ab
main/linux-postmarketos-qcom-msm8939: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
2431f5ec53
main/linux-postmarketos-qcom-msm8916: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
56407d7fbf
main/linux-postmarketos-grate: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:28 +02:00
Bart Ribbers
b17726fb14
main/linux-postmarketos-exynos4: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:28 +02:00
Bart Ribbers
164c731e7b
main/linux-postmarketos-rockchip: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:28 +02:00
Bart Ribbers
fba964eff8
main/linux-postmarketos-allwinner: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:27 +02:00
Martijn Braam
8158559a04
main/linux-postmarketos-allwinner: add kb151 support (MR 2422)
Support for the PINE64 PinePhone keyboard attachment based on the kb151
chip.
2021-09-11 14:25:39 +02:00
Jakob Hauser
fafc96da60
main/postmarketos-ui-mate: add network-manager-applet (MR 2505) 2021-09-11 06:53:07 +03:00
Oliver Smith
e048839588
main/postmarketos-mkinitfs: don't rm vmlinuz-* (MR 2501)
Adjust post-upgrade script to not remove vmlinuz-*. This causes problems
with devices using kernels from Alpine, where the kernel is not
installed to /boot/vmlinuz, as it is now the case in postmarketOS, but
e.g. in /boot/vmlinuz-rpi. The intention was to clean up files when
migrating from the old postmarketos-mkinitfs to the new one (>= 1.0.0).
However, the /boot/vmlinuz* files are managed by apk, so they should
already get removed.

Add -v, so it prints a message when removing a file from /boot.
2021-09-08 23:40:13 +02:00
Clayton Craft
380ef23882
boot-deploy: upgrade to 0.2 (MR 2500) 2021-09-08 14:11:30 -07:00
Clayton Craft
5d33039a2f
linux-postmarketos-qcom-sdm845: install kernel image in correct location (MR 2499)
kernel filename must now be /boot/vmlinuz

[ci:skip-build]: ollie is pretty sure that this will work. it's a
critical fix, so let's not delay it by waiting for two kernels to build.
2021-09-08 22:47:17 +02:00
Yassine Oudjana
01484a6a2b
main/linux-postmarketos-qcom-msm8996: Update to 5.14 (MR 2492) 2021-09-08 11:10:28 +02:00
Clayton Craft
530a777204
main/linux-postmarketos-rockchip: upgrade to 5.14 (MR 2473)
Adds the 0011 patch to fix a ethernet regression in 5.14
2021-09-07 15:51:18 -07:00
Clayton Craft
de98d83d47
linux-postmarketos-qcom-msm8996: add missing kconfig from 5.14 (MR 2491)
"make" will prompt for this option without this, causing bpo to fail.

[ci:skip-build] already built successfully in CI
2021-09-06 11:18:29 -07:00
Clayton Craft
667f158e8d
postmarketos-mkinitfs: upgrade to 1.0.2 (MR 2489)
[ci:skip-build] already built successfully in CI
2021-09-05 15:29:59 -07:00
Clayton Craft
60f80272c7
main/linux-postmarketos-allwinner: upgrade to 5.14 (MR 2471)
One patch had to be rebased
2021-09-05 13:43:04 -07:00
Martijn Braam
b9cbcc8942
main/gpodder-adaptive: remove, upstreamed (MR 2484)
[ci:skip-build] already built successfully in CI
2021-09-05 13:26:10 -07:00
Maxim Karasev
64bc486aea
main/linux-postmarketos-allwinner: fix ethernet for Orange Pi 3 (MR 2487)
[ci:skip-build] already built successfully in CI
2021-09-05 13:22:24 -07:00
Newbyte
26e7c79323
main/linux-postmarketos-exynos4: add myself as co-maintainer (MR 2423)
[ci:skip-build] already built successfully in CI
2021-09-05 19:32:15 +02:00
Newbyte
8b0d0d02d8
main/linux-postmarketos-exynos4: drop Contributor: line (MR 2423)
See https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1203
2021-09-05 19:31:04 +02:00
Newbyte
ebecf3eb05
main/linux-postmarketos-exynos4: upgrade to 5.14 (MR 2423) 2021-09-05 19:30:54 +02:00
Clayton Craft
d164248ac6
linux-*: bump pkgrel for kernels that use downstreamkernel_package (MR 2426)
This function was changed, so these packages need to be rebuilt to have
the kernel installed under the new filename 'vmlinuz'
2021-09-03 10:29:07 -07:00
Clayton Craft
822e07e662
linux-*: don't use 'flavor' in kernel name (MR 2426) 2021-09-03 10:29:07 -07:00
Clayton Craft
a2c83efeda
postmarketos-update-kernel: drop kernel 'flavor' option (MR 2426)
boot files are generic names (vmlinuz/initramfs), and 'flavor' is not
included in the filenames anymore
2021-09-03 10:08:34 -07:00
Clayton Craft
50ee94d8e3
main/devicepkg-dev: don't use kernel 'flavor' in kernel filename (MR 2426)
Kernel file names will be generic (/boot/vmlinuz).
Release path still has the 'flavor' in it so that pmbootstrap can still
get a reference to which kernel package is installed
2021-09-03 10:08:34 -07:00
Clayton Craft
1bbb98347d
main/postmarketos-mkinitfs: use new mkinitfs (MR 2426)
This replaces the mkinitfs script with a re-write (in Go). The
re-written mkinitfs will atomically replace the initfs in /boot, check
for free space before doing so, and try to do whatever it can to not
leave the system in an unbootable state by botching the initfs
creation/installation.

pmb:cross-native with go cross compiling doesn't work exactly, it makes
the correct binary, but on Alpine go uses -buildmode=pie which creates a
dynamic thing, and the interpreter is wrong (e.g. it it set to use the
host arch's interpreter, like /lib/ld-musl-x86_64 even though
GOARCH=arm64)

The init.sh script is no longer a template, "initramfs-extra" is used.

Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1019
fixes https://gitlab.com/postmarketOS/pmaports/-/issues/660
2021-09-03 10:08:34 -07:00
Clayton Craft
edb0d801c3
boot-deploy: new aport (MR 2426)
This tool is used by the new mkinitfs to finalize/install boot files.
It's based on the old mkinitfs_functions.sh, but includes some
improvements like verifying free space in target directory, and trying
to atomically mv files.
2021-09-03 10:08:34 -07:00
Stacy Harper
a7cea816c5
main/postmarketos-ui-sxmo: update to 1.5.1 (MR 2481) 2021-09-02 14:24:09 +02:00
tim
8262a41db2
linux-postmarketos-rockchip: add armv7 config and patch for broken emmc on veyron (MR 2318)
[ci:skip-build] Already built on CI in MR
2021-09-01 12:22:41 +03:00
Caleb Connolly
34623c4a0a
postmarketos-mkinitfs: fix charging-sdl for kmsdrm devices (MR 2098)
This fix was pending since before charging-sdl was deprecated and still
provides value should anyone wish to pickup and improve charging-sdl
again.

charging-sdl currently does not check for devices using mesa, even
though it supports it in the same way as osk-sdl. Check for msa support
and set SDL_VIDEODRIVER in that case.

Also fix the font path, as it was reading both keyboard-font and
keyboard-font-size from osk.conf.
2021-09-01 11:41:50 +03:00
Martijn Braam
0a4645eaec
main/postmarketos-base: depend on the keys package (MR 2477)
Have the keys be packagemanaged by default instead of preloading it
once with pmbootstrap
2021-09-01 11:37:15 +03:00
Martijn Braam
6319a1ec4b
main/postmarketos-keys: new aport (MR 2477) 2021-09-01 11:37:14 +03:00
wonderfulShrineMaidenOfParadise
6e1dd3f820
main/postmarketos-config-nftables: subpackage vncserver (MR 2479)
Co-authored-by: clayton craft <clayton@craftyguy.net>
2021-09-01 11:28:33 +03:00
Alexey Minnekhanov
b358565705
main/linux-postmarketos-qcom-msm8974: upgrade to 5.13.13 and support zram (MR 2478)
* Add support for full panel driver for samsung-klte
* Enable zram support
2021-09-01 11:19:02 +03:00
Jakob Hauser
ad75c18077
postmarketos-ui-xfce4 & -mate: Implement onboard keyboard (MR 2464)
Installing "onboard" onscreen keyboard and enabling autostart.

Option "Don't auto-show while external keyboards are connected" is
activated.

[ci:skip-build] already built successfully in CI
2021-09-01 00:20:09 -07:00
Bart Ribbers
5dca579b03
main/postmarketos-ui-plasma-desktop: install Firefox by default, enable on x86 (MR 2475)
Also remove xwayland, it already gets pulled in through KWin

[ci:skip-vercheck]
2021-08-31 08:56:12 +02:00
jenneron
9ab9b0761b
main/linux-postmarketos-grate: upgrade to 5.14.0_rc6 (MR 2437) 2021-08-30 21:25:24 -07:00
Joel Selvaraj
15a851f4fe
linux-postmarketos-qcom-sdm845: upgrade to 5.14rc6 (MR 2416)
Changes:
 - Kernel side support for ModemManager
 - Picked upcoming patch series for 5.15 + fixes, theoretically
   improving GPU perf
 - Updated patch series from lists
 - Enabled options needed to support WayDroid (network stuff maybe still
   missing???)
 - Fixes venus fw paths, firmware packages need to updated to support it
   but this will enable HW video decoding!
 - Cleanup the defconfigs
2021-08-26 03:43:56 +03:00
Nikita Travkin
a6c52f3e15
main/linux-postmarketos-qcom-msm8916: upgrade to 5.14_rc7 (MR 2458)
- Rebase on v5.14-rc7
- Upstreamed more patches
- Enable Jack detection kctls for msm8916 devices
- Probably many other things I forgot :)

Device changes:
  - gt5 family:
    - Added fuel-gauge support
    - Added sensors (Accelerometer, Light)
    - gt510 - wifi variant reworked to use multiple common layers
      - gt510lte - Added support for LTE variant
    - gt58 - New device
      - gt58lte - Support for LTE variant
      - Feature parity with gt510
   - wingtech-wt88047 (Xioami Redmi 2):
     - Add additional boe-nt35521s panel driver
   - longcheer-l8150: Fix Jack detection
2021-08-24 14:43:35 +02:00
Oliver Smith
13a7778f94
main/postmarketos-base-ui: NetworkManager: hostname-mode=none (MR 2457)
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.
2021-08-24 14:37:41 +02:00
Luca Weiss
58eaa90874
main/postmarketos-mkinitfs: change wait for subpartitions (MR 2432)
Previously it was assumed that with the counter and the sleep 0.1 the
process would take about 10 seconds to complete. On newer devices with
tens or even hundreds of partitions going through all partitions already
takes a significant amount of time, so change the logic to measure the
time elapsed instead.
2021-08-22 20:15:40 +02:00
Clayton Craft
c1a6a6511b
postmarketos-config-nftables: allow DNS from wlan* (MR 2448)
This fixes DNS when a system is connected to a pmOS device as a hotspot.

The rule is in the default set of firewall rules, instead of a
subpackage.. I think this is OK. I don't believe anything should be
listening on port 53 except when the hotspot is running...
2021-08-21 20:33:52 +02:00
Bobby The Builder
d71802cb25
main/linux-postmarketos-allwinner: upgrade to 5.13.12 (MR 2452)
[ci:skip-build] Already built on CI in MR
2021-08-21 20:27:32 +02:00
Alexey Minnekhanov
f4a6b4f8d1
main/linux-postmarketos-rockchip: enable SPI flash and autofs support (MR 2436) 2021-08-19 04:12:36 +03:00
Bart Ribbers
323c909f8c
main/postmarketos-base-ui: add "$HOME/.local/bin" to $PATH (MR 2445)
This directory is specified by the XDG Base Directory specification
(https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).
Quoting:

> User-specific executable files may be stored in $HOME/.local/bin.
> Distributions should ensure this directory shows up in the UNIX $PATH environment variable, at an appropriate place.

So let's actually do this. This way also binaries installed by e.g. Pip
or Cargo will be usable out-of-the-box rather than that the user has to
figure out why it's not appearing in their PATH.
2021-08-18 17:05:02 +03:00
Clayton Craft
2283190a93
main/postmarketos-mkinitfs: move dev node creation to initfs (MR 2407)
There should be no reason that this has to be done by mkinitfs, and
moving it to initfs simplifies mkinitfs (and the creation of a
replacement)
2021-08-16 19:04:38 +02:00
Clayton Craft
b2a82a028d
main/linux-postmarketos-allwinner: support zram kconfig check (MR 2434)
Note: building zram as a module allows for easy reconfiguration at
runtime (e.g. using the zram-init service).

[ci:skip-build] Already built in a MR
2021-08-14 18:57:39 +03:00
Bart Ribbers
4c1b607f3e
main/postmarketos-ui-plasma-mobile: clean up runtime deps (MR 2433)
plasma-nm-mobile is already a dep of plasma-phone-components
ofono is already a dep of plasma-phone-components
ofono-openrc already gets pulled in automatically through openrc and
ofono
networkmanager is already pulled in by plasma-nm-mobile
qt5-qtvirtualkeyboard has been replaced by maliit ages ago

[ci:skip-build] already built successfully in CI
2021-08-13 23:22:25 -07:00
Bobby The Builder
a3e9236692
main/crust: upgrade to 0.4 (MR 2315)
add patch for 5.13 irq clocks
   0289a01c9e
2021-08-13 23:19:28 -07:00
Caleb Connolly
3e86acc9d9
postmarketos-mkinitfs: flashing: fix wrong flavor (MR 2401)
The flavor string was naively parsed using sed by removing everything
before the first hyphen, this breaks for -rc kernels. Instead lets glob
/usr/share/kernel for the installed kernel flavor. This will also
prevent the kernel being flashed if the running kernel has a different
localversion than the updated one.

[ci:skip-build] already built successfully in CI
2021-08-10 00:09:34 -07:00
Jakob Hauser
4baa805b41
main/postmarketos-base: change permission on tm2-touchkey leds (MR 2380)
Allow users in group "input" to control the tm2-touchkey leds.

Additionally correcting the udev rule for disabling the tm2-touchkey leds by default.

[ci:skip-build] already built successfully in CI
2021-08-10 00:03:50 -07:00
Bobby The Builder
13af7396e9
main/linux-postmarketos-allwinner: upgrade to 5.13.6 (MR 2390)
[ci:skip-build] already built successfully in CI
2021-08-10 00:01:27 -07:00
Caleb Connolly
20f93d942d
main/ttyescape: new aports (MR 2309)
Add ttyescape, a script and triggerhappy configuration to allow mobile device
users to access and use a shell without having to plug in to a computer.

One of the largest limitations with a mobile device is the lack of keyboard, for
mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack
is built to automatically recover in case of a crash / hang, hiding the internal
state of affairs from users and making use of careful design to minimise the
impact.  When bringing Linux to mobile, we carry not only the benefits of the
Linux desktop but also it's limitations. In the event that your desktop manager
goes haywire or hangs completely, or your graphics drivers get unhappy, the
ability to quickly jump to a tty and start killing bad behaving programs or
reset your display manager is one that most of us take for granted.  But when
hit by similar errors on a mobile device there is no such recourse available,
users either have to reboot and hope that the issue doesn't occur again, or pull
out a laptop and pull up a shell (assuming ssh is enabled and the rndis
interface comes up).

ttyescape proposes to solve this issues by pieceing together several already
available tools, notably:
 - triggerhappy, a tool used to perform actions when
certain buttons or key combinations are pressed with no dependencies on the
display manager in use.
 - fbkeyboard, a framebuffer keyboard for tty's, it
renders on top of the current tty and uses the device touchscreen as input.
2021-08-09 23:57:24 -07:00
Newbyte
b17df00654
main/linux-postmarketos-exynos4: compress with xz (MR 2410)
gzip results in a boot.img that's too big (over 8 MB) for e.g.
samsung-i9300, so let's replace it with something that produces
smaller kernels. With this, the entire boot.img is 6,3 MB (down
from 8MiB, or 8.5458944 MB) which leaves plenty of space on the
8 MB partition and prevents the recovery from being overwritten
when this kernel is flashed.

Tested and works on samsung-i9300.

[ci:skip-build] already built successfully in CI
2021-08-09 20:02:03 -07:00
afeuerstein
8e6824c6e0
{main,cross}/gcc*: sync makedeps with Alpine (remove paxmark) (MR 2421)
[ci:skip-build] gcc never builds on CI, let alone 11 gccs
[ci:skip-vercheck]
2021-08-10 01:54:18 +03:00
Newbyte
8e3224d1f0
main/postmarketos-ui-phosh: add lollypop to recommends (MR 2417)
This provides a mobile-friendly music player in the default
installation which is something that's currently lacking.

[ci:skip-vercheck]: _pmb_recommends change doesn't need pkgrel bump
2021-08-09 16:02:41 +03:00
Martijn Braam
a52e82b3ee
main/postmarketos-config-nftables: fix hotspot with networkmanager (MR 2408)
The networkmanager hotspot needs to have DHCP input enabled on the wifi
interfaces so the temporary dnsmasq instance can work. The
networkmanager backend is also switched to the nftables one so it can
create the ad-hoc hotspot forwarding/masquerade table.
2021-08-07 16:54:59 +02:00
Oliver Smith
2ac6c742ba
main/postmarketos-ondev: depend on ttf-dejavu (MR 2400)
Proper fix for the monospace fonts seen when postmarketos-ondev is
installed without also installing osk-sdl. This doesn't happen anymore
with pmbootstrap install --ondev, because it will always pull in osk-sdl
again for other reasons. However, since postmarketos-ondev is using this
font, let's directly depend on it instead of having it pulled in as side
effect of also having osk-sdl installed.
2021-08-05 18:44:32 +02:00
Henrik Grimler
103a46094c
postmarketos-exynos4: change kernel config CMDLINE (MR 2404)
And extend bootloader CMDLINE per default, giving us the option to
change the CMDLINE both via the kernel config and from samsung's
S-BOOT shell.

Note: the default console in exynos_defconfig (which this config is
based on) is ttySAC1, but all midas devices uses ttySAC2, so set it to
ttySAC2 instead. Also remove all other variables. They are not needed,
and (at least) root=/dev/ram0 seem to prevent us from booting pmos.

[ci:skip-build] already built successfully in CI
2021-08-05 18:37:26 +02:00
Martijn Braam
e447dbafc4
main/postmarketos-tweaks: upgrade to 0.7.3 (MR 2406)
Fixes a crash introduced in 0.7.2
2021-08-05 14:03:53 +03:00
Martijn Braam
a698e2b38b
main/postmarketos-tweaks: upgrade to 0.7.2 (MR 2405)
Bugfix release that fixes the css writing and parsing

[ci:skip-build] already built successfully in CI
2021-08-04 17:22:07 -07:00
Yassine Oudjana
0939e710e3
main/linux-postmarketos-qcom-msm8996: upgrade to 5.14_rc4 (MR 2403)
- Introduce interconnect driver
- Fix CPU passive cooling to avoid overheating

[ci:skip-build] Already built in MR
2021-08-03 14:42:34 +03:00
Bart Ribbers
d95ce7966b
main/postmarketos-ui-plasma-bigscreen: install and run NymphCast by default (MR 2398)
NymphCast is a FOSS Chromecast replacement (not a drop-in one though)
and allows you to "cast" audio and video to your device running the
nymphcast server. Plasma Bigscreen seems like an ideal use-case for this
so let's install and launch it by default. People can always uninstall
it anyways
2021-08-01 14:48:01 +02:00
Maarten van Gompel
d1ae76d586
main/postmarketos-ui-sxmo: upgrade to 1.5.0 (MR 2393) 2021-08-01 13:04:30 +02:00
Clayton Craft
dd64d952d2
main/osk-sdl: upgrade to 0.66 (MR 2396)
https://gitlab.com/postmarketOS/osk-sdl/-/releases/0.66
2021-07-31 12:01:34 +03:00
Clayton Craft
399b51e949
main/linux-postmarketos-rockchip: enable hwmon for power/nvme/thermal (MR 2394)
This allows using lm_sensors to read temperature data on the pinebook
pro (and probably other devices too)

    ❯ sensors
    gpu_thermal-virtual-0
    Adapter: Virtual device
    temp1:        +41.1°C  (crit = +95.0°C)

    tcpm_source_psy_4_0022-i2c-4-22
    Adapter: rk3x-i2c
    in0:           5.00 V  (min =  +5.00 V, max =  +5.00 V)
    curr1:         2.50 A  (max =  +2.50 A)

    cw2015_battery-i2c-4-62
    Adapter: rk3x-i2c
    in0:           4.24 V
    curr1:         0.00 A

    cpu_thermal-virtual-0
    Adapter: Virtual device
    temp1:        +47.5°C  (crit = +95.0°C)

    nvme-pci-0100
    Adapter: PCI adapter
    Composite:    +31.9°C  (low  = -273.1°C, high = +80.8°C)
                           (crit = +80.8°C)
    Sensor 1:     +31.9°C  (low  = -273.1°C, high = +65261.8°C)
    Sensor 2:     +37.9°C  (low  = -273.1°C, high = +65261.8°C)

[ci:skip-build] Already built on CI
2021-07-31 11:45:38 +03:00
Clayton Craft
d26e7305c0
main/linux-postmarketos-rockchip: upgrade to 5.13.5, fix usb-c (MR 2386)
5.13.5 had some rockchip-related fixes in the changelog, so I figured
why not upgrade to it.

These patches from Manjaro seem to be the bare minimum required to get
usb-c charging and device peripherial support working again (external
display still doesn't work)

[ci:skip-build] already built successfully in CI
2021-07-30 18:26:31 +02:00
Martijn Braam
0329f2cbcb
main/postmarketos-tweaks: upgrade to 0.7.1 (MR 2392) 2021-07-30 19:09:16 +03:00
Oliver Smith
8cfa9176bf
main/linux-postmarketos-allwinner: enable USB_MON (MR 2383)
In order to have a reliably working modem, let's make it easier to debug
it by enabling this by default.

Related: https://wiki.postmarketos.org/wiki/Create_usbmon_capture

[ci:skip-build] already built successfully in CI
2021-07-25 22:19:50 -07:00
Clayton Craft
60447285a7
main/postmarketos-ui-console: fix wifi support (MR 2382)
tested with nmtui on a pinebook pro

[ci:skip-build] already built successfully in CI
2021-07-24 17:47:09 -07:00
Clayton Craft
79134095a2
main/linux-postmarketos-rockchip: upgrade to 5.13.4, use GCC (MR 2372)
llvm was left over from Martijn's efforts to reduce the kernel size

The drivers for external DP are enabled here, but all patches from
manjaro that deal with DP/typec alt mode, etc are dropped since they do
not solve anything on their own and may cause display instability
issues...

[ci:skip-build]: already built successfully in CI
2021-07-24 12:00:11 +02:00
Clayton Craft
93c1490886
linux-postmarketos-qcom-msm8939: enable support for nftables (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:55 -07:00
Clayton Craft
d51f521081
linux-postmarketos-qcom-msm8953: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:55 -07:00
Clayton Craft
6747bf38ce
linux-postmarketos-exynos4: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:54 -07:00
Clayton Craft
dd45ae2301
linux-postmarketos-qcom-sdm660: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:54 -07:00
Clayton Craft
4dcd0c4cbc
linux-postmarketos-qcom-sm8150: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:54 -07:00
Clayton Craft
f856d504ed
linux-postmarketos-stericsson: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:52 -07:00
Bobby The Builder
6340875eb2
linux-postmarketos-allwinner: upgrade to 5.13.1 (MR 2371)
disable CONFIG_NET_VENDOR_MICROSOFT aarch64 & armv7
   enable  CONFIG_SND_SUN9I_HDMI_AUDIO aarch64

[ci:skip-build] already built successfully in CI
2021-07-22 23:54:05 -07:00
Bobby The Builder
4c0ee1ce49
linux-postmarketos-allwinner: disable profiling support (MR 2371) 2021-07-22 23:54:03 -07:00
Bobby The Builder
348a2a7902
linux-postmarketos-allwinner: disable XEN & KVM guest features (MR 2371) 2021-07-22 23:54:03 -07:00
Bobby The Builder
988ce703b0
linux-postmarketos-allwinner: disable Kdump Kernel feature (MR 2371)
smaller kernel size and faster boot
2021-07-22 23:54:02 -07:00
Bobby The Builder
9a050c4725
linux-postmarketos-allwinner: disable IO schedulers (MR 2371)
save a few CPU cycles when data is R/W
2021-07-22 23:54:02 -07:00
Bobby The Builder
d6a9d71c32
linux-postmarketos-allwinner: disable DEBUG (MR 2371)
faster boot time and smaller kernel size
2021-07-22 23:54:02 -07:00
Bobby The Builder
6c0829c6d6
linux-postmarketos-allwinner: Enable full PREEMPT feature (MR 2371)
low latency desktop for faster responsiveness
2021-07-22 23:54:02 -07:00
Bobby The Builder
26d5ab25e1
linux-postmarketos-allwinner: disable NUMA feature (MR 2371)
prevent the creation of a fake NUMA node
   saving a few CPU cycles each DRAM access:

   [    0.000000] NUMA: No NUMA configuration found
   [    0.000000] NUMA: Faking a node at ...
   [    0.000000] NUMA: NODE_DATA [mem 0xff9c2100-0xff9c3fff]

   if you boot on QEMU make sure to review vCPU topology:
   set socket to 1
2021-07-22 23:54:02 -07:00
Newbyte
dc0f00d48c
main/linux-postmarketos-qcom-msm8939: new aport (MR 2344) 2021-07-22 22:31:46 -07:00
Maxim Karasev
4e70549af3
main/linux-postmarketos-allwinner: enable EMAC and GMAC in aarch64 config (MR 2377)
This is needed to get ethernet working on most 64-bit sunxi boards.
Basically just synced with armv7 config a bit.

[ci:skip-build] already built successfully in CI
2021-07-22 20:38:50 -07:00
Yassine Oudjana
90f90c6d50
main/linux-postmarketos-qcom-msm8996: upgrade to 5.14_rc2 (MR 2365)
- Add support for Xiaomi Mi 5 (xiaomi-gemini)
- Enable CPU scaling
- Add support for host mode USB with power on xiaomi-scorpio and xiaomi-gemini
2021-07-20 23:04:28 +03:00
Oliver Smith
cc739e7754
main/mobile-config-firefox: upgrade to 2.2.0 (MR 2356)
Changelog: https://gitlab.com/postmarketOS/mobile-config-firefox/-/tags/2.2.0

[ci:skip-build] already built successfully in CI
2021-07-19 17:22:19 -07:00
Newbyte
b19ce6a937
main/linux-postmarketos-stericsson: upgrade to 5.14-rc2 (MR 2361)
panel.patch has been upstreamed and is therefore dropped.

[ci:skip-build] already built successfully in CI
2021-07-19 17:18:02 -07:00
Luca Weiss
a4dec99f46
main/extract-dtb: upgrade to 1.2.2 (MR 2358) 2021-07-19 12:13:54 +03:00
jenneron
a6f07026cb
main/linux-postmarketos-grate: upgrade to latest git (MR 2355) 2021-07-19 07:42:38 +02:00
Luca Weiss
c6067c02fe
main/linux-postmarketos-allwinner: enable CONFIG_NFT_FIB_IPV{4,6} (MR 2357)
Used by wg-quick for nftables configuration when routing to e.g. ::/0

[ci:skip-build]: already built successfully in CI
2021-07-18 19:24:33 +02:00
Dylan Van Assche
a40026d05e
postmarketos-base-ui: install obexd and obex-capabilities (MR 2245)
Install obex-capabilities and a modified DBus Service
for BlueZ's obexd when BlueZ OBEX support is installed.
UIs depending on BlueZ are now also depending on
bluez-obexd for OBEX support through various MRs at Alpine.
2021-07-18 11:38:10 +03:00
Svyatoslav Ryhel
add2efe222
main/linux-postmarketos-grate: update to 5.14_rc1 (MR 2285)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>

[ci:skip-build] already built successfully in CI
2021-07-17 18:22:02 -07:00
Newbyte
14c1f12413
main/linux-postmarketos-stericsson: kconfig check for zram (MR 2349)
Anbox, nftables, and containers aren't set up for now because I'm not
sure how useful Anbox would be on devices using this SoC given that most
(all?) of them have around 1 GB of RAM, aren't very fast, and I have
heard that Anbox isn't very well-Asupported on ARMv7. As for nftables,
I don't want debug it at this time in case breaks something. Setting up
container support made the phone hang while booting, however that might
have been due to that I only booted the new kernel without getting the
new modules in the rootfs.

[ci:skip-build] already built successfully in CI
2021-07-17 18:10:01 -07:00
Alexey Minnekhanov
ccc7b6d235
main/linux-postmarketos-rockchip: fix missing serial driver in config (MR 2348) 2021-07-16 09:52:50 -07:00
Clayton Craft
ff5fb1b970
main/postmarketos-ui-sway: depend on pulseaudio (MR 2338)
Pulseaudio is used by other graphical UIs to manage audio, so having it
installed for sway is useful for having audio working "out of the box"

[ci:skip-build] already built successfully in CI
2021-07-14 09:58:41 -07:00
Stacy Harper
3fa1b54a91
main/postmarketos-ui-sxmo: add polkit required dependency (MR 2343)
In postmarketOs we rely on polkit rules to manage networks by example.

This add the dependency and configure the service.
2021-07-13 12:54:25 +00:00
Yassine Oudjana
72800777f6
main/linux-postmarketos-qcom-msm8996: Update to 5.13.1 (MR 2339)
- Rebase onto v5.13.1.
- Add firmware-name properties to oneplus3/3t device trees.
- Enable nftables.
2021-07-12 10:46:22 -07:00
Newbyte
1211c627df
main/linux-postmarketos-stericsson: upgrade to 5.14-rc1 (MR 2340)
And also add a patch to fix firmware loading.
2021-07-12 10:41:42 -07:00
Duje Mihanović
4f16edac7a
main/postmarketos-base-ui: Add ttf-dejavu to dependencies (MR 2341)
This package used to be installed through osk-sdl, but now osk-sdl is only
installed when FDE is enabled, and so when it is not enabled the system has no
fonts to use, which means UIs like Sway and Weston have broken fonts. This
commit fixes the issue.

[ci:skip-build] already built successfully in CI
2021-07-12 10:36:43 -07:00
Clayton Craft
48ee9b67a2
main/postmarketos-ui-console: new aport (MR 2336)
This adds a new 'UI' that includes networking support (network manager), firewall (by way
of postmarketos-base-ui), and anything else that will give a basic,
working image without any graphical UI.

The intention is for bpo to build this instead of the 'none' UI. 'none'
UI will continue to be around for mainlining and testing purposes.
2021-07-11 23:56:29 -07:00
Oliver Smith
7139a82837
main/postmarketos-mkinitfs: support pmOS_i_boot (MR 2337)
Support the shorter label for the installer's boot partition, that works
with the 11 character limit of fat32 partitions.
2021-07-12 07:34:56 +02:00
Oliver Smith
f894697637
main/postmarketos-ondev: upgrade to 0.7.2 (MR 2337) 2021-07-12 07:34:51 +02:00
Clayton Craft
b7cad1a182
linux-postmarketos-rockchip: upgrade to 5.13, enable nftables (MR 2299)
This switches the config over to one based on Alpine's linux-gru which
is for an rk3399 chromebook. It produces way smaller kernels and has
more general purpose hardware support.
2021-07-11 14:35:50 +02:00
Jakob Hauser
bd85700dea
main/postmarketos-base: udev tm2-touchkey and rt5033-battery (MR 2330)
The udev file "20-tm2-touchkey-leds.rules" disables the leds of
tm2-touchkey by default because they are in an unconfigured state.

The udev file "95-rt5033-battery-refresh.rules" triggers a refresh
of the rt5033-battery information within UPower 5 secs after
initialization. This avoids a wrong battery icon after boot.

The udev file "50-firmware.rules" was moved from /etc/udev/rules.d
to /lib/udev/rules.d.

Related: https://wiki.postmarketos.org/wiki/Packaging#Device_specific_quirks
2021-07-11 14:10:03 +02:00
Caleb Connolly
07b7a15b3c
main/linux-postmarketos-qcom-sdm845: upgrade to 5.12.15 (MR 2333)
Upgrade to 5.12.15, adding nftables support and fixing the crashdump
mode issue on the OnePlus 6.

[ci:skip-build] already built successfully in CI
2021-07-10 16:34:45 +02:00
Clayton Craft
b5cdc7603f
main/osk-sdl: upgrade to 0.65 (MR 2326) 2021-07-08 04:48:51 +03:00
Alexey Minnekhanov
2a1f6bddb8
main/linux-postmarketos-qcom-msm8974: hotfix for missing bam_dmux
Turns out, after refactoring (moving bam_dmux driver to wwan
subsystem) we need to set CONFIG_WWAN=y for bam_dmux driver
to be built. Fix this asap :)
2021-07-07 11:16:53 +03:00
Anri Dellal
196ff18b06
main/postmarketos-ui-*: add GPU acceleration option (MR 2078)
Adds pmb:gpu-accel option to Phosh, Plasma Mobile/Bigscreen, Sway,
Glacier and Kodi APKBUILDs to hide the UIs at `pmbootstrap init`
for devices without GPU acceleration support.

Related: pmbootstrap!2043

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2021-07-06 19:12:27 -07:00
Alexey Minnekhanov
1d3776d45d
main/linux-postmarketos-qcom-msm8974: upgrade to 5.13.0 (MR 2312)
Should work same as before.

Slightly tweaked kernel config options:
* default cpufreq governor is now "conservative" instead of "performance", which should be better for devices running on battery. Not that it matters, MSM8974 does not have cpufreq support anyway.
* enabled CONFIG_ARM_QCOM_SPM_CPUIDLE, which was missing! At least some cpuide is better than none at all.
* 2 missing options for nftables: CONFIG_IP6_NF_FILTER, CONFIG_IP6_NF_TARGET_REJECT
* few missing options for wg-quick: CONFIG_IPV6_MULTIPLE_TABLES, CONFIG_IP_MULTIPLE_TABLES, CONFIG_IP6_NF_RAW, CONFIG_IP_NF_RAW

WWAN subsystem is not enabled.

BAM-DMUX upgraded to version "v3" (subnode of modem remoteproc)

Mark kernel package as supporting anbox, containers (in addition to nftables)

[ci:skip-build] Already built successfully twice on CI
2021-07-07 04:17:27 +03:00
Oliver Smith
11353d8b1e
main/postmarketos-welcome-gtk3: upgrade to 0.3.0 (MR 2322) 2021-07-06 22:03:08 +02:00
Clayton Craft
ae02ad9190
main/postmarketos-ui-phosh: disable app drawer filtering (MR 2298)
Phosh 0.12.0 introduces filtering when the device is of a mobile type
and the app is not explicitly 'adaptive'. This means a lot of apps that
might otherwise work ok-ish are gone from the list.

This change disables the filtering for now.
2021-07-06 21:30:06 +02:00
Jakob Hauser
134afe813d
main/postmarketos-ui-xfce4: add polkit-elogind (MR 2311)
Currently, shut down and reboot as a user does not work (sudo shutdown
from terminal required). polkit-elogind needs to be installed. lxpolkit
is not needed.
2021-07-06 18:05:48 +02:00
Bart Ribbers
454995d879
main/postmarketos-ui-phosh: stop providing mpris-proxy.desktop (MR 2314)
This is now done by Bluez itself
https://git.alpinelinux.org/aports/commit/main/bluez?id=b99445977598b3bb8cc66b3a59a2c5edbbedac26
2021-07-05 14:00:12 +02:00
Bart Ribbers
e0010926f2
main/postmarketos-ui-plasma-bigscreen: re-enable on armv7 (MR 2310) 2021-07-04 22:23:49 +02:00
Bart Ribbers
024bb1757c
main/postmarketos-ui-plasma-bigscreen: depend on polkit-kde-agent-1 (MR 2310)
This:

1. fixes the UI not showing up on boot by installing polkit-elogind
2. makes for fancy password popups when root rights are needed rather
than just fail silently
2021-07-04 22:23:49 +02:00
Oliver Smith
4ffd6ff1bb
main/postmarketos-ondev: new aport (MR 2307)
Move the package back from aports to pmaports and fix fall out from
postmarketos-base-ui related breakage:
* add the subset of depends from postmarketos-base-ui that are used in
  postmarketos-ondev
* upgrade to postmarketos-ondev 0.7.1, where I made it compatible with
  using the default tinydm config (not just the one overridden in
  postmarketos-base-ui-tinydm)

Reasoning for moving it from alpine to pmaports, in line with our new
guidelines (that were written after the package was moved to aports):
* has postmarketOS branding
* enables services in post-install (similar to postmarketos-ui-* packages)

Related: https://wiki.postmarketos.org/wiki/Packaging#Should_my_package_be_in_postmarketOS_or_Alpine.3F
2021-07-04 10:38:35 +02:00
Oliver Smith
66752818bf
main/postmarketos-ui-sway: modernize (MR 2162)
* use tinydm instead of lightdm
* set default term to foot, as alacritty needs a recent opengl version
  (issue 984)
* override sway config to actually use foot (there is no
  sway-sensible-terminal and upstream isn't interested in adding it)
* set the pmOS wallpaper in the overridden sway config
* add a subpackage that allows changing $mod to Alt, so it's easier to
  test this in QEMU while running i3/sway on the host with $mod set to
  Mod4
* re-enable previously disabled architectures
* set myself as maintainer
2021-07-03 10:55:48 +02:00
Ultracoolguy
26a5eb243b
linux-postmarketos-qcom-msm8953: Update Maintainer email (MR 2295)
[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2021-07-02 13:45:22 -07:00
Newbyte
6d25d7f617
main/postmarketos-base: add Firefox env config to -tinydm subpackage (MR 2235)
Currently, this only sets Firefox to run in Wayland mode, but in the
future it might be used to make e.g. SDL applications run in Wayland
mode.

SDL applications are not set to run in Wayland mode right no as
SDL 1.2 uses the same environment variable as SDL 2.0 for
controlling video driver (SDL_VIDEODRIVER) and SDL 1.2 does not
support Wayland and crashes if an invalid value is provided for
SDL_VIDEODRIVER, and as such setting SDL_VIDEODRIVER=wayland
globally would break all SDL 1.2 applications. This will however be
fixed once SDL 1.2 is replaced by sdl12-compat in Alpine, as
sdl12-compat implements the SDL 1.2 API and ABI via SDL 2.0 and as
such supports Wayland. As such, once this happens we can start
setting SDL_VIDEODRIVER=wayland.

[ci:skip-build] already built successfully in CI
2021-06-30 23:38:12 -07:00
Newbyte
6d36d27417
main/postmarketos-ui-phosh: don't set GDK_BACKEND=wayland (MR 2235)
This causes issues with some programs, chiefly that gsd-xsetttings
does not start properly. GDK_BACKEND=wayland is only really
necessary to make Firefox run in Wayland mode anyway - other GTK 3/4
apps use it automatically. Firefox will be set to use Wayland via a
following commit.
2021-06-30 23:38:12 -07:00
Newbyte
32e78c7933
main/postmarketos-ui-phosh: remove workaround for starting gsd-xsettings (MR 2235)
This reverts commit d7bcaece8e.

The following commit fixes this in a better manner by not setting
GDK_BACKEND=wayland.
2021-06-30 23:38:12 -07:00
Clayton Craft
7cd9a2d246
linux-postmarketos-allwinner: add missing kconfig for nftables support (MR 2284)
[ci:skip-build] Built on CI
2021-07-01 09:05:21 +03:00
Minecrell
ef3f43963e
main/linux-postmarketos-qcom-msm8916: upgrade to 5.13 (MR 2286)
- Update to Linux 5.13
- Upstreamed many more patches
- Various cleanup to BAM-DMUX driver to prepare for upstreaming
- Enable support for virtualization/KVM via https://github.com/msm8916-mainline/qhypstub
- Probably many other things I forgot :)

- Add tons of kernel config options for containers and nftables
- Add WireGuard to kernel config

Device changes:
  - huawei-g7: Initial support for Huawei Ascend G7
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - Notification LED
    - WiFi/Bluetooth
    - Accelerometer, Magnetometer, Proximity
    - Audio
    - NFC
  - lg-c50: Initial support for LG Leon LTE
    - USB
    - Storage (eMMC, SD card)
    - Buttons
    - WiFi/Bluetooth
    - Vibrator
    - Display
  - longcheer-l8150 (wileyfox-crackling): Fix proximity sensor
  - motorola-surnia: Add audio and modem
  - samsung-j5nlte: Add buttons
  - samsung-j5xlte: Initial support for Samsung Galaxy J5 (2016)
    - USB
    - Storage (eMMC, SD card)
    - Buttons
  - samsung-serranovelte: Add USB-OTG detection

[ci:skip-build] already built successfully in CI
2021-06-30 22:12:19 -07:00
Newbyte
f9dc4366ee
main/linux-postmarketos-stericsson: upgrade to 5.13 (MR 2288)
[ci:skip-build] already built successfully in CI
2021-06-30 22:05:57 -07:00