Skip to content

Commit

Permalink
sysvinit-inittab: Use UNPACKDIR instead of WORKDIR
Browse files Browse the repository at this point in the history
Now that UNPACKDIR has been introduced to OE-Core, use it in the
do_install fuction so that as/when things move around and UNPACKDIR
is no longer WORKDIR, it continues to work correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
  • Loading branch information
rpurdie authored and zeddii committed May 14, 2024
1 parent e9bb0a3 commit 89e2b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-core/sysvinit/sysvinit-inittab_virtualization.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ SRC_URI += "file://getty-wrapper"

do_install:append() {
install -d ${D}${base_sbindir}
install -m 0755 ${WORKDIR}/getty-wrapper ${D}${base_sbindir}/getty-wrapper
install -m 0755 ${UNPACKDIR}/getty-wrapper ${D}${base_sbindir}/getty-wrapper
}
FILES:${PN} += "${base_sbindir}/getty-wrapper"

0 comments on commit 89e2b59

Please sign in to comment.