AUTOINC ending in filenames in tmp/deploy/images
Hi,
I am building an U-Boot from git and the file in tmp/deploy/images contains AUTOINC instead of the replaced git version.
$ ls images/u-boot-sysmobts-v2-v2011.12+gitAUTOINC+40d74c99ac-r17.bin
This is with Poky from yesterday, is this a known issue of the AUTOINC? The filename is set with 'u-boot-${MACHINE}-${PV}-${PR}' and the PV is like this 'v2011.12+git${SRCPV}'.
kind regards
holger
Quoted 10 lines · Holger Hans Peter Freyther
Hi,
I am building an U-Boot from git and the file in tmp/deploy/images contains AUTOINC instead of the replaced git version.
$ ls images/u-boot-sysmobts-v2-v2011.12+gitAUTOINC+40d74c99ac-r17.binThis is with Poky from yesterday, is this a known issue of the AUTOINC? The filename is set with 'u-boot-${MACHINE}-${PV}-${PR}' and the PV is like this 'v2011.12+git${SRCPV}'.
Use PKGV and PKGR instead of PV and PR and this should work better.
Cheers,
Richard
Quoted 2 lines · Richard Purdie
Use PKGV and PKGR instead of PV and PR and this should work better.
This didn't change anything. I have reduced my u-boot bbappend to the one below and I have updated the poky u-boot recipe to use PKGV and PKGR in the filename. Any other idea?
kind regards
holger
bbappend:
SRCREV = "40d74c99ac9d741857d1298617b186b1d4e148de"
PRINC = "11"
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"UBOOT_MACHINE_sysmobts-v1 = "davinci_sysmobts_v2_config" COMPATIBLE_MACHINE = "(sysmobts-v1)"
Quoted 7 lines · Holger Hans Peter Freyther
Quoted 2 lines · Richard Purdie
Use PKGV and PKGR instead of PV and PR and this should work better.
This didn't change anything. I have reduced my u-boot bbappend to the one below and I have updated the poky u-boot recipe to use PKGV and PKGR in the filename. Any other idea?
I checked kernel.bbclass which does manage this and noticed:
do_deploy[prefuncs] += "package_get_auto_pr"
I tested adding this locally as well as the other change with the beagleboard machine and it appears to address the problem.
Cheers,
Richard