Commit graph

3670 commits

Author SHA1 Message Date
Oliver Smith
204a56c095
CI: add distfile-check (MR 1388)
Verify that each distfile has the same hash in a directory full of APKBUILDs.

I've considered merging the new job with aports-static, but since there
are quite a few setup steps, it would make the .gitlab-ci.yml less
readable.

Related: https://gitlab.com/postmarketOS/ci-common/-/blob/master/distfile-check/README.md
2020-07-08 18:05:32 +02:00
Oliver Smith
76b3512a1c
CI: aports-static: remove redundant apk add git (MR 1388)
install_pmbootstrap.sh is already installing git, and that line can be
used to install additional dependencies (as done currently with pytest).
2020-07-08 18:05:32 +02:00
Oliver Smith
784782f543
main/postmarketos-base: keep /etc/fstab (MR 1398)
Only add a comment, do not try to mount the root or boot partitions
anymore. The initramfs is doing this already.

Related: https://postmarketos.org/fstab
2020-07-08 18:02:49 +02:00
Oliver Smith
863ec713ba
main/postmarketos-mkinitfs: mount /sysroot/boot (MR 1398)
Mount the boot partition at /sysroot/boot and keep it mounted, when
running the switch_root command. This way, OpenRC doesn't need to mount
it and possibly use the wrong partition. The OpenRC service does not use
the same logic to find the boot partition, in particular it does not
support the pmos_boot kernel parameter.

While at it, print the mountpoint and read-only/read-write arguments in
the mounting log message for both root and boot.

Fixes: #664
2020-07-08 18:02:49 +02:00
Oliver Smith
58ae4df2ef
main/postmarketos-base: rm write_unless_modified (MR 1398)
Get rid of the "write_unless_modified" code, which was supposed to only
change /etc/fstab, /etc/issue, /etc/motd if the user did not modify it.

This is nice in theory, but we have a bug report where the code did not
do what it should (apk audit possibly failed due to a qemu bug?), and
then it lead to strange bugs related to not having the expected
/etc/fstab installed.

Fixes: #661, #258
2020-07-08 18:02:49 +02:00
Martijn Braam
4cff95a5bb
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200705 (MR 1397)
This adds panel stability patches and enables more resolutions on
the hdmi port of the A64.
2020-07-08 17:26:42 +02:00
Bart Ribbers
52072fa952 temp/plasma-phone-components: upgrade to 5.19.3_git20200626 2020-07-08 15:47:41 +02:00
Bart Ribbers
51b6a561a3 temp/plasma-nano: upgrade to 5.19.3_git20200705 2020-07-08 15:46:41 +02:00
Oliver Smith
dfd81314b0
device/testing/firmware-google-glass: fix distfiles collision (MR 1399)
Add a $_commit prefix infront of each distfile, so bcmdhd.cal and
fw_bcmdhd.bin do not conflict with firmware-sony-sumire.
2020-07-08 05:27:50 +03:00
Dolphin von Chips
f15f71c36f
device/community/firmware-pine64-rtl8723bt: add missing "replaces=" (MR 1400)
Package got renamed and "provides" wasn't added, so right now
`apk upgrade -a` with firmware-rtl8723bt installed results in
`ERROR: firmware-pine64-rtl8723bt-0_git20181104-r0: trying to overwrite lib/firmware/rtl_bt/rtl8723bs_config-pine64.bin owned by firmware-rtl8723bt-0_git20181104-r0.`
Add `replaces="firmware-rtl8723bt"` so `apk` prefers this package.

[ci:skip-build]: already built successfully in CI
2020-07-07 20:23:37 +02:00
Oliver Smith
3e012e3714
CI: test_directory_structure: mention firmware mv (MR 1362)
Instead of encouraging the user to add the directory to
test_directory_structure.py, mention that we just moved the firmware to
device/{main,community,testing}/. This will be more helpful for users
who get the message after rebasing on master.

In the rare case that we need to change the directory structure, we will
figure out which file to edit.

[ci skip]: various firmware packages fail when built at the same time
           (they use generic source files like "bcmdhd.cal" with different checksums)
2020-07-07 16:06:02 +02:00
Minecrell
c590ed74cf
firmware/*: move rest of firmware packages to device/testing (MR 1362)
After moving the firmware packages used by devices in community to
device/community, move the rest of the firmware packages to device/testing.
2020-07-07 16:05:58 +02:00
Minecrell
4724b0f9c1
firmware/*: move community firmware packages to device/community (MR 1362)
Right now we have all firmware packages under firmware/*.
This is problematic for mainly two reasons:

  - It's not immediately clear which firmware packages we need to keep
    when forking a new stable branch. (Where we delete testing devices
    at the moment...) We might end up deleting firmware packages that
    are actually used by one of the devices in community.

  - When backporting devices to the stable we cannot just cherry-pick
    the commit that moved the device to community (since it does not
    contain the firmware package). Instead we need to cherry-pick
    earlier commits as well, which may touch a lot of deleted files
    in the testing directory.

Let's make this consistent by also placing the firmware packages in
the device/* directory. We already have the common firmware- prefix
to distinguish them from device/kernel packages, which are already
both under the device/* directory.
2020-07-07 15:48:57 +02:00
Minecrell
6a2cc8e3db
firmware/firmware-asus-me176c*: fix linter warnings (MR 1362)
It's called !archcheck, not !checkarch, oops! :)
2020-07-07 15:48:57 +02:00
Minecrell
1eff900dcb
firmware/firmware-pine64-rtl8723bt: add -pine64-, cleanup, install license (MR 1362)
For most firmware packages we use a vendor- prefix to make it clear
who has provided the firmware. The firmware-rtl8723bt package is only
used for Pine64 devices and actually contains configs that are specific
to Pine64 hardware (e.g. rtl8723bs_config-pine64.bin).

Let's rename it to firmware-pine64-rtl8723bt to make this more clear.
Also cleanup the APKBUILD a bit and provide the LICENSE file in a -doc
subpackage so we can legally redistribute that firmware.
2020-07-07 15:48:52 +02:00
Martijn Braam
baa69a57f7
main/postmarketos-ui-phosh: add scaling overrides (MR 1396) 2020-07-06 15:45:22 +02:00
Andrea Scarpino
18e5129f3e sony-eagle: new device (Sony Xperia M2) (MR 1338) 2020-07-05 20:18:51 +02:00
Nick Boone
9f7c7752c1 htc-m8: fix red screen issue (MR 1384) 2020-07-05 20:07:28 +02:00
realaravinth
416f80d659
samsung-gtel3g: new device (Galaxy Tab E 9.6) (MR 1385) 2020-07-05 19:59:28 +02:00
Martijn Braam
0b00e23280
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200704 (MR 1393)
This enables mult-sensor support in sun6i-csi, support for the
gc2145 front camera, the new panel driver from mainline linux
and a small fix for the anx7688 that prevents it spamming the
kernel log when no cable is plugged in on 1.2a hardware.
2020-07-05 19:45:53 +02:00
Hendrik Langer
385792983c
htc-vision: change arch to armv7 (MR 1395) 2020-07-04 23:09:10 +02:00
Nick Boone
761162b678
htc-m8: add proprietary Wi-Fi firmware files (MR 1386) 2020-07-04 12:41:58 +03:00
Oliver Smith
956113f005
cross/busybox-static-*: upgrade to 1.32.0
Regenerate with current pmbootstrap aportgen code.
2020-07-03 21:24:05 +02:00
Clayton Craft
51cb42b3e6
linux-purism-librem5: upgrade to 5.7.7+librem5.1 (MR 1387) 2020-07-03 14:23:54 +02:00
Martijn Braam
d4c55e8712
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200629 (MR 1377)
[ci:skip-build]: already built successfully in CI
2020-07-02 13:51:09 +02:00
Oliver Smith
2a83ff4ac0
main/osk-sdl: upgrade to 0.56 (MR 1379) 2020-07-01 00:31:10 +02:00
Oliver Smith
c606d92296
main/postmarketos-ondev: upgrade to 0.2.0 (MR 1378) 2020-07-01 00:23:52 +02:00
Joe Blos
39c74596c0
samsung-crespo: initial support (MR 1374)
Initial support for Samsung Nexus S, using vendor kernel.
2020-06-30 12:12:22 +02:00
laserbeamh
536c19797c
essential-mata: new device (Essential Phone) (MR 1194) 2020-06-29 15:09:04 +02:00
PureTryOut
ff97faf505
temp/plasma-phone-components: upgrade to 5.19.2_git20200626 (MR 1373) 2020-06-27 21:33:45 +03:00
PureTryOut
323fabb2f8
temp/plasma-nano: upgrade to 5.19.2_git20200625 (MR 1373) 2020-06-27 21:33:43 +03:00
Wazup
fea884dd87
main/linux-postmarketos-allwiner: enable IP_SET module (MR 1372) 2020-06-27 19:23:40 +03:00
Alexey Min
8217bbc3c2
main/linux-postmarketos-allwinner: add patch descriptions (MR 1372)
Fixes linter warnings
2020-06-27 19:22:24 +03:00
Oliver Smith
d370a6fe23
kde/plasma-videoplayer: disable armhf
[ci:skip-vercheck]
2020-06-27 10:03:39 +02:00
Oliver Smith
cab8f10d2f
*/*: bump pkgrels for failed builds
gitlab.com had a service disruption, so it was not possible to "git
clone" from gitlab.com from some regions, like where the sourcehut
infrastructure is located. Since we are building our packages on
builds.sr.ht, this caused all packages that should be built at that time
to fail. It is working again, so bump the pkgrels to restart the builds.
2020-06-27 09:13:19 +02:00
Bart Ribbers
fdde5452e7
kde/kquicksyntaxhighlighter: drop, not used anymore (MR 1311) 2020-06-26 11:31:37 +00:00
Bart Ribbers
d43c2780ac
main/{mauikit,vvave,pix,nota,index,buho}: drop, upstreamed to Alpine (MR 1311) 2020-06-26 11:31:37 +00:00
Bart Ribbers
356e7ecb77
*/*: switch CMake buildtype to None (MR 1311)
This switch has happened in the Alpine repos quite a while ago and most
of the pmOS packages were using it already too, so let's switch over the
last ones as well.

This also cleans up the APKBUILDs where necessary
2020-06-26 11:31:37 +00:00
Federico Braghiroli
88073cd686
motorola-falcon: change arch to armv7 (MR 1369)
Signed-off-by: Federico Braghiroli <federico.braghiroli@gmail.com>
2020-06-26 00:57:38 +03:00
Bart Ribbers
b1ef08229b
kde/qrca: upgrade to 0_git20200625 (MR 1330) 2020-06-25 19:22:00 +03:00
Paul Cercueil
08594dba17
u-boot-samsung-i9100: New package (MR 1154)
This is the downstream u-boot port for the Galaxy S2.

The load script has been slightly altered to load the kernel from the
KERNEL partition at the 512 KiB offset, instead of loading it from the
RECOVERY partition, since PostmarketOS places the second initramfs in
the RECOVERY partition.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2020-06-25 15:51:25 +02:00
Antoine Fontaine
d9be626aa7 main/postmarketos-ui-plasma-mobile: force wayland backend for gtk programs 2020-06-25 15:45:50 +02:00
Bart Ribbers
a949531876
main/postmarketos-ui-plasma-mobile: replace pix dependency for koko (MR 1327) 2020-06-25 16:27:34 +03:00
Bart Ribbers
f834975c60
kde/koko: new aport (MR 1327) 2020-06-25 16:27:34 +03:00
Danct12
ea0fd7cb7f
main/linux-postmarketos-allwinner: upgrade to 0_git20200528 (MR 1267)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-06-25 15:20:38 +02:00
Alexey Min
df57eaf100
main/postmarketos-ondev: rebuild against new libcalamares 2020-06-25 16:04:51 +03:00
Bart Ribbers
5b9fad9187
kde/kclock: new aport (MR 1328) 2020-06-25 15:43:30 +03:00
Bart Ribbers
64fd27a669
kde/kirigami-addons: new aport (MR 1328) 2020-06-25 15:43:30 +03:00
unxcepted
34297845c1
huawei-alice: new device (MR 1306) 2020-06-25 13:53:47 +02:00
Minecrell
8e080015d7
modem/msm-modem: rename msm-modem-mainline to msm-modem-rpmsg (MR 1356)
Newer Qualcomm SoCs (e.g. SDM845. MSM8953) seem to use a different
method to talk to the modem. There are no longer separate rpmsg/SMD
channels for QMI messags, instead the modem is also available through QRTR.

On these newer SoCs, installing msm-modem-mainline is pointless,
because the created /dev/modem device will not actually allow
communicating with the modem. However, you still need the part from
the base package (msm-modem), which installs+enables rmtfs.

To avoid confusion, rename the msm-modem-mainline subpackage to
msm-modem-rpmsg. Install only "msm-modem" on SDM845 because that
likely does not allow communication with the modem through RPMSG
anyway.
2020-06-25 09:41:35 +02:00