Commit graph

2893 commits

Author SHA1 Message Date
Antoine Fontaine
56dd569e56
main/anbox-image: new aport (!956) 2020-03-01 23:58:14 +03:00
Zhuowei Zhang
4fe8ceeee1
google-crosshatch: fix build with downstream kernel (!1016)
The downstream kernel doesn't provide a separate dtb file,
but the experimental mainline kernel does.

Previously, the deviceinfo specified a dtb file for both kernels,
and pmbootstrap ignored the missing file for downstream kernel.

pmbootstrap now errors when the dtb file is missing, so this
fixes the downstream kernel by specifying a dtb file only for
the upstream kernel.
2020-03-01 15:57:13 +03:00
Oliver Smith
73e8627ee2
pmaports.cfg: upgrade min pmbootstrap to 1.16.0
Require new pmbootstrap that gives the boot partition enough space
required for latest mkinitfs script changes. Besides that, latest
pmbootstrap has a big number of improvements. Refer to the changelog for
details.

Related: https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1884
Related: https://gitlab.com/postmarketOS/pmbootstrap/-/tags (changelog)
2020-03-01 11:58:30 +01:00
Luca Weiss
3fe7e1601c
main/devicepkg-dev: remove Image.gz from list of kernels to consider (!1014)
This breaks booting on Librem 5 and is not needed on any device
currently using downstreamkernel_package, so remove it.
2020-03-01 10:35:04 +01:00
Antoine Fontaine
325ac07381
main/postmarketos-ui-phosh: force qt apps to use wayland (!1008)
Phosh handles very badly X, so let's avoid using it.
2020-03-01 00:51:36 +01:00
Martijn Braam
ec83ab9a06
postmarketos-mkinitfs: fix unlocking with pmos_root (!943)
Fix --fde on the PinePhone (actually it fixes it for devices that
uses the pmos_root cmdline).
2020-03-01 00:43:08 +01:00
Minecrell
ed3eeeeebb
main/postmarketos-mkinitfs: append extra initfs hash to file contents (!983)
Partial revert of 24fa68c9 ("avoid storing initramfs-extra twice").

Some people have (rightfully) complained that including the hash
in the filename of the initramfs-extra prevents the device from booting
whenever the boot partition gets out of sync with the boot image.

In general we should assume that those two are in sync, but there is
no need to unnecessarily break this if previously booting the outdated
extra initramfs worked just fine.

At the end, the hash is just an implementation detail for the caching
mechanism - we need it when (re-)generating the initramfs, but it does
not have to be within the filename. Instead, we can simply append the
hash to the file contents. GZIP will simply ignore the trailing garbage.

The boot partition will then look like:
    $ cat /boot/initramfs-<flavor>-extra
    <GZIP data>d3c7b449c6fc811d97351bbc46852b66 (the hash)

This makes the filename of initramfs-extra nice and stable again.
It also fixes a regression where the initramfs-extra would no longer
get symlinked by "pmbootstrap export" (I was going to fix that in
pmbootstrap but now this solution is more appealing...)

While we're at it: Make the script more resilient again by writing
to a temporary file first, then move it (atomically) to the real path.
2020-03-01 00:31:27 +01:00
Bart Ribbers
820c3a3a31
main/postmarketos-ui-plasma-mobile: enable ofono by default (!971)
We should do this in the UI packages that need it rather than in the
device packages themselves because for example Phosh doesn't need Ofono
but ModemManager
2020-02-29 22:37:53 +01:00
Bart Ribbers
be59b67d6a
main/postmarketos-ui-phosh: enable modemmanager by default (!971) 2020-02-29 22:35:01 +01:00
Oliver Smith
484ca0a24b
main/postmarketos-ui-gnome: disable for armhf (!1015)
gdm is missing in Alpine for armhf [ci:skip-vercheck]

Related: https://builds.sr.ht/~postmarketos/job/160896
2020-02-29 22:01:18 +01:00
Martijn Braam
d5c046c74e
main/postmarketos-ui-gnome: new aport (!990) 2020-02-29 21:40:12 +01:00
Bart Ribbers
33fcf64f90
kde/spacebar: improve APKBUILD (!979)
Stop manually making the build dir in a custom prepare() function, but
rather use the CMake -B argument to automatically make this directory.

[ci:skip-vercheck]: since this doesn't change the resulting package
compared to our previous APKBUILD a pkgrel bump is not necessary.

[ci:skip-build]: already built successfully in CI
2020-02-29 20:40:32 +01:00
Antoine Fontaine
60693e6a6d
main/mauikit: add missing kirigami dep (!1009) 2020-02-29 04:02:20 +03:00
Minecrell
6254328c35
device/linux-*: remove empty variables (!1007)
Using commands like sed -i '/^subpackages=""$/d' linux-*/APKBUILD

[ci:skip-build]
[ci:skip-vercheck]
2020-02-28 18:33:55 +01:00
Minecrell
ea583fc601
device/linux-*: various custom linter fixes (!1007) 2020-02-28 18:33:52 +01:00
Minecrell
fde2a02e8a
device/linux-*: remove unneeded braces from variables (!1007)
sed -i -E 's/\$\{(\w+)\}/$\1/g' linux-*/APKBUILD

Manually revert ${CROSS_COMPILE} in linux-motorola-maserati.
2020-02-28 18:32:26 +01:00
Minecrell
ed2333c279
device/linux-*: remove all usages of _vendor (!1007)
Those are pretty stupid.
2020-02-28 18:32:26 +01:00
Minecrell
447b2e6fd2
device/linux-*: remove HOSTCC for kernels using latest GCC (!1007) 2020-02-28 18:32:26 +01:00
Minecrell
46371f042d
main/devicepkg-dev: make HOSTCC optional (!1007)
HOSTCC defaults to gcc, so we should only set it to override it
if we want to use an older GCC. Removing it avoids annoying linter
warnings caused by the HOSTCC="..." variable assignments.
2020-02-28 18:32:22 +01:00
Danct12
6625b432db
temp/mesa-git: upgrade to 0_git20200227 (!993)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-28 03:44:38 +03:00
Luca Weiss
464d13296c
device/linux-*: use downstreamkernel_* helpers (!976)
[ci:skip-build]
[ci:skip-vercheck]
2020-02-27 23:29:38 +01:00
Dolphin von Chips
6fee64ccd9
main/devicepkg-dev: add downstreamkernel_package helper (!976) 2020-02-27 23:29:38 +01:00
Luca Weiss
1526bdc0ea
device/linux-*: remove legacy menuconfig functions (!976) 2020-02-27 23:29:38 +01:00
Luca Weiss
44771cae20
device/linux-leeco-s2: convert spaces to tabs (!976) 2020-02-27 23:29:38 +01:00
Dolphin von Chips
30bc6faaa9
main/postmarketos-ui-phosh: mention numeric password condition (!997) 2020-02-28 00:51:43 +03:00
Dolphin von Chips
515004105e
main/postmarketos-ui-plasma-mobile: mention numeric password condition (!997) 2020-02-28 00:51:40 +03:00
Alexey Min
23aea77343
samsung-klte: set deviceinfo_bootimg_append_seandroidenforce to true (!1000) 2020-02-27 20:19:32 +03:00
Dolphin von Chips
7d674ef759
samsung-j1mini3g: set deviceinfo_bootimg_append_seandroidenforce to true (!1000) 2020-02-27 20:19:25 +03:00
Dolphin von Chips
2bb9599dce
main/postmarketos-mkinitfs: add option to append SEANDROIDENFORCE to boot.img (!1000) 2020-02-27 20:19:21 +03:00
Théo Friberg
f88b94ba7d
samsung-nevisp: add Wi-Fi support (!995) 2020-02-27 18:42:34 +03:00
Minecrell
456d068b4d
device/soc-qcom-msm8916: add a lot of hacks to make it work again (!992)
Upstream changes in alsa-lib have completely broken these UCM files.
Add a number of hacks to make them work again... Yay!

See: fed543629e
2020-02-27 16:28:24 +03:00
Minecrell
89fa4dd264
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc3 (!992)
- Update to Linux 5.6-rc3
- Fix orientation on wileyfox-crackling (add mount-matrix)
- Fix sound (workaround inexistent backward compatibility in alsa-lib...)
2020-02-27 16:28:24 +03:00
Alexey Min
4065e60a0c
cross/musl-*: upgrade to 1.1.24-r1 (!1001) 2020-02-27 16:12:07 +03:00
Alexey Min
c0d73b6748
cross/busybox-static-*: upgrade to 1.31.1-r12 (!998) 2020-02-27 16:03:48 +03:00
Alexey Min
32d14ec8c4
cross/gcc-*: upgrade to 9.2.0-r6 (!999)
[ci:skip-build]
2020-02-27 07:07:23 +03:00
Danct12
06c3133ab5
main/linux-postmarketos-allwinner: correct voltage for lcd (!994)
Currently, every LCDs inside their (our users) pocket are driving 3.3V,
meanwhile the LCD interface is meant to drive at ~2V.

This turns our LCDs into a timebomb that is ready to trigger at any moment,
killing the display.

Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-26 14:22:14 +03:00
Luca Weiss
1b3f6476da
main/umockdev: upgrade to 0.14.1 (!987) 2020-02-26 01:56:05 +03:00
Luca Weiss
2029e493e4
temp/xkeyboard-config: upgrade to 2.29 (!988) 2020-02-26 01:33:20 +03:00
Luca Weiss
15d2f6ef8a
main/apitrace: upgrade to 9.0 (!985) 2020-02-25 23:36:36 +03:00
Luca Weiss
cc79bbf36a
temp/dhcpcd: upgrade to 8.1.6 (!984) 2020-02-25 22:49:01 +03:00
Minecrell
2bb26bc855
qemu-aarch64: add option to use Alpine's linux-lts/linux-virt (!981) 2020-02-25 20:49:31 +03:00
Minecrell
ad5f5af881
qemu-amd64: add option to use Alpine's linux-lts/linux-virt (!981) 2020-02-25 20:49:27 +03:00
Bart Ribbers
96b399c5f9
temp/iio-sensor-proxy: drop fork, changes upstreamed 2020-02-25 12:00:03 +01:00
Bart Ribbers
d5552a21e1
temp/xfce4-battery-plugin: drop fork, upstreamed 2020-02-25 10:58:59 +01:00
Bart Ribbers
296b8c57d0
temp/qt5-qtbase: drop fork, upstreamed 2020-02-25 09:53:28 +01:00
Bart Ribbers
ea8eba7a67
temp/qt5-qtdeclarative: drop fork, upstreamed 2020-02-25 09:53:11 +01:00
Luca Weiss
56f9afaefe
main/linux-postmarketos-allwinner: enable some config options (!968)
* ch341: for PinePhone/PineTab usb serial console
* hidraw: yubikey and many other use cases
* the rest are options required by Anbox
2020-02-23 13:17:37 +01:00
Oliver Smith
424ea2afcd
temp/qt5-qtbase: bump pkgrel for upstream compat
Increase 'qt5-qtbase' pkgrel (16 -> 17), missing depend(s): so:libicui18n.so.64, so:libicuuc.so.64

Fixes: #456
2020-02-23 02:51:06 +01:00
Alexey Min
40c93fde19
samsung-klte: downstream: add audio support, reorganize deps (!967)
* move msm-fb-refresher dependency to downstream kernel package,
  it is useless on mainline

* disable msm-fb-refresher service when using libhybris
  adaptation, it is only required for downstream kernel *without*
  libhybris. It interferes with qcom kgsl-adreno driver badly
  (causes screen flickering)

* set CPU governor to conservative on system startup (it lowers
  CPU frequency in idle state from initial 2.4 Ghz to 300 MHz)

* add hybris_pulse subpackage that gets installed only when
  device-samsung-klte-hybris AND pulseaudio are installed. It
  pulls in pulseaudio-modules-droid-7.1-caf and alsa integration

* add system.img symlink to lxc-android installation. With this
  you can have Android container successfully running already
  at the first boot without need to do it manually. Halium
  installation process puts your system.img to /data partition
  by default, so follow their recommendation. We can use a
  symlink to save some space on /system partition.

[ci:skip-build]: already built successfully in CI
2020-02-22 21:49:48 +01:00
Oliver Smith
77e4902dfb
CI: install_pmb: use git clone, not tarball (!980)
GitLab disabled downloads of tarballs currently, because it was being
exploited for DoS agains their infrastructure. Work around this by using
git clone for now. I've thought about using --depth=1, but that would
break the ability to choose different branches.

Related: https://status.gitlab.com
2020-02-22 21:46:49 +01:00