mkimage custom ISO missing apks
I'm following the guide How to make a custom ISO image with mkimage.
The specified apks
are not available in the final system (e.g. jq: not found
).
mkimg.recluster.sh
:
profile_recluster() {
profile_standard
arch="x86_64 aarch64 armv7 s390x"
apks="$apks coreutils ethtool iproute2 jq ncurses procps sudo sysbench util-linux yq"
local _k _a
for _k in $kernel_flavors; do
apks="$apks linux-$_k"
for _a in $kernel_addons; do
apks="$apks $_a-$_k"
done
done
apks="$apks linux-firmware"
}
Creating ISO via mkimage:
./mkimage.sh --tag v3.16 \
--outdir ~/iso \
--arch x86_64 \
--repository http://dl-cdn.alpinelinux.org/alpine/v3.16/main \
--repository http://dl-cdn.alpinelinux.org/alpine/v3.16/community \
--profile recluster
Note that during ISO creation I can correctly see that the packages have been downloaded (e.g.: Downloading jq-1.6-r1
).
What is wrong and why are the apks not available in the final ISO?