diff --git a/srcpkgs/usbarmory-kernel/template b/srcpkgs/usbarmory-kernel/template index 0a28fd0cee0..1214215957a 100644 --- a/srcpkgs/usbarmory-kernel/template +++ b/srcpkgs/usbarmory-kernel/template @@ -37,7 +37,7 @@ mutable_files=" /usr/lib/modules/${_kernver}/modules.devname" do_configure() { - cp $XBPS_BUILDDIR/usbarmory-$_configrev/software/kernel_conf/usbarmory_linux-${version}.config .config + cp $XBPS_BUILDDIR/usbarmory-$_configrev/software/kernel_conf/usbarmory_linux-${version%.*}.config .config cp $XBPS_BUILDDIR/usbarmory-$_configrev/software/kernel_conf/imx53-usbarmory* arch/arm/boot/dts # Always use our revision to CONFIG_LOCALVERSION to match our pkg version.