Problem creating a custom ISO with a custom kernel
I'm having trouble creating a custom bootable ISO with a custom kernel.
Steps taken:
- Started an aarch64 Alpine EC2 instance
- Cloned aports, followed the steps in https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#Setup_your_system_and_account
- Checked out 3.17 branch
- Modified lts.aarch64.config, bumped pkgrel to 1, updated checksums, built the new kernel with the required modules with abuild
- Run
./aports/scripts/mkimage.sh --arch aarch64 --outdir ~/build --profile standard --repository /home/alpine/packages/main --re
pository http://dl-cdn.alpinelinux.org/alpine/v3.17/main --hostkeys --tag v3.17
I would expect the script to pull the updated kernel (with pkgrel=1) from the local repository and the other required apks from the remote repo (this is what https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage suggests) but that's not what happens - all the files including the kernel (with pkgrel=0)are pulled from the remote repo instead.
Did I miss a step somewhere?