Closed ShorTie8 closed 1 year ago
BUILD_VERSION=
is a variable in the userdata.txt file.
example:
u-boot-exynos5422_2022.10-3_armhf.deb
usage:
u-boot-exynos5422_2022.10-'BUILD_VERSION="3"'_armhf.deb
It works for both uboot and linux packages. As for why it would not be working in ur fork I can't say?
Ended up it was blank is why. My bad
In my Gentoo version I set a BUILD_VERSION which messes up uboot. but with BV="${UBOOT_VERSION}", all is well. Think it might be better too...
`diff --git a/packaging/pkgvars b/packaging/pkgvars index 58030726..72ecd43f 100644 --- a/packaging/pkgvars +++ b/packaging/pkgvars @@ -23,9 +23,10 @@ echo compression='"'$COMPRESSION'"' >> "scripts/package/pkgvars" }
uboot_packaging(){ +echo -e "${PNK}[${GRN}Uboot Packaging BUILD_VERSION ${UBOOT_VERSION} ${PNK}]${FIN}" PKGNAME="u-boot-${SERIES}" PKGVERSION=
echo $UBOOT_VERSION | sed 's/v//g'
-BV="${BUILD_VERSION}" +BV="${UBOOTVERSION}" mkdir -p ${PKGNAME}${PKGVERSION}-${BV}_${ARCHEXT}/DEBIAN mkdir -p ${PKGNAME}${PKGVERSION}-${BV}_${ARCH_EXT}/usr/lib/${PKGNAME}/ if [[ "$FAMILY" == "allwinner" ]]; then`