pmbootstrap/pmb
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
..
aportgen pmb.helpers.git.clone: use git from host system (!1845) 2020-01-12 00:39:47 +01:00
build crossdirect: support rust (!1850) 2020-01-14 02:50:53 +01:00
chroot pmb.config.chroot_home_symlinks: cache rust dirs (!1850) 2020-01-14 02:50:53 +01:00
config pmb.config: add deviceinfo_boot_part_start 2020-01-18 23:03:32 +01:00
data pmb/data/keys/pmos-5a03a13a.rsa.pub: remove (!1835) 2019-11-21 23:52:25 +01:00
export Change copyright to 2020 2020-01-06 02:43:00 +01:00
flasher Change copyright to 2020 2020-01-06 02:43:00 +01:00
helpers pmb.config.chroot_home_symlinks: cache rust dirs (!1850) 2020-01-14 02:50:53 +01:00
install install/partition: allow specifying a different boot partition start (!1856) 2020-01-18 19:26:31 +00:00
parse pmb/parse/_apkbuild: Fix locating kernel subpackages with "-" in name (!1857) 2020-01-19 19:36:11 +03:00
qemu Change copyright to 2020 2020-01-06 02:43:00 +01:00
__init__.py Change copyright to 2020 2020-01-06 02:43:00 +01:00