Commit graph

3284 commits

Author SHA1 Message Date
Ferenc Bakonyi
49b18224bb
main/fbkeyboard: upgrade to 0.4 (MR 1409) 2020-07-11 17:19:57 +02:00
Oliver Smith
7463d92293
device/*: clarify "close to mainline" (cosmetic) (MR 1408)
Make it clear, that these kernels are not mainline, but "close to
mainline".

[ci:skip-build] [ci:skip-vercheck]: just changing pkgdesc

Related: https://wiki.postmarketos.org/wiki/(Close_to)_Mainline
2020-07-11 16:06:16 +02:00
Oliver Smith
0cfcc52e0d
*/linux-*: enable CONFIG_CRYPTO_XTS (MR 1405)
Enable CONFIG_CRYPTO_XTS for each kernel, so we can switch to using
aes-xts-plain64 as default cipher for cryptsetup (override with
"pmbootstrap --cipher"), instead of aes-cbc-plain64 (pmbootstrap#1940).

I have executed "pmbootstrap kconfig edit" on each kernel, and manually
toggled the option. The diff is not always clean, because for some
kernels it is apparently the first time, that menuconfig was executed on
the configs like that. In a few instances, it turned out that
CONFIG_ANDROID_PARANOID_NETWORK needed to be disabled too (this is
already a requirement, but as the config was incomplete, it was not
visible that this option was enabled). Very few times, I had to enable
CONFIG_EXPERIMENTAL in order to see and enable CONFIG_CRYPTO_XTS.

It would be great if we could automate such mass kconfig edits in the
future, see pmbootstrap#1942.

[skip ci]: I have verified, that every single one of these kernels builds.
           CI will likely run out of time while downloading source tarballs.
2020-07-11 15:26:35 +02:00
Minecrell
2a8897b079
main/linux-postmarketos-qcom-msm8916: enable CONFIG_CRYPTO_XTS (MR 1405)
Seems like "pmbootstrap kconfig edit" causes unrelated kernel config
changes for some reason (probably because pmbootstrap does not install
a cross compiler for it). For now let's just edit the config manually
with the new options so everything else stays as-is.
2020-07-11 15:26:34 +02:00
Oliver Smith
3679e6018d
samsung-i9100: fixup for linux prepare_isorec() (MR 1405)
Fixes: 10cbdc72 ("linux-samsung-i9100: modernize with new gcc8 linux aportgen code")
2020-07-11 15:26:34 +02:00
Oliver Smith
1bdafe5aa0
wiko-lenny2: use _outdir in linux pmaport (MR 1405) 2020-07-11 15:26:34 +02:00
Oliver Smith
ca883ecf9d
gp-peak: delete 'rm .config' in linux pmaport (MR 1405)
Remove it, to prevent the following error:
	rm: can't remove '.config': No such file or directory

This must have been necessary before, because the prepare script was
different, or abuild did something differently.
2020-07-11 15:26:34 +02:00
Oliver Smith
e794dde79e
gp-peak: use _outdir in linux pmaport (MR 1405) 2020-07-11 15:26:34 +02:00
Oliver Smith
ae35afd208
asus-z00vd: use _outdir in linux pmaport (MR 1405)
Make it possible to find the kernel config with "pmbootstrap kconfig
edit". While at it, also remove redundant -C "$builddir" arguments for
make (since prepare is running in $builddir already).
2020-07-11 15:26:34 +02:00
Oliver Smith
e62c87a4e8
oneplus-sdm845: adjust to linux source rename (MR 1405) 2020-07-11 15:26:29 +02:00
Martijn Braam
7743b4a25d
pine64-pinephone: use wys-pinephone (MR 1406) 2020-07-11 12:12:23 +02:00
Martijn Braam
c6afbf8942
temp/wys-pinephone: new aport (MR 1406) 2020-07-10 22:37:59 +02:00
Danct12
50aa62358b
main/postmarketos-ui-plasma-mobile: combine extras package into a subpackage (MR 1006) 2020-07-09 09:19:42 +03:00
PureTryOut
6b1b89f271
main/mkbootimg-osm0sis: upgrade to 2020.05.18 (MR 1375) 2020-07-08 19:12:56 +03:00
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