Commit graph

1140 commits

Author SHA1 Message Date
Oliver Smith
8b7adeddf3
main/postmarketos-base: remove post-install config overrides (MR 1713)
Do not change config files in post-install scripts anymore (with sed
commands or by other means). Instead, ship the files inside the packages
and use "replaces", so apk allows the package to overwrite files from
other packages:
https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#replaces

Notes on specific files:
* /etc/elogind/logind.conf: original file only consists of commented out
  compile defaults. Copy them over for now. In the future we should be
  able to install our own config into a .d directory, without all the
  comments: 8358fc5950
* /etc/fstab: original file only has /dev/cdrom and /dev/usbdisk
  entries, which are not useful for postmarketOS:
  https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/alpine-baselayout/APKBUILD
* /etc/motd: reformat the text, add link to the chat
* /etc/conf.d/syslog: original file only contained 'SYSLOGD_OPTS="-t"',
  make the override file as if the sed statement from post-install was
  executed
* /etc/wpa_supplicant/wpa_supplicant.conf: post-install script touches
  this file. We probably added it back in 2017 in relation to enabling
  D-Bus (though the PR does not mention it explicity), but at least with
  the current init.d script of NetworkManager, we can simply have '-u' in
  wpa_supplicant_args:
  https://github.com/postmarketOS/pmbootstrap/pull/578
  https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/wpa_supplicant/wpa_supplicant.initd
* /etc/sudoers: base on original /etc/sudoers, but remove all the
  commented out stuff except for the visudo note at the top. We could
  also put a file in /etc/sudoers.d, but since the wheel line is present
  in the original /etc/sudoers and only commented out, it would be kind
  of unexpected to enable it in a file in /etc/sudoers.d. I prefer this
  stripped down version of the file, that is easy to read.
2020-12-03 13:11:03 +01:00
Oliver Smith
c8a79d6fa6
main/postmarketos-base: fix install_if for subpkgs (MR 1713)
Instead of install_if="$pkgname xorg-server" etc, it should be
install_if="$pkgname=$pkgver-r$pkgrel xorg-server".

Reference: https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#install_if
2020-12-03 13:11:03 +01:00
Oliver Smith
0105a1d8ef
main/postmarketos-base: put full path in filenames (MR 1713)
Refactor the install code to be generic, so we only need to add the new
path in one place when adding a new file. Put the full path into the
filename to make this possible.

I've tried to mimic the final directory structure in the aport first
(e.g. $pkgdir/sbin/swapfile -> main/postmarketos-base/sbin/swapfile),
but that leads to conflicts as abuild only takes the filename for
checksums (conflict with etc/conf.d/swapfile):
https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10013

We don't really need checksum verification for the files shipped in the
same directory (not downloaded), but nevertheless this is a bug. It
leads to confusing behavior and might be fixed by letting abuild demand
that there is only one source file with the same name, as I suggested in
the issue linked above. So let's avoid this altogether with the flat
file name.
2020-12-03 13:11:03 +01:00
Oliver Smith
4d6a1a2458
main/postmarketos-mvcfg: new package (MR 1713)
Add scripts to move configs from legacy packaging, as described at:
https://postmarketos.org/mvcfg
2020-12-03 13:10:58 +01:00
Oliver Smith
c108a5a8d1
main/postmarketos-mkinitfs: allow splash override (MR 1776)
Make it possible to set a custom splash screen by placing a
splash.ppm.gz file on the boot partition.
2020-12-03 11:30:25 +03:00
Martijn Braam
cd7295d017
main/linux-postmarketos-allwinner: enable ipv6 wireguard (MR 1778)
wireguard needs the ipv6 multitable option to make a seperate routing
table for the inside and outside vpn part of the network.

[ci:skip-build]: already built successfully in CI
2020-12-02 21:54:15 -08:00
Martijn Braam
fdc0731516
main/powersupply: update to 0.4.0 (MR 1772)
This fixes a crash when a 3A powersupply is used on the latest kernel
2020-12-02 17:31:47 +03:00
Bart Ribbers
5d1e53493e
main/postmarketos-ui-plasma-mobile: swap plasma-camera for megapixels (MR 1770)
Even on the PinePhone KDE community edition Megapixels will be shipped
instead of plasma-camera, so let's do the same

The resulting package doesn't change, _pmb_recommends is only a
pmbootstrap thing, so we don't have to bump pkgrel

[ci:skip-vercheck]
2020-12-02 12:56:28 +01:00
Devin Lin
25beffccdd
main/postmarketos-ui-plasma-mobile: add kclock, kweather and kalk to extras subpackage (MR 1769) 2020-12-02 11:39:48 +01:00
Oliver Smith
6e3ddf62d7
main/mobile-config-firefox: upgrade to 2.0.0 (MR 1758) 2020-11-25 22:32:50 +01:00
Oliver Smith
a77d4ed26a
main/linux-postmarketos-allwinner: upgrade to 5.9.10_git20201123 (MR 1755)
[ci:skip-build]: already built successfully in CI
2020-11-25 14:31:29 +01:00
Alexey Min
f729822823
linux-postmarketos-qcom-msm8974: improve device support (MR 1745)
Battery percentage monitoring support:
 * lg-hammerhead
 * samsung-klte

Mobile internet support:
 * fairphone-fp2

QCOM_SOCINFO for querying information from the SoC

[ci:skip-build]: already built successfully in CI
2020-11-21 13:52:01 -08:00
Luca Weiss
a27209ac29
main/qt5-qtsystems: enable all arches (MR 1747)
[ci:skip-vercheck]
2020-11-21 17:03:51 +01:00
Luca Weiss
e455700135 main/dbus-test-runner: remove 2020-11-21 12:02:52 +01:00
Oliver Smith
3fd5a9a568
main/linux-postmarketos-allwinner: upgrade to 5.9.8_git20201117 (MR 1735)
Update ov5640 autofocus related patch. We had it working with Martijn's
patch in 5.9.1_git20201019-r2 (MR 1654), but then dropped the patch in
favor of the patch that was added to megi's tree in 5.9.3_git20201101
(MR 1678).

It turns out that the patch added to megi's tree was different than the
patch we were carrying, it was a WIP version where loading the autofocus
firmware did not work anymore.

Megi decided to drop the autofocus patch from his tree for now, as the
firmware uploader takes more time in Martijn's proper patch. According
to Martijn it takes about a second, which seems reasonable for the
postmarketOS use case. I've added the previous version again as
out-of-tree patch.

Martijn found that for some reason the continuous autofocus still
doesn't want to start with this kernel and current patch version, as for
some reason the firmware load fails. But he extended the patch to make
autofocus work again with "tap to focus" at least.

0005-dts-pinephone-Disable-flash-led-in-OV5640-node.patch is not needed
anymore, the same change is in megi's tree.

Co-Authored-By: Martijn Braam <martijn@brixit.nl>
[ci:skip-build]: already built successfully in CI
2020-11-20 13:58:34 +01:00
Oliver Smith
8e2c194d64
main/tinydm: upgrade to 1.0.2
Fix X11 sessions.
2020-11-20 13:45:19 +01:00
Oliver Smith
f8364dd858
main/postmarketos-android-recovery-installer: upgrade to 1.0.3 (MR 1740)
Related: https://gitlab.com/postmarketOS/postmarketos-android-recovery-installer/-/tags/1.0.3
2020-11-19 17:15:32 +01:00
Oliver Smith
e974e110b3
devicepkg-dev: patch Makefile.common too (MR 1738)
Remove -Werror from Makefile.common files too, as found in the
xiaomi-latte downstream kernel (MR 1692).
2020-11-19 14:32:31 +03:00
Bart Ribbers
33b79866a4
main/postmarketos-ui-plasma-mobile: enable Bluetooth by default (MR 1727) 2020-11-18 23:09:25 +01:00
Oliver Smith
7fa02ab6c4
main/postmarketos-welcome-gtk3: upgrade to 0.2.2 (MR 1728)
Minor text updates:
https://gitlab.com/postmarketOS/postmarketos-welcome-gtk3/-/tags/0.2.2
2020-11-18 13:47:49 +01:00
Dolphin von Chips
72eb261185
main/postmarketos-ui-plasma-desktop: enable on armv7 (MR 1733) 2020-11-18 09:56:11 +01:00
Bart Ribbers
4fd3d043ab
main/postmarketos-ui-plasma-bigscreen: adapt to plasma-bigscreen upstream changes (MR 1721) 2020-11-17 19:35:36 -08:00
Bart Ribbers
dcd8d2ec4e
main/postmarketos-ui-plasma-bigscreen: use tinydm instead of lightdm (MR 1720) 2020-11-17 19:29:54 -08:00
Bart Ribbers
7573f5fce4
main/postmarketos-mkinitfs: workaround for not being able to find provider of kpartx (MR 1732)
Because of
https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10725,
cmd:kpartx can not be found. That bug obviously needs to be fixed, but
let's workaround it for now by just depending on the package that
provides it.
2020-11-17 21:08:03 +01:00
Oliver Smith
1c9cca883b
main/tinydm: upgrade to 1.0.1 (MR 1729)
Change log path to ~/.cache/tinydm.log.
2020-11-17 11:07:18 +03:00
Oliver Smith
9c7c6b8eb1
main/linux-postmarketos-allwinner: upgrade to 5.9.8_git20201115 (MR 1704)
While at it, include 'Allow leds for pinephone dtb in suspend' patch.
2020-11-16 20:44:36 +01:00
Bart Ribbers
ece48a2c6e
main/postmarketos-ui-plasma-mobile: use tinydm instead of lightdm (MR 1715)
Follow-up of !1659, but now for Plasma Mobile
2020-11-16 18:07:52 +01:00
Bart Ribbers
0b405957e0
pine64-pinephone: enable cifs kernel module (MR 1716)
[ci:skip-build]: already built successfully in CI
2020-11-14 00:37:39 -08:00
Bart Ribbers
ef8b6b1114
main/postmarketos-ui-phosh: remove leftover 60-lightdm-autologin.conf 2020-11-13 23:17:57 +01:00
Bart Ribbers
975597dd7c
main/telepathy-mission-control: drop, newer version is in Alpine 2020-11-13 11:02:24 +01:00
Oliver Smith
b00f718f3f main/postmarketos-ui-phosh: use tinydm instead of lightdm (MR 1659) 2020-11-13 10:47:07 +01:00
Oliver Smith
da4c0a731b main/autologin: new aport (MR 1659) 2020-11-13 10:47:07 +01:00
Oliver Smith
df51b94658 main/tinydm: new aport (MR 1659) 2020-11-13 10:47:07 +01:00
clayton craft
c37012a909
postmarketos-base: add elogind hook to conditionally cancel suspend (MR 1665)
This hook will cancel a suspend if:
        - There's an open ssh connection to the system
        - apk database is locked
2020-11-13 00:33:31 -08:00
clayton craft
8308463dc0
main/osk-sdl: upgrade to 0.59 (MR 1625) 2020-11-12 23:42:39 -08:00
clayton craft
0e30c6f760
postmarketos-mkinitfs: fallback to directfb if osk-sdl fails w/ mesa (1625) (MR 1625) 2020-11-12 23:42:39 -08:00
clayton craft
13fbb3e501
main/postmarketos-mkinitfs: set no_supertile for osk with mesa (MR 1625)
This is needed by the librem 5, else the graphics are
distorted/unusable.
2020-11-12 23:41:29 -08:00
Luca Weiss
a6ec22b9a4
main/postmarketos-mkinitfs: use kmsdrm sdl backend for osk-sdl (MR 1625) 2020-11-12 23:41:28 -08:00
Thiago Foganholi
0bab9b5f8a
Add package main/linux-postmarketos-exynos4 (MR 1634)
The devices supported by this package are Galaxy S3 (GT-I9300, GT-I9305,
SHV-E210K/L/S) and the Galaxy Note 2 (GT-N7100, GT-N7105) - a family of
boards also known by the codename "Midas" - and the Galaxy S2 (GT-I9100)

From this list, only the i9100 doesn't support the bootimg method.
Because of this, this kernel package is using the isorec method for all
the devices on the list. Additionally, for the midas devices, there is
no problem with this because the boot.img file is, in fact, a copy of
the kernel+initramfs on the pmos boot partition and what the isorec
initramfs does is actually to load the initramfs on that partition
directly (at least on my understanding).
2020-11-11 14:35:15 +01:00
Bart Ribbers
8e5c217d4a
linux-postmarketos-allwinner: upgrade to 5.9.3 (MR 1678)
Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2020-11-11 10:56:57 +01:00
Bart Ribbers
8dba9d5a62
linux-postmarketos-allwinner: enable ecryptfs support (MR 1694)
There have been support questions about this from users
https://www.reddit.com/r/postmarketOS/comments/jqbqu2/mounting_ecryptfs_encrypted_folder/

[ci:skip-build]: already built successfully in CI
2020-11-10 12:01:39 +01:00
clayton craft
81fc6a0bed
postmarketos-base: enable rfkill service (MR 1693)
This enabled the rfkill service, part of util-linux, that saves/restores
radio device state on shutdown/boot.

fixed #836
2020-11-09 15:09:32 +01:00
Oliver Smith
855564d4fa
main/postmarketos-update-kernel: heimdall-isorec: use dtb (MR 1648)
Use the dtb-appended kernel file, e.g. postmarketos-exynos4-dtb instead
of postmarketos-exynos4, if it is available. This is needed to flash a
mainline kernel with appended dtb to isorec devices.
2020-11-02 14:43:39 +01:00
Newbyte
731bdc44e7
main/pure-maps: upgrade to 2.0.0 (MR 1674)
[ci:skip-build]: already built successfully in CI
2020-11-02 14:30:19 +01:00
Alexander Akulich
fed6cce88d
main/postmarketos-ui-plasma-mobile: Add a font with special characters (MR 1662)
The characters (e.g. 'fullwidth asterisk') are used in plasma-dialer.
2020-10-30 17:55:27 +01:00
Alexander Akulich
408d8f27d1
main/postmarketos-ui-plasma-mobile: Add a font with emoji (MR 1662)
The font is needed for maliit emoji keyboard.

Signed-off-by: Alexey Min <alexey.min@gmail.com>
2020-10-30 17:55:27 +01:00
Bhushan Shah
5efdbd13fa
main/linux-postmarketos-allwinner: fix display framerate on pinephone (MR 1661)
This patches from the megi solves the issue of the MIPI-DSI panels
framerate being at 2/3rd of actual or expected rate.

[ci:skip-build]: already built successfully in CI
2020-10-30 00:30:38 -07:00
Antoine Fontaine
c60dd3e80e
main/postmarketos-ui-{phosh,plasma-mobile}: add iio-sensor-proxy-openrc to deps (MR 1658)
As the post-install use the service, it must be in depends.
Otherwise, the install_if may install it *after* the rc-update
command is run, and fails.
2020-10-28 23:52:37 +03:00
clayton craft
394798dc8a
postmarketos-ui-phosh: add gschema override to show squeekboard (MR 1657)
Squeekboard >= 0.10.0 looks for an a11y setting to determine if it
should show up on the screen. This sets the config setting to 'true' so
that it shows up by default. It can apparently be toggled off in Gnome
Settings, but I haven't found the UI switch to do that yet..
2020-10-28 12:32:37 -07:00
Martijn Braam
628aabf2b6
main/linux-postmarketos-allwinner: add ov5640 autofocus (MR 1656)
[ci:skip-build]: already built successfully in CI
2020-10-28 11:57:21 -07:00