mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. (From OE-Core rev: 1f18b9a512800860d5153d89eb82b56388efad6f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -818,7 +818,7 @@ def bbappend_recipe(rd, destlayerdir, srcfiles, install=None, wildcardver=False,
|
||||
instdirline = 'install -d ${D}%s' % os.path.dirname(instdestpath)
|
||||
if not instdirline in instfunclines:
|
||||
instfunclines.append(instdirline)
|
||||
instfunclines.append('install -m %s ${WORKDIR}/%s ${D}%s' % (perms, os.path.basename(srcfile), instdestpath))
|
||||
instfunclines.append('install -m %s ${UNPACKDIR}/%s ${D}%s' % (perms, os.path.basename(srcfile), instdestpath))
|
||||
if instfunclines:
|
||||
bbappendlines.append(('do_install:append%s()' % appendoverride, '', instfunclines))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user