Forráskód Böngészése

meta: set S from UNPACKDIR in recipes that use only local files

There is no need to have two assignments; also setting S from
UNPACKDIR (and not vice versa) is more logical as unpack
task comes first, and tasks that come after unpack use S to access
unpack results.

Also adjust reference test data in selftest/recipeutils to reflect changes in test recipes.

(From OE-Core rev: f64b7e5fb3181734c8dde87b27e872a026261a74)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alexander Kanavin 4 hónapja
szülő
commit
efb0410d38
86 módosított fájl, 87 hozzáadás és 172 törlés
  1. 1 2
      meta-selftest/recipes-test/cpp/cpp-example.inc
  2. 1 2
      meta-selftest/recipes-test/devtool/devtool-test-localonly.bb
  3. 1 2
      meta-selftest/recipes-test/devtool/devtool-test-reset-re++.bb
  4. 1 2
      meta-selftest/recipes-test/fortran/fortran-helloworld.bb
  5. 1 2
      meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb
  6. 1 2
      meta-selftest/recipes-test/selftest-chown/selftest-chown.bb
  7. 1 2
      meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb
  8. 1 2
      meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
  9. 1 2
      meta-selftest/recipes-test/selftest-users/acreategroup.bb
  10. 1 2
      meta-selftest/recipes-test/selftest-users/bcreategroup.bb
  11. 1 2
      meta-selftest/recipes-test/selftest-users/ccreategroup.bb
  12. 1 2
      meta-selftest/recipes-test/selftest-users/creategroup1.bb
  13. 1 2
      meta-selftest/recipes-test/selftest-users/creategroup2.bb
  14. 1 2
      meta-selftest/recipes-test/selftest-users/dcreategroup.bb
  15. 1 2
      meta-selftest/recipes-test/selftest-users/useraddbadtask.bb
  16. 1 2
      meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
  17. 1 2
      meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb
  18. 1 2
      meta-skeleton/recipes-skeleton/hello-single/hello_1.0.bb
  19. 1 2
      meta-skeleton/recipes-skeleton/service/service_0.1.bb
  20. 1 2
      meta-skeleton/recipes-skeleton/useradd/useradd-example.bb
  21. 1 2
      meta/classes-recipe/devicetree.bbclass
  22. 1 2
      meta/classes-recipe/kernel-fit-image.bbclass
  23. 2 2
      meta/lib/oeqa/selftest/cases/recipeutils.py
  24. 1 2
      meta/recipes-bsp/alsa-state/alsa-state.bb
  25. 1 2
      meta/recipes-bsp/formfactor/formfactor_0.0.bb
  26. 1 2
      meta/recipes-bsp/grub/grub-bootconf_1.00.bb
  27. 1 2
      meta/recipes-bsp/keymaps/keymaps_1.0.bb
  28. 1 2
      meta/recipes-connectivity/connman/connman-conf.bb
  29. 1 2
      meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb
  30. 1 2
      meta/recipes-connectivity/ssh-pregen-hostkeys/ssh-pregen-hostkeys_1.0.bb
  31. 1 2
      meta/recipes-core/base-files/base-files_3.0.14.bb
  32. 1 2
      meta/recipes-core/busybox/busybox-inittab_1.37.0.bb
  33. 1 2
      meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb
  34. 1 2
      meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb
  35. 1 2
      meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
  36. 1 2
      meta/recipes-core/initrdscripts/initramfs-live-boot-tiny_1.0.bb
  37. 1 2
      meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
  38. 1 2
      meta/recipes-core/initrdscripts/initramfs-live-install-efi-testfs_1.0.bb
  39. 1 2
      meta/recipes-core/initrdscripts/initramfs-live-install-efi_1.0.bb
  40. 1 2
      meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb
  41. 1 2
      meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
  42. 1 2
      meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb
  43. 1 2
      meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
  44. 1 2
      meta/recipes-core/initrdscripts/initramfs-module-setup-live_1.0.bb
  45. 1 2
      meta/recipes-core/initscripts/initscripts_1.0.bb
  46. 1 2
      meta/recipes-core/musl/bsd-headers.bb
  47. 1 2
      meta/recipes-core/musl/libssp-nonshared.bb
  48. 1 2
      meta/recipes-core/musl/musl-legacy-error.bb
  49. 1 2
      meta/recipes-core/systemd/systemd-bootconf_1.00.bb
  50. 1 2
      meta/recipes-core/systemd/systemd-compat-units.bb
  51. 1 2
      meta/recipes-core/systemd/systemd-conf_1.0.bb
  52. 1 2
      meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
  53. 1 2
      meta/recipes-core/udev/udev-extraconf_1.1.bb
  54. 1 2
      meta/recipes-core/volatile-binds/volatile-binds.bb
  55. 1 2
      meta/recipes-devtools/devel-config/distcc-config.bb
  56. 1 2
      meta/recipes-devtools/devel-config/nfs-export-root.bb
  57. 1 2
      meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
  58. 1 2
      meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb
  59. 1 2
      meta/recipes-devtools/makedevs/makedevs_1.0.1.bb
  60. 1 2
      meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
  61. 1 2
      meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
  62. 1 2
      meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
  63. 1 2
      meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
  64. 1 2
      meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
  65. 1 2
      meta/recipes-devtools/rust/rust-cross-canadian.inc
  66. 1 2
      meta/recipes-extended/shadow/shadow-securetty_4.6.bb
  67. 1 2
      meta/recipes-extended/shadow/shadow-sysroot_4.6.bb
  68. 1 2
      meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb
  69. 1 2
      meta/recipes-extended/watchdog/watchdog-config.bb
  70. 1 2
      meta/recipes-graphics/builder/builder_0.1.bb
  71. 1 2
      meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb
  72. 1 2
      meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb
  73. 1 2
      meta/recipes-graphics/pong-clock/pong-clock_1.0.bb
  74. 1 2
      meta/recipes-graphics/wayland/weston-init.bb
  75. 1 2
      meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb
  76. 1 2
      meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
  77. 1 2
      meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
  78. 1 2
      meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb
  79. 1 2
      meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
  80. 1 2
      meta/recipes-kernel/linux/linux-dummy.bb
  81. 1 2
      meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
  82. 1 2
      meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb
  83. 1 2
      meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
  84. 1 2
      meta/recipes-sato/pulseaudio-sato/pulseaudio-client-conf-sato_1.bb
  85. 1 2
      meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb
  86. 1 2
      meta/recipes-support/user-creation/xuser-account_0.1.bb

+ 1 - 2
meta-selftest/recipes-test/cpp/cpp-example.inc

@@ -19,7 +19,6 @@ SRC_URI = "\
     file://run-ptest \
 "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit ptest

+ 1 - 2
meta-selftest/recipes-test/devtool/devtool-test-localonly.bb

@@ -6,8 +6,7 @@ SRC_URI = "file://file1 \
 
 SRC_URI:append:class-native = " file://file3"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 EXCLUDE_FROM_WORLD = "1"
 BBCLASSEXTEND = "native"

+ 1 - 2
meta-selftest/recipes-test/devtool/devtool-test-reset-re++.bb

@@ -3,7 +3,6 @@ INHIBIT_DEFAULT_DEPS = "1"
 
 SRC_URI = "file://file1"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 EXCLUDE_FROM_WORLD = "1"

+ 1 - 2
meta-selftest/recipes-test/fortran/fortran-helloworld.bb

@@ -6,8 +6,7 @@ DEPENDS = "libgfortran"
 
 SRC_URI = "file://hello.f95"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 # These set flags that Fortran doesn't support
 SECURITY_CFLAGS = ""

+ 1 - 2
meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb

@@ -6,8 +6,7 @@ LICENSE = "HPND"
 LIC_FILES_CHKSUM = "file://${UNPACKDIR}/somefile;md5=d41d8cd98f00b204e9800998ecf8427e"
 DEPENDS += "zlib"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 BBCLASSEXTEND = "native nativesdk"
 

+ 1 - 2
meta-selftest/recipes-test/selftest-chown/selftest-chown.bb

@@ -5,8 +5,7 @@ LICENSE = "MIT"
 
 DEPENDS += "coreutils-native"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit useradd allarch
 

+ 1 - 2
meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb

@@ -6,8 +6,7 @@ SRC_URI = "file://hello.c \
            file://gdb.sh \
 "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_compile () {
 	${CC} hello.c -o hello1 ${CFLAGS} ${LDFLAGS}

+ 1 - 2
meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb

@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 SRC_URI = "file://helloworld.c"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_compile() {
 	${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld

+ 1 - 2
meta-selftest/recipes-test/selftest-users/acreategroup.bb

@@ -3,8 +3,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 LICENSE = "MIT"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 EXCLUDE_FROM_WORLD = "1"
 

+ 1 - 2
meta-selftest/recipes-test/selftest-users/bcreategroup.bb

@@ -7,8 +7,7 @@ LICENSE = "MIT"
 
 USERADD_DEPENDS = "acreategroup ccreategroup"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 EXCLUDE_FROM_WORLD = "1"
 

+ 1 - 2
meta-selftest/recipes-test/selftest-users/ccreategroup.bb

@@ -5,8 +5,7 @@ LICENSE = "MIT"
 
 USERADD_DEPENDS = "acreategroup"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 EXCLUDE_FROM_WORLD = "1"
 

+ 1 - 2
meta-selftest/recipes-test/selftest-users/creategroup1.bb

@@ -3,8 +3,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 LICENSE = "MIT"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit useradd allarch
 

+ 1 - 2
meta-selftest/recipes-test/selftest-users/creategroup2.bb

@@ -5,8 +5,7 @@ LICENSE = "MIT"
 
 USERADD_DEPENDS = "creategroup1"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit useradd allarch
 

+ 1 - 2
meta-selftest/recipes-test/selftest-users/dcreategroup.bb

@@ -5,8 +5,7 @@ LICENSE = "MIT"
 
 USERADD_DEPENDS = "bcreategroup"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 EXCLUDE_FROM_WORLD = "1"
 

+ 1 - 2
meta-selftest/recipes-test/selftest-users/useraddbadtask.bb

@@ -5,8 +5,7 @@ LICENSE = "MIT"
 
 DEPENDS:append = "coreutils-native"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit useradd allarch
 

+ 1 - 2
meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb

@@ -6,8 +6,7 @@ LICENSE = "MIT"
 SRC_URI = "file://testfile.txt"
 INHIBIT_DEFAULT_DEPS = "1"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_compile(){
 	echo "testdata" > ${B}/"file with [brackets].txt"

+ 1 - 2
meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb

@@ -10,8 +10,7 @@ SRC_URI = "file://Makefile \
            file://COPYING \
           "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 # The inherit of module.bbclass will automatically name module packages with
 # "kernel-module-" prefix as required by the oe-core build environment.

+ 1 - 2
meta-skeleton/recipes-skeleton/hello-single/hello_1.0.bb

@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 SRC_URI = "file://helloworld.c"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_compile() {
 	${CC} ${LDFLAGS} helloworld.c -o helloworld

+ 1 - 2
meta-skeleton/recipes-skeleton/service/service_0.1.bb

@@ -9,8 +9,7 @@ SRC_URI = "file://skeleton \
 	   file://COPYRIGHT \
 	   "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_compile () {
 	${CC} ${CFLAGS} ${LDFLAGS} ${S}/skeleton_test.c -o ${B}/skeleton-test

+ 1 - 2
meta-skeleton/recipes-skeleton/useradd/useradd-example.bb

@@ -9,8 +9,7 @@ SRC_URI = "file://file1 \
            file://file3 \
            file://file4"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 PACKAGES =+ "${PN}-user3"
 

+ 1 - 2
meta/classes-recipe/devicetree.bbclass

@@ -40,8 +40,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 SYSROOT_DIRS += "/boot/devicetree"
 FILES:${PN} = "/boot/devicetree/*.dtb /boot/devicetree/*.dtbo"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 B = "${WORKDIR}/build"
 
 # Default kernel includes, these represent what are normally used for in-kernel

+ 1 - 2
meta/classes-recipe/kernel-fit-image.bbclass

@@ -2,8 +2,7 @@
 inherit kernel-arch kernel-artifact-names uboot-config deploy
 require conf/image-fitimage.conf
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 

+ 2 - 2
meta/lib/oeqa/selftest/cases/recipeutils.py

@@ -72,7 +72,7 @@ class RecipeUtilsTests(OESelftestTestCase):
         expected_patch = """
 --- a/recipes-test/recipeutils/recipeutils-test_1.2.bb
 +++ b/recipes-test/recipeutils/recipeutils-test_1.2.bb
-@@ -11,6 +11,4 @@
+@@ -10,6 +10,4 @@
  
  BBCLASSEXTEND = "native nativesdk"
  
@@ -97,7 +97,7 @@ class RecipeUtilsTests(OESelftestTestCase):
         expected_patch = """
 --- a/recipes-test/recipeutils/recipeutils-test_1.2.bb
 +++ b/recipes-test/recipeutils/recipeutils-test_1.2.bb
-@@ -11,6 +11,3 @@
+@@ -10,6 +10,3 @@
  
  BBCLASSEXTEND = "native nativesdk"
  

+ 1 - 2
meta/recipes-bsp/alsa-state/alsa-state.bb

@@ -21,8 +21,7 @@ SRC_URI = "\
   file://alsa-state-init \
 "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 # As the recipe doesn't inherit systemd.bbclass, we need to set this variable
 # manually to avoid unnecessary postinst/preinst generated.

+ 1 - 2
meta/recipes-bsp/formfactor/formfactor_0.0.bb

@@ -8,8 +8,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 SRC_URI = "file://config file://machconfig"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 INHIBIT_DEFAULT_DEPS = "1"

+ 1 - 2
meta/recipes-bsp/grub/grub-bootconf_1.00.bb

@@ -11,8 +11,7 @@ inherit grub-efi-cfg
 
 require conf/image-uefi.conf
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 GRUB_CFG = "${S}/grub-bootconf"
 LABELS = "boot"

+ 1 - 2
meta/recipes-bsp/keymaps/keymaps_1.0.bb

@@ -24,8 +24,7 @@ SRC_URI = "file://keymap.sh"
 INITSCRIPT_NAME = "keymap.sh"
 INITSCRIPT_PARAMS = "start 01 S ."
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install () {
     # Only install the script if 'sysvinit' is in DISTRO_FEATURES

+ 1 - 2
meta/recipes-connectivity/connman/connman-conf.bb

@@ -8,8 +8,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;m
 SRC_URI = "file://main.conf \
           "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 

+ 1 - 2
meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb

@@ -11,8 +11,7 @@ SRC_URI = "file://host-peer \
 
 inherit allarch useradd
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
 	install -d ${D}${sysconfdir}/ppp/peers

+ 1 - 2
meta/recipes-connectivity/ssh-pregen-hostkeys/ssh-pregen-hostkeys_1.0.bb

@@ -6,8 +6,7 @@ SRC_URI = "file://dropbear_rsa_host_key \
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 INHIBIT_DEFAULT_DEPS = "1"
 

+ 1 - 2
meta/recipes-core/base-files/base-files_3.0.14.bb

@@ -25,8 +25,7 @@ SRC_URI = "file://rotation \
            file://licenses/GPL-2 \
            "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 INHIBIT_DEFAULT_DEPS = "1"
 

+ 1 - 2
meta/recipes-core/busybox/busybox-inittab_1.37.0.bb

@@ -4,8 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;m
 
 SRC_URI = "file://inittab"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 INHIBIT_DEFAULT_DEPS = "1"
 

+ 1 - 2
meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb

@@ -15,8 +15,7 @@ SRC_URI = "file://copyright \
            file://interfaces \
            file://nfsroot"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install () {
 	install -d ${D}${sysconfdir}/init.d \

+ 1 - 2
meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb

@@ -3,8 +3,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 SRC_URI = "file://init-boot.sh"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
         install -m 0755 ${S}/init-boot.sh ${D}/init

+ 1 - 2
meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb

@@ -20,8 +20,7 @@ SRC_URI = "file://init \
            file://overlayroot \
           "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
     install -d ${D}/init.d

+ 1 - 2
meta/recipes-core/initrdscripts/initramfs-live-boot-tiny_1.0.bb

@@ -5,8 +5,7 @@ DEPENDS = "virtual/kernel"
 RDEPENDS:${PN} = "busybox-mdev"
 SRC_URI = "file://init-live.sh"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
         install -m 0755 ${S}/init-live.sh ${D}/init

+ 1 - 2
meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb

@@ -5,8 +5,7 @@ DEPENDS = "virtual/kernel"
 RDEPENDS:${PN} = "udev udev-extraconf"
 SRC_URI = "file://init-live.sh"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
         install -m 0755 ${S}/init-live.sh ${D}/init

+ 1 - 2
meta/recipes-core/initrdscripts/initramfs-live-install-efi-testfs_1.0.bb

@@ -5,8 +5,7 @@ SRC_URI = "file://init-install-efi-testfs.sh"
 
 RDEPENDS:${PN} = "parted e2fsprogs-mke2fs dosfstools"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
         install -m 0755 ${S}/init-install-efi-testfs.sh ${D}/install-efi.sh

+ 1 - 2
meta/recipes-core/initrdscripts/initramfs-live-install-efi_1.0.bb

@@ -6,8 +6,7 @@ SRC_URI = "file://init-install-efi.sh"
 RDEPENDS:${PN} = "parted e2fsprogs-mke2fs dosfstools util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}"
 RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
         install -m 0755 ${S}/init-install-efi.sh ${D}/install-efi.sh

+ 1 - 2
meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb

@@ -5,8 +5,7 @@ SRC_URI = "file://init-install-testfs.sh"
 
 RDEPENDS:${PN} = "grub parted e2fsprogs-mke2fs"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
         install -m 0755 ${S}/init-install-testfs.sh ${D}/install.sh

+ 1 - 2
meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb

@@ -3,8 +3,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 SRC_URI = "file://init-install.sh"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 RDEPENDS:${PN} = "grub parted e2fsprogs-mke2fs util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}"
 RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"

+ 1 - 2
meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb

@@ -7,8 +7,7 @@ RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
 
 SRC_URI = "file://init-install-efi.sh"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
     install -d ${D}/init.d

+ 1 - 2
meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb

@@ -12,8 +12,7 @@ COMPATIBLE_HOST:armv7ve = 'null'
 
 SRC_URI = "file://init-install.sh"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
     install -d ${D}/init.d

+ 1 - 2
meta/recipes-core/initrdscripts/initramfs-module-setup-live_1.0.bb

@@ -9,8 +9,7 @@ inherit allarch
 FILESEXTRAPATHS:prepend := "${THISDIR}/initramfs-framework:"
 SRC_URI = "file://setup-live"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
     install -d ${D}/init.d

+ 1 - 2
meta/recipes-core/initscripts/initscripts_1.0.bb

@@ -35,8 +35,7 @@ SRC_URI = "file://functions \
            ${@bb.utils.contains('DISTRO_FEATURES','selinux','file://sushell','',d)} \
 "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 SRC_URI:append:arm = " file://alignment.sh"
 SRC_URI:append:armeb = " file://alignment.sh"

+ 1 - 2
meta/recipes-core/musl/bsd-headers.bb

@@ -15,8 +15,7 @@ do_compile[noexec] = "1"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
 	install -Dm 0644 ${S}/sys-queue.h ${D}${includedir}/sys/queue.h

+ 1 - 2
meta/recipes-core/musl/libssp-nonshared.bb

@@ -17,8 +17,7 @@ DEPENDS = "virtual/cross-binutils \
 
 do_configure[noexec] = "1"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_compile() {
 	${CC} ${CPPFLAGS} ${CFLAGS} -fPIE -c stack_chk.c -o stack_chk.o

+ 1 - 2
meta/recipes-core/musl/musl-legacy-error.bb

@@ -13,8 +13,7 @@ do_compile[noexec] = "1"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
 	install -Dm 0644 ${S}/error.h -t ${D}${includedir}

+ 1 - 2
meta/recipes-core/systemd/systemd-bootconf_1.00.bb

@@ -7,8 +7,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit systemd-boot-cfg
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 LABELS = "boot"
 

+ 1 - 2
meta/recipes-core/systemd/systemd-compat-units.bb

@@ -5,8 +5,7 @@ LICENSE = "MIT"
 
 PACKAGE_WRITE_DEPS += "systemd-systemctl-native"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit features_check
 

+ 1 - 2
meta/recipes-core/systemd/systemd-conf_1.0.bb

@@ -21,8 +21,7 @@ SRC_URI = "\
     file://wired.network \
 "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
 	install -D -m0644 ${S}/journald.conf ${D}${systemd_unitdir}/journald.conf.d/00-${PN}.conf

+ 1 - 2
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb

@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;m
 SRC_URI = "file://inittab \
            file://start_getty"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 INHIBIT_DEFAULT_DEPS = "1"
 

+ 1 - 2
meta/recipes-core/udev/udev-extraconf_1.1.bb

@@ -13,8 +13,7 @@ SRC_URI = " \
        file://localextra.rules \
 "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 MOUNT_BASE = "/run/media"
 MOUNT_GROUP ?= "disk"

+ 1 - 2
meta/recipes-core/volatile-binds/volatile-binds.bb

@@ -9,8 +9,7 @@ SRC_URI = "\
     file://volatile-binds.service.in \
 "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit allarch systemd features_check
 

+ 1 - 2
meta/recipes-devtools/devel-config/distcc-config.bb

@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 SRC_URI = "file://distcc.sh"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 # Default to the host machine for a running qemu session
 DISTCC_HOSTS ?= "192.168.7.1"

+ 1 - 2
meta/recipes-devtools/devel-config/nfs-export-root.bb

@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 SRC_URI = "file://exports"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
 	install -d ${D}${sysconfdir}

+ 1 - 2
meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb

@@ -26,8 +26,7 @@ SRC_URI[payloadPV.sha256sum] = "4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd791
 
 UPSTREAM_CHECK_REGEX = "docbook-xml-(?P<pver>4(\.\d+)).zip"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_configure (){
     :

+ 1 - 2
meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb

@@ -8,8 +8,7 @@ BBCLASSEXTEND = "native"
 DEPENDS = "elfutils"
 DEPENDS:append:libc-musl = " argp-standalone"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_compile () {
 	${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ${S}/dwarfsrcfiles.c -lelf -ldw

+ 1 - 2
meta/recipes-devtools/makedevs/makedevs_1.0.1.bb

@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://makedevs.c;beginline=2;endline=2;md5=c3817b10013a3007
 SECTION = "base"
 SRC_URI = "file://makedevs.c"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 FILES:${PN}:append:class-nativesdk = " ${datadir}"
 

+ 1 - 2
meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb

@@ -3,8 +3,7 @@ HOMEPAGE = "https://git.yoctoproject.org/opkg/"
 LICENSE = "MIT"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_compile() {
 	mkdir -p ${S}/${sysconfdir}/opkg/

+ 1 - 2
meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb

@@ -18,8 +18,7 @@ SRC_URI = "file://${COREBASE}/scripts/runqemu \
            file://${COREBASE}/scripts/runqemu-export-rootfs \
           "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit nativesdk
 

+ 1 - 2
meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb

@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://${S}/qemu-oe-bridge-helper.c;endline=4;md5=ae00a3bab8
 
 SRC_URI = "file://qemu-oe-bridge-helper.c"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit native
 

+ 1 - 2
meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb

@@ -2,8 +2,7 @@ SUMMARY = "QEMU wrapper script"
 HOMEPAGE = "http://qemu.org"
 LICENSE = "MIT"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 DEPENDS += "qemu-native"
 

+ 1 - 2
meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb

@@ -8,8 +8,7 @@ SRC_URI = "file://run-postinsts \
            file://run-postinsts.init \
            file://run-postinsts.service"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit allarch systemd update-rc.d
 

+ 1 - 2
meta/recipes-devtools/rust/rust-cross-canadian.inc

@@ -13,8 +13,7 @@ DEPENDS += "virtual/nativesdk-cross-cc virtual/nativesdk-libc virtual/nativesdk-
 
 SRC_URI += "file://target-rust-ccld.c"
 LIC_FILES_CHKSUM = "file://target-rust-ccld.c;md5=af4e0e29f81a34cffe05aa07c89e93e9;endline=7"
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 # Need to use our SDK's sh here, see #14878
 create_sdk_wrapper () {

+ 1 - 2
meta/recipes-extended/shadow/shadow-securetty_4.6.bb

@@ -8,8 +8,7 @@ INHIBIT_DEFAULT_DEPS = "1"
 
 SRC_URI = "file://securetty"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 # Since SERIAL_CONSOLES is likely to be set from the machine configuration
 PACKAGE_ARCH = "${MACHINE_ARCH}"

+ 1 - 2
meta/recipes-extended/shadow/shadow-sysroot_4.6.bb

@@ -13,8 +13,7 @@ DEPENDS = "base-passwd"
 # can add custom users/groups for recipes that use inherit useradd.
 SRC_URI = "file://login.defs_shadow-sysroot"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
 	install -d ${D}${sysconfdir}

+ 1 - 2
meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb

@@ -8,8 +8,7 @@ PV = "1.0"
 
 SRC_URI = "file://template.py file://COPYING"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit native
 

+ 1 - 2
meta/recipes-extended/watchdog/watchdog-config.bb

@@ -13,8 +13,7 @@ SRC_URI = " \
     file://watchdog.conf \
 "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 # The default value is 60 seconds when null.
 WATCHDOG_TIMEOUT ??= ""

+ 1 - 2
meta/recipes-graphics/builder/builder_0.1.bb

@@ -7,8 +7,7 @@ LIC_FILES_CHKSUM = "file://builder_session.sh;endline=5;md5=84796c3c41785d86100f
 SRC_URI = "file://builder_session.sh \
           "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 RDEPENDS:${PN} = "mini-x-session"
 

+ 1 - 2
meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb

@@ -11,8 +11,7 @@ RCONFLICTS:${PN} = "matchbox-common"
 
 SRC_URI = "file://matchbox-session"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 
 inherit update-alternatives

+ 1 - 2
meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb

@@ -12,8 +12,7 @@ RCONFLICTS:${PN} = "matchbox-common"
 
 SRC_URI = "file://mini-x-session"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 RDEPENDS:${PN} = "sudo"
 

+ 1 - 2
meta/recipes-graphics/pong-clock/pong-clock_1.0.bb

@@ -10,8 +10,7 @@ SRC_URI = "file://pong-clock-no-flicker.c"
 
 LIC_FILES_CHKSUM = "file://pong-clock-no-flicker.c;beginline=1;endline=23;md5=dd248d50f73f746d1ee78586b0b2ebd3"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_compile () {
 	${CC} ${CFLAGS} ${LDFLAGS} -o pong-clock pong-clock-no-flicker.c `pkg-config --cflags --libs x11 xau xdmcp`

+ 1 - 2
meta/recipes-graphics/wayland/weston-init.bb

@@ -13,8 +13,7 @@ SRC_URI = "file://init \
            file://weston-autologin \
            file://weston-start"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)}"
 PACKAGECONFIG:append:qemuriscv64 = " use-pixman"

+ 1 - 2
meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb

@@ -12,8 +12,7 @@ SRC_URI = "file://xserver-nodm \
            file://capability.conf \
 "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 # Since we refer to ROOTLESS_X which is normally enabled per-machine
 PACKAGE_ARCH = "${MACHINE_ARCH}"

+ 1 - 2
meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb

@@ -8,8 +8,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 SRC_URI = "file://pointercal.xinput"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
     # Only install file if it has a contents

+ 1 - 2
meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb

@@ -7,8 +7,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 SRC_URI = "file://xorg.conf"
 SRC_URI:append:qemuall = " file://noblank.conf"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 CONFFILES:${PN} = "${sysconfdir}/X11/xorg.conf"
 

+ 1 - 2
meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb

@@ -7,8 +7,7 @@ SRC_URI = "file://dt-doc-validate \
            file://dt-mk-schema \
            file://dt-validate"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
     install -d ${D}${bindir}/

+ 1 - 2
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb

@@ -1,8 +1,7 @@
 SUMMARY = "Wrapper script for the Linux kernel module dependency indexer"
 LICENSE = "MIT"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 INHIBIT_DEFAULT_DEPS = "1"
 # The kernel and the staging dir for it is machine specific

+ 1 - 2
meta/recipes-kernel/linux/linux-dummy.bb

@@ -31,8 +31,7 @@ COMPATIBLE_HOST = ".*-linux"
 
 SRC_URI = "file://COPYING.GPL"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_configure() {
 	:

+ 1 - 2
meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb

@@ -8,8 +8,7 @@ inherit pkgconfig
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot"
 do_compile[depends] += "virtual/kernel:do_compile_kernelmodules"

+ 1 - 2
meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb

@@ -4,8 +4,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://modutils.sh;beginline=3;endline=3;md5=b2dccaa94b3629a08bfb4f983cad6f89"
 SRC_URI = "file://modutils.sh"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 INITSCRIPT_NAME = "modutils.sh"
 INITSCRIPT_PARAMS = "start 06 S ."

+ 1 - 2
meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb

@@ -20,8 +20,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
 SRC_URI = "file://session \
            file://index.theme"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 FILES:${PN} += "${datadir}/themes/Sato/index.theme"
 

+ 1 - 2
meta/recipes-sato/pulseaudio-sato/pulseaudio-client-conf-sato_1.bb

@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 SRC_URI = "file://50-sato.conf"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit allarch
 

+ 1 - 2
meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb

@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 SRC_URI = "file://shutdown.desktop"
 
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
 	install -d ${D}${datadir}/applications

+ 1 - 2
meta/recipes-support/user-creation/xuser-account_0.1.bb

@@ -6,8 +6,7 @@ SRC_URI = "file://system-xuser.conf"
 
 inherit allarch useradd
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_configure() {
     :