Skip to content

envkernel.sh: fix sourcing since pma!1063 merge

Administrator requested to merge fix/pma-device-testing-path into master

Change pmaports path aports/device/device-* to aports/device/testing/device-* to match the directory structure changes after pma!1063 got merged.

Without this change sourcing envkernel.sh with up-to-date pmbootstrap & aports would fail with:

ERROR: Please select a valid device in 'pmbootstrap init'
See also: <https://postmarketos.org/troubleshooting>

If instead I tried to create a copy of the device-* dir back in aports/device/device-* I got the following error:

[16:53:28] ERROR: Found device ports outside device/testing/... Please run 'pmbootstrap pull' and/or move the following device ports to device/testing:
 - /home/deathmist/.local/var/pmbootstrap/cache_git/pmaports/device/device-oneplus-cheeseburger/APKBUILD
[16:53:28] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
See also: <https://postmarketos.org/troubleshooting>

Merge request reports

Loading