diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-30 14:23:37 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-02 15:15:51 +0100 |
| commit | 0ea63b6a439fe97f840c69d08cf381687baaae3f (patch) | |
| tree | c632ba15d6b67617859f335fe9263930cbf1a0fa /meta/recipes-devtools/qemu | |
| parent | 3288587aeb009fb65652776242c0a526b90771e2 (diff) | |
| download | poky-0ea63b6a439fe97f840c69d08cf381687baaae3f.tar.gz | |
recipes: Update WORKDIR references to UNPACKDIR
Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR
references in recipe do_compile/do_install tasks to use UNPACKDIR in the
appropraite places instead.
(From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
| -rw-r--r-- | meta/recipes-devtools/qemu/qemu-system-native_8.2.1.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-system-native_8.2.1.bb b/meta/recipes-devtools/qemu/qemu-system-native_8.2.1.bb index 0634b34242..5d2fbcbc02 100644 --- a/meta/recipes-devtools/qemu/qemu-system-native_8.2.1.bb +++ b/meta/recipes-devtools/qemu/qemu-system-native_8.2.1.bb | |||
| @@ -17,7 +17,7 @@ PACKAGECONFIG ??= "fdt alsa kvm pie slirp png \ | |||
| 17 | PACKAGECONFIG:remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}" | 17 | PACKAGECONFIG:remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}" |
| 18 | 18 | ||
| 19 | do_install:append() { | 19 | do_install:append() { |
| 20 | install -Dm 0755 ${WORKDIR}/powerpc_rom.bin ${D}${datadir}/qemu | 20 | install -Dm 0755 ${UNPACKDIR}/powerpc_rom.bin ${D}${datadir}/qemu |
| 21 | 21 | ||
| 22 | # The following is also installed by qemu-native | 22 | # The following is also installed by qemu-native |
| 23 | rm -f ${D}${datadir}/qemu/trace-events-all | 23 | rm -f ${D}${datadir}/qemu/trace-events-all |
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 4501f84c2b..f76cbbb5cb 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
| @@ -168,11 +168,11 @@ do_install () { | |||
| 168 | # If we built the guest agent, also install startup/udev rules | 168 | # If we built the guest agent, also install startup/udev rules |
| 169 | if [ -e "${D}${bindir}/qemu-ga" ]; then | 169 | if [ -e "${D}${bindir}/qemu-ga" ]; then |
| 170 | install -d ${D}${sysconfdir}/init.d/ | 170 | install -d ${D}${sysconfdir}/init.d/ |
| 171 | install -m 0755 ${WORKDIR}/qemu-guest-agent.init ${D}${sysconfdir}/init.d/qemu-guest-agent | 171 | install -m 0755 ${UNPACKDIR}/qemu-guest-agent.init ${D}${sysconfdir}/init.d/qemu-guest-agent |
| 172 | sed -i 's:@bindir@:${bindir}:' ${D}${sysconfdir}/init.d/qemu-guest-agent | 172 | sed -i 's:@bindir@:${bindir}:' ${D}${sysconfdir}/init.d/qemu-guest-agent |
| 173 | 173 | ||
| 174 | install -d ${D}${sysconfdir}/udev/rules.d/ | 174 | install -d ${D}${sysconfdir}/udev/rules.d/ |
| 175 | install -m 0644 ${WORKDIR}/qemu-guest-agent.udev ${D}${sysconfdir}/udev/rules.d/60-qemu-guest-agent.rules | 175 | install -m 0644 ${UNPACKDIR}/qemu-guest-agent.udev ${D}${sysconfdir}/udev/rules.d/60-qemu-guest-agent.rules |
| 176 | 176 | ||
| 177 | install -d ${D}${systemd_unitdir}/system/ | 177 | install -d ${D}${systemd_unitdir}/system/ |
| 178 | install -m 0644 ${S}/contrib/systemd/qemu-guest-agent.service ${D}${systemd_unitdir}/system | 178 | install -m 0644 ${S}/contrib/systemd/qemu-guest-agent.service ${D}${systemd_unitdir}/system |
