Commit Graph
2809 Commits
Author SHA1 Message Date
Oliver Smith ff3fbfdb4e CI: run flake8 for changes in testcases too (!1069) 2020-03-21 22:35:42 +01:00
Minecrell 0ffb448de4 CI: common: fixup get_changed_packages() (!1069)
At the moment the function does not handle all cases correctly.
For example, it cannot say which package was changed when a file
in a subdirectory of a package was changed.

This is used e.g. in device-samsung-golden:

    device-samsung-golden
    ├── APKBUILD
    ├── deviceinfo
    ├── downstream
    │   ├── init-usb-hook.sh
    │   ├── module-config.conf
    │   └── modules-load.conf
    └── kwin.sh

At the moment, changing a file under "downstream" would attempt
building a "downstream" package, instead of device-samsung-golden.

Refactor the function a bit to walk up the directory hierarchy,
until we find an APKBUILD.
2020-03-21 22:32:48 +01:00
Minecrell ae4931816b CI: apkbuild-linting: use get_changed_files() instead of get_changed_packages() (!1069)
For APKBUILD linting we care only about APKBUILD files that were changed,
not to which package they belong or whatever.

The "with_directory" option of get_changed_packages() really meant
"just give me changed files", which means that we can just use
get_changed_files() instead.
2020-03-21 22:32:48 +01:00
Minecrell 87e1b9f0b5 CI: common: get_changed_files: return set, add "removed" parameter (!1069)
All users of get_changed_files() check if the file was removed,
so it seems like most of them do not need files that were removed.

Also, there is no need to have files listed twice,
so we should return a set instead of a list.
2020-03-21 22:32:48 +01:00
Oliver Smith e87f2ec27b CI: test_directory_structure.py: fix flake8 (!1069)
It seems that the .gitlab-ci.yml did not trigger properly when the file
was changed last time, and now it does in this MR. Fix the file to make
it pass.
2020-03-21 22:31:57 +01:00
knuxify 630c9c2af9 samsung-lt01wifi: updates (!1081)
- Proper WiFi support (building modules, firmware package)
- Architecture change to armv7
- Fix no MAC address on USB networking

[ci:skip-build]: already built successfully in CI
2020-03-21 22:04:37 +01:00
Paul Cercueil b14dcd097f samsung-i9100: Change arch to armv7 (!1074)
The Samsung GT-I9100 is armv7, not armhf.

[ci:skip-build]: already built successfully in CI

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2020-03-21 21:59:51 +01:00
Bart Ribbers 2853de8ee6 kde/spacebar: upgrade to 0_git20200317 (!1075) 2020-03-21 21:45:26 +01:00
Mayeul Cantan e638031a65 pine64-pinephone: setup modem audio before starting ofono (!978)
This commit sets setup-modem-audio.initd to be executed before ofono, as
it changes the modem configuration and resets it.
2020-03-21 21:37:31 +01:00
Mayeul Cantan 3ca081f4dd pine64-pinephone: reset modem after applying configuration (!978)
The datasheet says that the AT+QDAI audio routing configuration is saved
to non-volatile memory directly, and therefore needs a modem reset to be
applied.

This commits changes the audio routing configuration script to first
check for the current configuration, and only change it if it is
different from the one wanted.

The new configuration is then sent, and modem is reset to apply
configuration.
2020-03-21 21:37:05 +01:00
Daniele Debernardi ecb510c295 main/linux-postmarketos-stable: remove (!1073)
[ci:skip-build]: already built successfully in CI
2020-03-21 21:12:02 +01:00
Daniele Debernardi d4181b1926 testing/device-nokia-n900: use linux-nokia-n900 (!1073) 2020-03-21 21:11:39 +01:00
Daniele Debernardi 57556f30da testing/linux-nokia-n900: new aport (!1073) 2020-03-21 21:11:34 +01:00
Oliver Smith 0e5ba649a5 CI: remove upstream compatibility checks (!1085)
Do not run upstream compatibility checks whenever pushing to master.
This is confusing, because if the upstream compatibility check fails,
then it appears that the last patch was broken in some way although it
isn't related.

I've moved the upstream compatibility checks to a separate repository
already, and added a badge to the pmaports gitlab project that indicates
whether they are currently succeding or not. The checks run hourly now.

Related: https://gitlab.com/postmarketOS/monitoring
Fixes: #457
2020-03-21 18:21:16 +01:00
Krzysztof Bezrąk e1e1d7fa07 motorola-peregrine: change arch to armv7 (!1083) 2020-03-21 16:55:20 +01:00
Oliver Smith 98f3f9a697 kde/plasma-settings: disable armhf
Depends on kirigami2, which is currently not available for armhf in
Alpine.

[ci:skip-vercheck]
2020-03-21 16:24:48 +01:00
Oliver Smith 8ffc8bb506 kde/kquicksyntaxhighlighter: disable armhf
Depends on "syntax-highlighting" package, which is currently not
available for armhf in Alpine.

[ci:skip-vercheck]
2020-03-21 16:24:48 +01:00
Oliver Smith 27018c7ce8 main/postmarketos-ui-phosh: disable armhf
Some package postmarketos-ui-phosh depends on, is in turn depending on
qt5-qtwayland, which is currently not available for armhf.

[ci:skip-vercheck]
2020-03-21 16:24:36 +01:00
Oliver Smith 9d7fbec393 cross/musl-*: upgrade to 1.1.24-r3 2020-03-21 13:08:12 +01:00
Dolphin von Chips f8dc44354c motorola-montana: add support for WiFi (!1082) 2020-03-21 12:42:50 +01:00
Dolphin von Chips 232ec90bd6 firmware/firmware-motorola-montana: new aport (!1082) 2020-03-21 12:42:45 +01:00
knuxify aa32a4df76 samsung-baffinlite: new device (!1057) 2020-03-20 23:28:27 +03:00
Danct12 43364cd064 main/linux-postmarketos-allwinner: completely disable sysrq (!1078)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-03-19 16:52:54 +01:00
Dolphin von Chips edc20209d8 motorola-montana: activate touchscreen (!1077) 2020-03-19 16:11:26 +01:00
Minecrell b5983e7939 samsung-i9195: bump pkgrel (!1079)
The pkgrel bump in !1032 got lost during a rebase, rebuild the package to fix:
ERROR: Could not find dependency 'modem-qcom-msm-mainline-common' in any aports folder or APKINDEX.
2020-03-19 15:31:14 +01:00
Minecrell b1e88f5583 lg-hammerhead: bump pkgrel (!1079)
The pkgrel bump in !1032 got lost during a rebase, rebuild the package to fix:
ERROR: Could not find dependency 'modem-qcom-msm-mainline-common' in any aports folder or APKINDEX.
2020-03-19 15:31:10 +01:00
Minecrell d2bbd7056b fairphone-fp2: bump pkgrel (!1079)
The pkgrel bump in !1032 got lost during a rebase, rebuild the package to fix:
ERROR: Could not find dependency 'modem-qcom-msm-mainline-common' in any aports folder or APKINDEX.
2020-03-19 15:31:05 +01:00
Antoine Fontaine 9ae464c2b2 main/postmarketos-ui-phosh: force wayland backend for gtk programs (!1059) 2020-03-19 01:35:31 +03:00
Dolphin von Chips 909181402b device/device-oneplus-oneplus3t: update dependencies (!1076) 2020-03-18 21:28:17 +03:00
Dolphin von Chips dbd40179fb device/device-oneplus-oneplus3: update dependencies (!1076) 2020-03-18 21:28:12 +03:00
Bart Ribbers 3776e794c7 kde/alligator: disable on armhf
[ci:skip-vercheck]
2020-03-18 17:51:11 +01:00
Bart Ribbers 3101cdfdea kde/plasma-phonebook: disable on armhf
[ci:skip-vercheck]
2020-03-18 17:50:35 +01:00
Bart Ribbers 1639461d9d temp/kdeclarative: remove, newer release in Alpine 2020-03-18 15:15:07 +01:00
Minecrell 942861a3cb modem/modem-qcom-msm-{mainline,downstream}: combine to msm-modem (!1032)
Combine modem-qcom-msm-{mainline,downstream}-common to a single APKBUILD
with mainline and downstream subpackages.

Enable rmtfs service here instead of directly in the package.

[ci:skip-vercheck]: for qrtr version fix
2020-03-18 14:09:29 +01:00
Minecrell e8cdc37dbe modem/rmtfs: rename from qcom_rmtfs (!1032)
Other distributions do not make use of the qcom_ prefix.
Also it's not like there are other projects named the same.
2020-03-18 14:09:26 +01:00
Minecrell f9295cfcd5 modem/qcom_rmtfs: cleanup (!1032)
- use supervise-daemon to restart when necessary
- run normally, without wrapping with sh and logger
- add "need qrtr-ns" to make sure it gets started first
- stop enabling service directly in rmtfs package
  (moved to msm-modem)
2020-03-18 14:09:23 +01:00
Minecrell fa80843a46 modem/qcom_rmtfs: upgrade to 0.2_git20200131 (!1032) 2020-03-18 14:09:20 +01:00
Minecrell a5eb030452 modem/qrtr: cleanup (!1032)
- Fix version
- Rename init script to qrtr-ns ("nameservice") to clarify which
  service is actually started
- Use supervise-daemon
- Configure and start daemon in one command (no need for qrtr-cfg)
- Remove "before qcom_rmtfs": it should depend on qrtr-ns,
  not the other way around
- Do not activate qrtr daemon by default - this should happen automatically
  if other service files have "need qrtr-ns"
2020-03-18 14:09:17 +01:00
Minecrell 03ec114637 modem/qrtr: upgrade to 1.1.0.3_git20200302 (!1032) 2020-03-18 14:09:14 +01:00
Minecrell 81ca3ffc7e modem/rpmsgexport: fix linting issues (!1032) 2020-03-18 14:09:11 +01:00
Bart Ribbers a0a08547bd kde/alligator: new aport (!1044) 2020-03-18 14:06:27 +01:00
Martijn Braam 9389a83f40 device/pine64-pinetab: use faster u-boot (!1049) 2020-03-18 13:57:31 +01:00
Martijn Braam 7dc2a08552 device/pine64-pinephone: use faster u-boot (!1049) 2020-03-18 13:57:28 +01:00
Martijn Braam a7bf6ded70 temp/u-boot-pinephone: new aport (!1049)
This adds a package that builds u-boot from the pine64/u-boot repository
which includes patches for enableing less hardware while booting so
there's quicker feedback that the power button has been pressed.

It also has a seperate patch file that modifies the clockspeed for the
memory which is one of the main performance bottlenecks of the A64 SoC.
It's a patch file so it's quick and easy to test out other clock speeds
when building. 600Mhz is stable but it should be able to run up to
624Mhz.
2020-03-18 13:57:24 +01:00
Bart Ribbers 2ebac1187e temp/plasma-phone-components: upgrade to 5.18.80_git20200310 (!1052) 2020-03-18 13:51:46 +01:00
Bart Ribbers 41efb21b1b kde/plasma-phonebook: upgrade to 0_git20200308 (!1060) 2020-03-18 13:49:11 +01:00
Minecrell 01e064c733 CI: add tests to ensure directory structure stays clean (!1070)
pmbootstrap now allows APKBUILDs in arbitrarily nested directories
within pmaports. This means that we really need some checks to ensure
APKBUILDs don't end up all over the place.

Add a test case with a whitelist of allowed directories.
Having this list in pmaports allows changing it without a new pmbootstrap
release.
2020-03-18 12:44:35 +00:00
Minecrell 0b35afde22 main/linux-postmarketos-stable: disable on all except armv7 (!1064)
nokia-n900 is the last user of linux-postmarketos-stable.
Let's keep it as-is temporarily until nokia-n900 has been migrated
to Alpine's linux-lts or a custom kernel.

Disable it on all other architectures to make it clear
that it is obsolete.

[ci:skip-vercheck]: no changes, only disabled architectures
2020-03-18 13:38:50 +01:00
Minecrell 841707b42b main/linux-postmarketos-mainline: remove (!1064)
See #464
2020-03-18 13:38:47 +01:00
Minecrell 2854a798be sony-amami: use linux-postmarketos-qcom-msm8974 for mainline (!1064)
This device is probably broken at this point, but since we want to
remove linux-postmarketos-mainline/stable it really has best chances
to work (somewhat) on linux-postmarketos-qcom-msm8974.
2020-03-18 13:38:44 +01:00