Skip to content

pmbootstrap kconfig edit: support $builddir and $srcdir/build

postmarketOS Bot requested to merge fix/1551-pmbootstrap-kconfig-edit into master

Created by: ollieparanoid

The linux APKBUILDs write the kernel config either to $builddir (default from the template) or $srcdir/build (legacy, and I reverted to that in #1556, which was not the proper fix for this regression).

With this commit, pmbootstrap kconfig edit is able to edit both versions, and prints a note when the APKBUILD is still using the old style.

Fixes #1551 (closed).


[x] Merge on GitHub (see https://postmarketos.org/merge)

Merge request reports