Skip to content

Commit 83751a0

Browse files
kk6hosbabic
authored andcommitted
luafilesystem swupdate-lualoader: WORKDIR -> UNPACKDIR fix
Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
1 parent d68e175 commit 83751a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎recipes-lua/swupdate-lualoader/swupdate-lualoader_1.0.bb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ SUMMARY = "Loader for swupdate"
22
LICENSE = "MIT"
33
SECTION = "devel/lua"
44
DEPENDS = "lua"
5-
LIC_FILES_CHKSUM = "file://${WORKDIR}/swupdate_handlers.lua;md5=354cf4af377edd962d2e8d78085d3ed7;beginline=1;endline=19"
5+
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/swupdate_handlers.lua;md5=354cf4af377edd962d2e8d78085d3ed7;beginline=1;endline=19"
66

77
SRC_URI = "file://swupdate_handlers.lua"
88

99
inherit pkgconfig
1010

1111
do_install() {
1212
LUAVER=$(pkg-config --modversion lua | grep -o '^[0-9]\+\.[0-9]\+')
13-
install -D -m 0644 ${WORKDIR}/swupdate_handlers.lua ${D}${libdir}/lua/$LUAVER/swupdate_handlers.lua
13+
install -D -m 0644 ${UNPACKDIR}/swupdate_handlers.lua ${D}${libdir}/lua/$LUAVER/swupdate_handlers.lua
1414
sed -e 's,@libdir@,${libdir},g' \
1515
-i ${D}${libdir}/lua/$LUAVER/swupdate_handlers.lua
1616

0 commit comments

Comments
 (0)