Commit graph

2658 commits

Author SHA1 Message Date
Minecrell
24fa68c9b6
main/postmarketos-mkinitfs: avoid storing initramfs-extra twice (!932)
At the moment we store the same initramfs-extra twice on the file system:
  - /boot/initramfs-<flavor>-extra
  - /var/cache/postmarketos-mkinitfs/initramfs-<flavor>-extra_<hash>

The second copy is exactly the same file, just with the <hash> (for caching)
appended to the filename.

We can avoid this by appending the hash directly to the filename
on the boot partition, i.e.
  - /boot/initramfs-<flavor>-extra_<hash>

This is possible because we only reference initramfs-extra from the main
initramfs, and we already replace the path in it dynamically.
It will just let the main initramfs load -extra_<hash> instead of just -extra.

This saves a few megabytes of disk space on the rootfs.
2020-02-10 01:38:18 +03:00
Danct12
a415548b1d
device/*: remove deviceinfo_nonfree (!935)
[ci:ignore-count]

Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-10 00:58:03 +03:00
Clayton Craft
eab19e845a
main/osk-sdl: upgrade to 0.54 (!937) 2020-02-10 00:47:53 +03:00
Federico Amedeo Izzo
9d9f36604d
amazon-tank: new device (Amazon Fire TV Stick) (!939) 2020-02-10 00:17:25 +03:00
Danct12
efd8c6cde2
console/*: add initial support for TTY keyboard (!858)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-07 19:52:57 +01:00
Clayton Craft
ac8c78c00d
temp/mesa-git: re-add dev() and define provides for -dev package (!924)
This fixes 1943ead268, which accidentally
removed the dev() function that generates the mesa-git-dev package..
causing mesa-dev to be pulled in in cases where mesa-dev is required
(and failing because mesa-dev is older)

[ci:skip-build]: already built successfully in CI
2020-02-07 19:32:16 +01:00
Clayton Craft
c79d02818e
temp/mesa-git: upgrade to latest master branch (20200202) (!924) 2020-02-07 19:31:58 +01:00
Clayton Craft
048a5524f5
purism-librem5: add patch for enabling host usb mode on devkit (!925)
This addresses the issue here, but only for the devkit:
https://source.puri.sm/Librem5/linux-next/issues/114

I didn't patch the dts for the phone because:
1) I don't have one to test
2) it might negatively impact batter life (I'm only speculating)

[ci:skip-build]: already built successfully in CI
2020-02-07 19:16:13 +01:00
Clayton Craft
38a23b2aa0
purism-librem5: upgrade to latest 5.3 purism kernel (!925) 2020-02-07 19:16:13 +01:00
Alexey Min
f10f2dc179
kde/qmlkonsole: disable on armhf 2020-02-05 16:23:53 +03:00
Alexey Min
59dcb1833b
cross/busybox-static-*: upgrade to 1.31.1-r11 2020-02-05 16:20:27 +03:00
Bart Ribbers
a828df78e1
kde/qmlkonsole: upgrade to 0_git20200128 (!909) 2020-02-05 16:02:06 +03:00
Alexey Min
b11e1f0e38
main/postmarketos-mkinitfs-hook-debug-shell: mount pstore (!921) 2020-02-04 11:19:41 +03:00
Minecrell
685e7e2b52
maemo/gconf: fix linting issues (!928)
MP:[AL13]:maemo/gconf/APKBUILD:17:cd "$builddir" can be removed in phase 'build'
MP:[AL13]:maemo/gconf/APKBUILD:30:cd "$builddir" can be removed in phase 'check'
MP:[AL13]:maemo/gconf/APKBUILD:35:cd "$builddir" can be removed in phase 'package'
MP:[AL32]:maemo/gconf/APKBUILD:12:unnecesary usage of braces: ${pkgver}
2020-02-03 20:39:24 +01:00
Minecrell
bc7957a503
maemo/gconf: restore package from Alpine (!928)
main/gconf was removed upstream in Alpine:
  0878ac0f6e

However, some packages in maemo/ (e.g. libhildon) still depend on it.
This breaks the package parsing in bpo: https://builds.sr.ht/~postmarketos/job/146132
  ERROR: Package 'gconf-dev': Could not find aport, and could not find this package in any APKINDEX!

Add it to maemo/ for now to fix the error.
2020-02-03 20:39:21 +01:00
silver
5807363964
samsung-apexq: add wifi firmware package (!919) 2020-02-03 20:33:30 +01:00
Ruby Iris Juric
3216c2e89f
motorola-harpia: fix incorrect path in venus firmware package (!926) 2020-02-03 15:01:04 +11:00
Minecrell
fcc2a2a1ac
asus-me176c: upgrade mainline kernel to 5.4.17 (LTS) (!922) 2020-02-03 02:45:18 +03:00
srxl
c2fd969169
motorola-harpia: upgrade to mainline kernel (!682)
Support for the downstream kernel has been removed entirely. This is
because the downstream kernel only has support for the armhf
architecture, whereas linux-postmarketos-qcom-msm8916 is only built
for aarch64. Since pmbootstrap has no way to handle having two
kernels on differing architectures, the decision was made to remove
the downstream kernel and only support mainline.
2020-02-01 15:19:53 +03:00
Oliver Smith
9f4b132748
main/pmbootstrap: remove (upstreamed) (!918)
Related: https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2793
2020-01-31 04:30:02 +01:00
Minecrell
83a0a953af
asus-me176c: remove -x11 subpackage (!917)
So far, the -x11 subpackage for asus-me176c was used to install
the Xorg Intel driver (xf86-video-intel). But these days many
distributions actually recommend using the standard Xorg modesetting
driver instead, see e.g.
  - Debian: https://tjaalton.wordpress.com/2016/07/23/intel-graphics-gen4-and-newer-now-defaults-to-modesetting-driver-on-x/
  - Fedora: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/AUPYPJMFJZMHPEKN24LBABZKIEOV4NU5/
  - KDE: https://community.kde.org/Plasma/5.9_Errata#Intel_GPUs

The standard Xorg modesetting driver is included in the main xorg-server
package. Not installing xf86-video-intel saves about ~73 MiB of disk space
(because it also pulls in many unneeded dependencies).

Xfce seems to be working just fine with the modesetting driver.
(And most users will probably prefer Wayland anyway...)
2020-01-30 22:50:57 +01:00
Ferenc Bakonyi
14eef2d5f4
lg-hammerhead: fix framebuffer console and power key in initfs (!915) 2020-01-30 22:48:42 +03:00
Bart Ribbers
78278c5a22
temp/ktp-common-internals: disable on armhf 2020-01-30 19:44:40 +01:00
Minecrell
775298f398
main/postmarketos-ui-sway: remove dependency on xorg-server (!913)
postmarketos-ui-sway already depends on xorg-server-xwayland for
X clients. There is no need to pull in the entire X server including
all necessary drivers.

This saves ~84 MiB of disk space when installing postmarketos-ui-sway
on asus-me176c. X applications are still working fine through Xwayland.

Also remove explicit dependency on dbus - it is already pulled in
by dependencies like lightdm or elogind and nothing in
postmarketos-ui-sway depends on it specifically.
2020-01-30 19:14:53 +01:00
Bart Ribbers
55cd9ee760
temp/ktp-common-internals: new aport (!916) 2020-01-30 16:45:21 +01:00
Bart Ribbers
b7f5ce0f7d
temp/telepathy-logger: remove, not necessary anymore 2020-01-30 14:39:40 +01:00
Bart Ribbers
bdfbb872ef
kde/ktp-common-internals: remove, upstreamed to Alpine 2020-01-30 14:38:46 +01:00
Bart Ribbers
cdd54bb8a5
kde/telepathy-logger-qt: remove, unnecessary since upstreaming ktp-common-internals 2020-01-30 14:38:10 +01:00
Bart Ribbers
b1edecbcfa
main/telepathy-farstream: remove, upstreamed to Alpine 2020-01-30 14:37:39 +01:00
Bart Ribbers
8058b4eaa4
main/telepathy-qt: remove, upstreamed to Alpine 2020-01-30 14:36:12 +01:00
Minecrell
b9ca5e66ff
asus-me176c: install mesa-vulkan-intel as Vulkan driver (!910)
The Intel graphics in asus-me176c have (incomplete) Vulkan support
in Mesa. Make it possible to use Vulkan by installing the Intel
driver that is necessary for it.
2020-01-29 01:09:53 +03:00
Minecrell
4a844dc630
asus-me176c: reduce rootfs size by installing only needed Mesa driver (!910)
The mesa-dri-intel package is deprecated since it was replaced with
mesa-dri-classic and mesa-dri-gallium. Installing mesa-dri-intel
causes both packages to be installed.

The Intel graphics in asus-me176c are not supported by the new
Gallium "iris" driver, therefore asus-me176c can only use the old
i965 driver available in mesa-dri-classic.

Removing mesa-dri-gallium reduces the disk space needed for a minimal
installation on asus-me176c:
  - Before: 329M
  - After:  256M (-73M)
2020-01-29 01:09:45 +03:00
David Heidelberg
359267ac91
temp/xf86-video-opentegra: bring back opentegra driver (!832)
Tested on asus-grouper

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-01-28 22:02:52 +01:00
Bart Ribbers
71557f7f0c
device-*: rebuild for the new splash screen generation 2020-01-28 15:40:18 +01:00
Minecrell
d4ee123079
main/devicepkg-dev: Fix shellcheck warnings in splash screen generation (!899)
(These were present before the code was moved to devicepkg-dev.)
2020-01-28 15:33:43 +01:00
Minecrell
e3d07c832c
main/{devicepkg-dev,postmarketos-mkinitfs}: statically generate splash screens (!899)
We need to generate the splash screens separately for each device,
because they are specific to the device's display resolution.

At the moment we do this dynamically during the installation process.
This has the advantage that there is no need to re-build all device
packages when one of the splash screen is changed (or a new one is added).

In reality, however, the splash screens do not change very frequently.
On the other hand, generating the splash screens dynamically has signficant
disk usage overhead for a minimal ("none" UI) rootfs:

The Python interpreter together with the necessary libraries requires
about ~60 MB of disk space on aarch64.
The splash screens itself require about ~100 KB for 720x1280.

This is not necessary if we move the splash screen generation into
devicepkg-dev, which is used to build the device package for all devices.
Another advantage is that we no longer need the (rather complicated)
caching mechanism for splash screens - so we actually end up with less
lines than before.

rootfs size for samsung-a5ulte ("none" UI):
  Before: 450M
  After:  388M (-62M)

After this change, every(!) device package needs to be rebuilt once.
No changes are necessary in device packages.
2020-01-28 15:33:40 +01:00
Minecrell
0c7bcb5431
main/osk-sdl: add missing depends on ttf-dejavu (!899)
ttf-dejavu is referenced in osk.conf:
  keyboard-font = /usr/share/fonts/ttf-dejavu/DejaVuSans.ttf
2020-01-28 15:33:36 +01:00
HenriDellal
a5cf21b4d4
device/device-samsung-p4wifi: fix APKBUILD (!889) 2020-01-28 15:21:10 +01:00
HenriDellal
e5d0607625
device/device-samsung-i927: fix APKBUILD (!889) 2020-01-28 15:21:07 +01:00
HenriDellal
583d2fce32
device/device-ouya-ouya: fix APKBUILD (!889) 2020-01-28 15:21:01 +01:00
Jami Kettunen
264f5dccb1
oneplus-cheeseburger: new device (OnePlus 5) (!908) 2020-01-28 14:28:09 +03:00
CUI Hao
0326ffefa7
zuk-z2-row: new device (!898) 2020-01-28 02:13:31 +03:00
Luca Weiss
ce097f1c51
kde/spacebar: upgrade to 0_git20200119 (!906) 2020-01-27 14:20:59 +01:00
Minecrell
df07842cc1
temp/alsa-lib: remove (!893)
This was only needed to load the ALSA PulseAudio plugin outside
the chroot when running QEMU. Now that we allow configuring the
QEMU PulseAudio backend directly this is no longer needed.
2020-01-27 00:59:02 +01:00
Oliver Smith
3d3deefe29
pmbootstrap: upgrade to 1.14.0 2020-01-27 00:50:05 +01:00
Minecrell
227c63f18c
sony-sirius: use stable mesa-dri-freedreno (!895) 2020-01-26 23:23:17 +01:00
Minecrell
93ee2de6c8
sony-castor-windy: use stable mesa-dri-freedreno (!895) 2020-01-26 23:22:58 +01:00
Minecrell
1af1fbb490
lg-hammerhead: use stable mesa-dri-freedreno (!895) 2020-01-26 23:22:58 +01:00
Minecrell
e599774662
asus-flo: use stable mesa-dri-freedreno (!895) 2020-01-26 23:22:58 +01:00
Minecrell
b334362d72
temp/libdrm-grate: build all drivers, not just tegra (!897)
At the moment, installing the rootfs for ouya-ouya fails with:

ERROR: unsatisfiable constraints:
  libdrm-grate-2.4.100_git20191221-r0:
    conflicts: libdrm-2.4.100-r0[libdrm]
               libdrm-2.4.100-r0[so:libdrm.so.2=2.4.0]
               libdrm-2.4.100-r0[so:libdrm_tegra.so.0=0.0.0]
               libdrm-2.4.100-r0[so:libkms.so.1=1.0.0]
    satisfies: device-ouya-ouya-1-r12[libdrm-grate]
               libvdpau-tegra-0_git20190315-r0[libdrm-grate]
               .pmbootstrap-20200110.144341[libdrm-grate]
               .pmbootstrap-20200110.144341[libdrm]
               mesa-gl-19.3.2-r0[so:libdrm.so.2]
               directfb-1.7.7-r1[so:libdrm.so.2]
               directfb-1.7.7-r1[so:libkms.so.1]
               mesa-dri-swrast-19.3.2-r0[so:libdrm.so.2]
               mesa-19.3.2-r0[so:libdrm.so.2]
  libdrm-2.4.100-r0:
    conflicts: libdrm-grate-2.4.100_git20191221-r0
               libdrm-grate-2.4.100_git20191221-r0[so:libdrm.so.2=2.4.0]
               libdrm-grate-2.4.100_git20191221-r0[so:libdrm_tegra.so.0=0.0.0]
               libdrm-grate-2.4.100_git20191221-r0[so:libkms.so.1=1.0.0]
    satisfies: .pmbootstrap-20200110.144341[libdrm]
               mesa-gl-19.3.2-r0[so:libdrm.so.2]
               directfb-1.7.7-r1[so:libdrm.so.2]
               directfb-1.7.7-r1[so:libkms.so.1]
               mesa-dri-swrast-19.3.2-r0[so:libdrm.so.2]
               mesa-dri-swrast-19.3.2-r0[so:libdrm_amdgpu.so.1]
               mesa-dri-swrast-19.3.2-r0[so:libdrm_nouveau.so.2]
               mesa-dri-swrast-19.3.2-r0[so:libdrm_radeon.so.1]
               mesa-19.3.2-r0[so:libdrm.so.2]
               mesa-19.3.2-r0[so:libdrm_amdgpu.so.1]
               mesa-19.3.2-r0[so:libdrm_nouveau.so.2]
               mesa-19.3.2-r0[so:libdrm_radeon.so.1]

Looking closer at the error we see that:
  1. We want to explicitly install libdrm-grate for device-ouya-ouya.
  2. libdrm-grate provides
     - so:libdrm.so.2=2.4.0
     - so:libdrm_tegra.so.0=0.0.0
     - so:libkms.so.1=1.0.0
  3. But the mesa package also builds AMD and Nouveau drivers and
     therefore requires:
     - so:libdrm_amdgpu.so.1
     - so:libdrm_nouveau.so.2
     - so:libdrm_radeon.so.1

These libraries are not provided by libdrm-grate, therefore it is impossible
to install mesa and libdrm-grate at the same time.

A simple solution to fix this problem is to let libdrm-grate provide
these additional libraries as well - the package size overhead is negligible
and the additional drivers build just fine.

[ci:skip-build]: already built successfully in CI
2020-01-26 23:18:35 +01:00