summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-18 13:56:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-18 17:08:05 +0000
commit480bf037ae437689e16cbdcef0208c4298268fc4 (patch)
tree6fadc3a4dc65e592e15699e12cd48efc1635d831 /meta/classes/package.bbclass
parent7935ae2e805d935f0f7f38e06e5ef94482540041 (diff)
downloadpoky-480bf037ae437689e16cbdcef0208c4298268fc4.tar.gz
sstate: Get rid of crazy name mapping
When originally developed, it was thought a task may have more than one associated sstate archive. The way the code has grown that idea is now not possible or needed. We can therefore assume one sstate archive per task and drop the crazy name mapping code. Simpler is better in this case. The downside is that various sstate archives will change name so this forces a cache rebuild. Given the other sstate changes going in at this time, this isn't really a bad thing as things would rebuild anyway. (From OE-Core rev: 5afe86a6854b21692fd97c5fc7fab50dbc068acb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 44a852f3f6..eb4cf44ef0 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1931,7 +1931,6 @@ addtask package before do_build after do_install
1931 1931
1932PACKAGELOCK = "${STAGING_DIR}/package-output.lock" 1932PACKAGELOCK = "${STAGING_DIR}/package-output.lock"
1933SSTATETASKS += "do_package" 1933SSTATETASKS += "do_package"
1934do_package[sstate-name] = "package"
1935do_package[cleandirs] = "${PKGDEST} ${PKGDESTWORK}" 1934do_package[cleandirs] = "${PKGDEST} ${PKGDESTWORK}"
1936do_package[sstate-plaindirs] = "${PKGD} ${PKGDEST} ${PKGDESTWORK}" 1935do_package[sstate-plaindirs] = "${PKGD} ${PKGDEST} ${PKGDESTWORK}"
1937do_package[sstate-lockfile-shared] = "${PACKAGELOCK}" 1936do_package[sstate-lockfile-shared] = "${PACKAGELOCK}"
@@ -1949,7 +1948,6 @@ do_packagedata () {
1949addtask packagedata before do_build after do_package 1948addtask packagedata before do_build after do_package
1950 1949
1951SSTATETASKS += "do_packagedata" 1950SSTATETASKS += "do_packagedata"
1952do_packagedata[sstate-name] = "packagedata"
1953do_packagedata[sstate-inputdirs] = "${PKGDESTWORK}" 1951do_packagedata[sstate-inputdirs] = "${PKGDESTWORK}"
1954do_packagedata[sstate-outputdirs] = "${PKGDATA_DIR}" 1952do_packagedata[sstate-outputdirs] = "${PKGDATA_DIR}"
1955do_packagedata[sstate-lockfile-shared] = "${PACKAGELOCK}" 1953do_packagedata[sstate-lockfile-shared] = "${PACKAGELOCK}"