mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
kernel.bbclass: Move away from calling package_get_auto_pr
...instead we call read_subpackage_metadata. Calling package_get_auto_pr *should* result in the same PKGV AUTOINC replacement. However, it will also end up changing PKGR differently then do_package as the BB_TASKHASH used will be for the wrong task. Generally this won't cause any real-world issue, but it could cause problems. Moving to read_subpackage_metadata ensures that the values used in do_package will be read in and used for kernel deployment. (From OE-Core rev: 86142dad13935a0d9af4a4177e05ff5c39003db7) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5cde141ef1
commit
fc807c9de7
@@ -748,7 +748,10 @@ kernel_do_deploy() {
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
do_deploy[prefuncs] += "package_get_auto_pr"
|
|
||||||
|
# We deploy to filenames that include PKGV and PKGR, read the saved data to
|
||||||
|
# ensure we get the right values for both
|
||||||
|
do_deploy[prefuncs] += "read_subpackage_metadata"
|
||||||
|
|
||||||
addtask deploy after do_populate_sysroot do_packagedata
|
addtask deploy after do_populate_sysroot do_packagedata
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user