diff --git a/packaging/alpine/src/community/linux-chrultrabook-stoney/APKBUILD.template b/packaging/alpine/src/community/linux-chrultrabook-stoney/APKBUILD.template index a8b0d80..a57f050 100644 --- a/packaging/alpine/src/community/linux-chrultrabook-stoney/APKBUILD.template +++ b/packaging/alpine/src/community/linux-chrultrabook-stoney/APKBUILD.template @@ -1,6 +1,6 @@ _kernelver=KERNELVER-chrultrabook-stoney pkgname=linux-chrultrabook-stoney -pkgver=KERNELVER +pkgver=PACKVER arch=x86_64 url="https://chrultrabook.github.io/docs/" maintainer="Chimmie Firefly " @@ -20,5 +20,6 @@ package() { install -D -m755 vmlinuz ${pkgdir}/boot/vmlinuz-chrultrabook-stoney install -D -m644 kernel.release ${pkgdir}/usr/share/kernel/chrultrabook-stoney/kernel.release mkdir -p ${pkgdir}/lib/modules + ls modules/lib/modules cp -r modules/lib/modules/${_kernelver} ${pkgdir}/lib/modules } diff --git a/runtime.sh b/runtime.sh index d256936..436e073 100755 --- a/runtime.sh +++ b/runtime.sh @@ -144,7 +144,8 @@ function package_kernel { mkdir -p "${package_dir}" cp /dist/kernel-alpine.tar.gz "${package_dir}/kernel.tar.gz" cp "${build_dir}/alpine/src/community/linux-chrultrabook-stoney/APKBUILD.template" "${package_dir}/APKBUILD" - sed -i "s/KERNELVER/$(echo "${package_version}" | sed -e 's/nightly/0/g')/g" "${package_dir}/APKBUILD" + sed -i "s/KERNELVER/$(echo "${kernel_version}" | sed -e 's/nightly/0/g')/g" "${package_dir}/APKBUILD" + sed -i "s/PACKVER/$(echo "${package_version}" | sed -e 's/nightly/0/g')/g" "${package_dir}/APKBUILD" output_dir="${build_dir}" BUILDUSER="abuilder" adduser "$BUILDUSER" -D || true