summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/base/01_setup_pkg_revision.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/01_setup_pkg_revision.sh b/templates/base/01_setup_pkg_revision.sh
index af82c0988..034256c7d 100644
--- a/templates/base/01_setup_pkg_revision.sh
+++ b/templates/base/01_setup_pkg_revision.sh
@@ -34,7 +34,7 @@ EOF
EOF
echo "AGL_PR ?= \"${AGL_PR}\"" >> $LOCALCONF;
cat <<'EOF' >> $LOCALCONF
-PKGR_append = ".${AGL_PR}"
+PKGR = "${PR}${EXTENDPRAUTO}.${AGL_PR}"
PKGV = "${@ '${PV}'.replace('AUTOINC','${AGL_PR}')}"
BB_HASHBASE_WHITELIST_append = " PKGR PKGV"
EOF
@@ -42,7 +42,7 @@ EOF
value:*)
echo "AGL_PR ?= \"${RPMREVISION#value:}\"" >> $LOCALCONF;
cat <<'EOF' >> $LOCALCONF
-PKGR_append = ".${AGL_PR}"
+PKGR = "${PR}${EXTENDPRAUTO}.${AGL_PR}"
PKGV = "${@ '${PV}'.replace('AUTOINC','${AGL_PR}')}"
BB_HASHBASE_WHITELIST_append = " PKGR PKGV"
EOF