pmbootstrap/test/testdata
Minecrell 7907e91879
pmb/parse/_apkbuild: Fix locating kernel subpackages with "-" in name (!1857)
When defining a new kernel subpackage with a "-" in it
(e.g. $pkgname-kernel-mainline-modem), then pmbootstrap is unable to
find the function that builds the subpackage:

ERROR: Could not find subpackage function, no line starts with 'kernel_mainline-modem() {'

This is because it assumes that a $pkgname-kernel-<name> subpackage
is built by a kernel_<name> function, but this does not have to be the case.

We should really respect the name of the subpackage function that
is specified when defining the subpackage, but unfortunately it is
stripped away in cut_off_function_names().

For now let's fix this by replacing "-" with "_", but ideally the
APKBUILD parser API should be refactored to expose the subpackage
function in the future.
2020-01-19 19:36:11 +03:00
..
apkbuild pmb/parse/_apkbuild: implement parsing for more variable styles (!1854) 2020-01-19 11:30:59 +01:00
apkindex Skip virtual packages when parsing APKINDEX (#1278) 2018-03-10 13:15:30 +00:00
aportgen pmb/aportgen/gcc.py: add LANG_D=false (!1849) 2019-12-30 12:04:12 +01:00
bootimg Detect if DTB is placed in second area of Android boot image (!1828) 2019-10-25 17:36:22 +02:00
build_local_src pmbootstrap build --src: override source for any package (#1210) 2018-02-19 22:04:01 +00:00
init_questions_device/aports/device pmb/parse/_apkbuild: Fix locating kernel subpackages with "-" in name (!1857) 2020-01-19 19:36:11 +03:00
pkgrel_bump/aports "pkgrel_bump --auto": Handle subpackages properly (#1388) 2018-04-15 21:34:40 +00:00
version Testsuite: Run UIs in Qemu and check running processes and more (#982) 2018-02-02 00:16:29 +00:00