]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
recipes: Switch away from S = WORKDIR
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 May 2024 21:52:57 +0000 (22:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 May 2024 11:07:18 +0000 (12:07 +0100)
Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to
a subdir of WORKDIR and make S point at this instead.

I've chosen not to force S into any standard UNPACKDIR we may pick in
future just so the S = UNPACKDIR case is clearly visible by the
directory naming under WORKDIR as that should aid usability.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
75 files changed:
meta-selftest/recipes-test/cpp/cpp-example.inc
meta-selftest/recipes-test/selftest-chown/selftest-chown.bb
meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb
meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
meta-selftest/recipes-test/selftest-users/acreategroup.bb
meta-selftest/recipes-test/selftest-users/bcreategroup.bb
meta-selftest/recipes-test/selftest-users/ccreategroup.bb
meta-selftest/recipes-test/selftest-users/creategroup1.bb
meta-selftest/recipes-test/selftest-users/creategroup2.bb
meta-selftest/recipes-test/selftest-users/dcreategroup.bb
meta-selftest/recipes-test/selftest-users/useraddbadtask.bb
meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb
meta-skeleton/recipes-skeleton/hello-single/hello_1.0.bb
meta-skeleton/recipes-skeleton/service/service_0.1.bb
meta/recipes-bsp/alsa-state/alsa-state.bb
meta/recipes-bsp/formfactor/formfactor_0.0.bb
meta/recipes-bsp/grub/grub-bootconf_1.00.bb
meta/recipes-bsp/keymaps/keymaps_1.0.bb
meta/recipes-bsp/usbinit/usbinit.bb
meta/recipes-connectivity/connman/connman-conf.bb
meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb
meta/recipes-core/base-files/base-files_3.0.14.bb
meta/recipes-core/busybox/busybox-inittab_1.36.1.bb
meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb
meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb
meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
meta/recipes-core/initrdscripts/initramfs-live-boot-tiny_1.0.bb
meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
meta/recipes-core/initrdscripts/initramfs-live-install-efi-testfs_1.0.bb
meta/recipes-core/initrdscripts/initramfs-live-install-efi_1.0.bb
meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb
meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb
meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
meta/recipes-core/initrdscripts/initramfs-module-setup-live_1.0.bb
meta/recipes-core/initscripts/initscripts_1.0.bb
meta/recipes-core/musl/bsd-headers.bb
meta/recipes-core/musl/libssp-nonshared.bb
meta/recipes-core/musl/musl-legacy-error.bb
meta/recipes-core/systemd/systemd-bootconf_1.00.bb
meta/recipes-core/systemd/systemd-compat-units.bb
meta/recipes-core/systemd/systemd-serialgetty.bb
meta/recipes-core/systemd/systemd-systemctl-native.bb
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
meta/recipes-core/udev/udev-extraconf_1.1.bb
meta/recipes-core/volatile-binds/volatile-binds.bb
meta/recipes-devtools/devel-config/distcc-config.bb
meta/recipes-devtools/devel-config/nfs-export-root.bb
meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
meta/recipes-devtools/makedevs/makedevs_1.0.1.bb
meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
meta/recipes-devtools/rust/rust-cross-canadian.inc
meta/recipes-extended/shadow/shadow-securetty_4.6.bb
meta/recipes-extended/shadow/shadow-sysroot_4.6.bb
meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb
meta/recipes-graphics/builder/builder_0.1.bb
meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb
meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb
meta/recipes-graphics/pong-clock/pong-clock_1.0.bb
meta/recipes-graphics/wayland/weston-init.bb
meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb
meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
meta/recipes-kernel/linux/linux-dummy.bb
meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb
meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
meta/recipes-sato/pulseaudio-sato/pulseaudio-client-conf-sato_1.bb
meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb

index ad374be9d08e2860b267e7848f7f108bd3d4b13d..41aaa7219a11d6f616e256b3555045eac48c4ce1 100644 (file)
@@ -19,6 +19,7 @@ SRC_URI = "\
     file://run-ptest \
 "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit ptest
index aa6ce0c2a02ec447309fc0267d3e821b2a39139e..a0eeb4f22315fb021fd3792d2440a2471861414c 100644 (file)
@@ -5,7 +5,8 @@ LICENSE = "MIT"
 
 DEPENDS += "coreutils-native"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit useradd allarch
 
index 49c3fe827a58bfa4436861478899b181875741f1..5632bdac7a77581801705d6dbe9ab2e3fad2aff4 100644 (file)
@@ -6,7 +6,8 @@ SRC_URI = "file://hello.c \
            file://gdb.sh \
 "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_compile () {
        ${CC} hello.c -o hello1 ${CFLAGS} ${LDFLAGS}
index 547587bef4a717732e69fd1bb87f82a47e86c56e..2dc352d479e91b082d0b0c6fb6e37feb21ffc8cc 100644 (file)
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 SRC_URI = "file://helloworld.c"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_compile() {
        ${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld
@@ -16,4 +17,4 @@ do_install() {
        install -m 0755 helloworld ${D}${bindir}
 }
 
-BBCLASSEXTEND = "native nativesdk"
\ No newline at end of file
+BBCLASSEXTEND = "native nativesdk"
index 66ed5695a26c91486e88b690220229fe197eaa37..7805182d4826e8109771f3381c6d7ce9bc1325f5 100644 (file)
@@ -3,7 +3,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 LICENSE = "MIT"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 EXCLUDE_FROM_WORLD="1"
 
index c4844dd0da0ceca577a0c8f710a201fbd36cfcdc..b15c07d7b25b6fb4d19d1b7488664fcda379d161 100644 (file)
@@ -7,7 +7,8 @@ LICENSE = "MIT"
 
 USERADD_DEPENDS = "acreategroup ccreategroup"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 EXCLUDE_FROM_WORLD="1"
 
index 021b1ebbf77d988306ec3ad2044d2f1a279b4222..ff2da1c03944416ccf3df30f0a1ed7ec6e1f4f44 100644 (file)
@@ -5,7 +5,8 @@ LICENSE = "MIT"
 
 USERADD_DEPENDS = "acreategroup"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 EXCLUDE_FROM_WORLD="1"
 
index afd23ed1eea8616723c683de776e30a5bfc84818..4ab278f589537ec072b7ba3608ddbb47a6ffaaa1 100644 (file)
@@ -3,7 +3,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 LICENSE = "MIT"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit useradd allarch
 
index f776f43aedfa0c77e1fe2de475f6b2dbae0db121..179aba9bfcca285c40be835f078edbe911a31f71 100644 (file)
@@ -5,7 +5,8 @@ LICENSE = "MIT"
 
 USERADD_DEPENDS = "creategroup1"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit useradd allarch
 
index b96ca92a16009f9596d355e8d2eb603fa305cead..ab0a529669233815912a611b64f4d8691fab3fb2 100644 (file)
@@ -5,7 +5,8 @@ LICENSE = "MIT"
 
 USERADD_DEPENDS = "bcreategroup"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 EXCLUDE_FROM_WORLD="1"
 
index 99e04a80b341e0e9d8a47969b5ea911dfe33e83e..2863541010ce5be5c80aa5e477d3f125cc119a2e 100644 (file)
@@ -5,7 +5,8 @@ LICENSE = "MIT"
 
 DEPENDS:append = "coreutils-native"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit useradd allarch
 
index a2fb212a688c8f36c5e9feb7e749f05a81525a9c..79f2e8a09236de062fd070b615a273ca144d7a13 100644 (file)
@@ -10,7 +10,8 @@ SRC_URI = "file://Makefile \
            file://COPYING \
           "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 # The inherit of module.bbclass will automatically name module packages with
 # "kernel-module-" prefix as required by the oe-core build environment.
index 90d3aefd86655eb58fbc1512f7ae2fdf7ffb8d36..8be7980919553c3dbac783b8d065555ea1c77d6c 100644 (file)
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 SRC_URI = "file://helloworld.c"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_compile() {
        ${CC} ${LDFLAGS} helloworld.c -o helloworld
index 912f6b0f6111a6bfffe1e7ed8192077e58060e7b..54b834d45f9d8d69287b2e684aafe97eeb13550f 100644 (file)
@@ -2,22 +2,23 @@ SUMMARY = "The canonical example of init scripts"
 SECTION = "base"
 DESCRIPTION = "This recipe is a canonical example of init scripts"
 LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYRIGHT;md5=349c872e0066155e1818b786938876a4"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=349c872e0066155e1818b786938876a4"
 
 SRC_URI = "file://skeleton \
           file://skeleton_test.c \
           file://COPYRIGHT \
           "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_compile () {
-       ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/skeleton_test.c -o ${WORKDIR}/skeleton-test
+       ${CC} ${CFLAGS} ${LDFLAGS} ${S}/skeleton_test.c -o ${B}/skeleton-test
 }
 
 do_install () {
        install -d ${D}${sysconfdir}/init.d
-       cat ${WORKDIR}/skeleton | \
+       cat ${S}/skeleton | \
          sed -e 's,/etc,${sysconfdir},g' \
              -e 's,/usr/sbin,${sbindir},g' \
              -e 's,/var,${localstatedir},g' \
@@ -26,7 +27,7 @@ do_install () {
        chmod a+x ${D}${sysconfdir}/init.d/skeleton
 
        install -d ${D}${sbindir}
-       install -m 0755 ${WORKDIR}/skeleton-test ${D}${sbindir}/
+       install -m 0755 ${S}/skeleton-test ${D}${sbindir}/
 }
 
 RDEPENDS:${PN} = "initscripts"
index 83384f2daf5824f7532696301cc34ea9f58a68fb..099fbd3b9d86ffa8e8b6b20ea7b1248ce557d71b 100644 (file)
@@ -21,7 +21,8 @@ SRC_URI = "\
   file://alsa-state-init \
 "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 # As the recipe doesn't inherit systemd.bbclass, we need to set this variable
 # manually to avoid unnecessary postinst/preinst generated.
index 1eaf30746b0bce9e21e5771641fa4b082befbe65..4714bb2e5e2afb15629ef389b81f5fbf7cbb303b 100644 (file)
@@ -7,7 +7,9 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
 SRC_URI = "file://config file://machconfig"
-S = "${WORKDIR}"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 INHIBIT_DEFAULT_DEPS = "1"
index 783e30bf38700373421d17eebfaa92de71092282..fed3c7e9a3c57a16dafb2eba1e84d055286f62d0 100644 (file)
@@ -11,7 +11,8 @@ inherit grub-efi-cfg
 
 require conf/image-uefi.conf
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 GRUB_CFG = "${S}/grub-bootconf"
 LABELS = "boot"
index e30dd9dca260be84e3910c64816f354702b88eaf..0425197c981d92f0d87e34f5e795aa1149099c31 100644 (file)
@@ -24,7 +24,8 @@ SRC_URI = "file://keymap.sh"
 INITSCRIPT_NAME = "keymap.sh"
 INITSCRIPT_PARAMS = "start 01 S ."
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install () {
     # Only install the script if 'sysvinit' is in DISTRO_FEATURES
index b80191bddc47b852fcb23854570a71d7f444f20f..091aa73bb52b8f700f733919977a609c39ba2717 100644 (file)
@@ -10,7 +10,9 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe
 
 SRC_URI = "file://usb-gether \
            file://COPYING.GPL"
-S = "${WORKDIR}"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
     install -d ${D}${sysconfdir}
index a1a0e08faae41c781d5f51dee56633fc2b39991d..73c54cddae8aede6b4c759758cc22b8a5021d316 100644 (file)
@@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;m
 SRC_URI = "file://main.conf \
           "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
index 0c3085d3a8c1a0604fb4f8a51c1288468073a6b7..0ee47d47c2b78abd97bfb586b009f1d1ba3a41e8 100644 (file)
@@ -11,7 +11,8 @@ SRC_URI = "file://host-peer \
 
 inherit allarch useradd
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
        install -d ${D}${sysconfdir}/ppp/peers
index 42a8026e639f0a3bf11b027f1a6ff11ec9eb55aa..1b6e9671e4550973a9a00018a7b12b54527e0516 100644 (file)
@@ -25,7 +25,8 @@ SRC_URI = "file://rotation \
            "
 SRC_URI:append:libc-glibc = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd systemd-resolved', ' file://0001-add-nss-resolve-to-nsswitch.patch', '', d)}"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
index 1f179d85608f959a219eaa55b73ed5fcc3d9552b..4ffc44c808a8a00acb4430c4f819ba6cd35234c3 100644 (file)
@@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;m
 
 SRC_URI = "file://inittab"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
index 49c7fd71b1b29163f1d879b6014024ef1e99f210..ddf9d1b3112d8fd05a4c41390ce25ef58ca69ae2 100644 (file)
@@ -15,7 +15,8 @@ SRC_URI = "file://copyright \
            file://interfaces \
            file://nfsroot"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install () {
        install -d ${D}${sysconfdir}/init.d \
index 01d2771e3fd46999cc8654338377b015cf9bbd89..ec3544c67a9da4f08e5340d8c08e416f6ad6efb1 100644 (file)
@@ -3,8 +3,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 SRC_URI = "file://init-boot.sh"
 
-
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
         install -m 0755 ${S}/init-boot.sh ${D}/init
index 4dbb56a42dd5d1e481521fdbc390127cb4ba1e85..bb4984366d153865f8c99c58a589e8283e505c1d 100644 (file)
@@ -20,7 +20,8 @@ SRC_URI = "file://init \
            file://overlayroot \
           "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
     install -d ${D}/init.d
index a06e7902eec11b38a3d028b16eff28293ce1efb5..40046f30a7643c700cbb3d326a6743e16b388d74 100644 (file)
@@ -5,8 +5,8 @@ DEPENDS = "virtual/kernel"
 RDEPENDS:${PN} = "busybox-mdev"
 SRC_URI = "file://init-live.sh"
 
-
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
         install -m 0755 ${S}/init-live.sh ${D}/init
index e1bf15d2933184d940b4ac6b09af3cf1e315f415..7851cc9605ad344359bc9de358523735b210bc43 100644 (file)
@@ -5,8 +5,8 @@ DEPENDS = "virtual/kernel"
 RDEPENDS:${PN} = "udev udev-extraconf"
 SRC_URI = "file://init-live.sh"
 
-
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
         install -m 0755 ${S}/init-live.sh ${D}/init
index 1225ce4df9e0aacd7ae1dcdaa54066a5baa10022..31291bcdf2c07e270ee92691a7e6f209e422e9a8 100644 (file)
@@ -5,7 +5,8 @@ SRC_URI = "file://init-install-efi-testfs.sh"
 
 RDEPENDS:${PN} = "parted e2fsprogs-mke2fs dosfstools"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
         install -m 0755 ${S}/init-install-efi-testfs.sh ${D}/install-efi.sh
index ae7d5beb2f90cb14ccf1a5851ed621b371dff5e6..ff3b5622db7a5505cfad6bb93a04bb05c7acfaa7 100644 (file)
@@ -3,11 +3,11 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 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}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
         install -m 0755 ${S}/init-install-efi.sh ${D}/install-efi.sh
index 018911f5d1245e45e01f3665da924e272d9d7134..19f05f9fecd8ace3b6bb65b16bf7cf1ede4db5dc 100644 (file)
@@ -5,7 +5,8 @@ SRC_URI = "file://init-install-testfs.sh"
 
 RDEPENDS:${PN} = "grub parted e2fsprogs-mke2fs"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
         install -m 0755 ${S}/init-install-testfs.sh ${D}/install.sh
index 12b282031830534b43f645776ce775374ff76ee5..1d489e2b649127790be2bed1e275edd68d555365 100644 (file)
@@ -3,8 +3,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 SRC_URI = "file://init-install.sh"
 
-
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 RDEPENDS:${PN} = "grub parted e2fsprogs-mke2fs util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}"
 RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
index adea2330ae5f568edde2fb5d2facd166625f93b0..bb3f275f266908c65915402983810a6d4366278a 100644 (file)
@@ -7,7 +7,8 @@ RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
 
 SRC_URI = "file://init-install-efi.sh"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
     install -d ${D}/init.d
index e4ae466d7c38e93ee4e8972e881257f0a8ea730c..b87e59f34756df4a8bb6ced84b955ed502fce149 100644 (file)
@@ -12,7 +12,8 @@ COMPATIBLE_HOST:armv7ve = 'null'
 
 SRC_URI = "file://init-install.sh"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
     install -d ${D}/init.d
index 4d2c11f452627c1c5db0403735ab1014c0747107..4d9ef79a63450e5cf1fb6d5c526af70b97a8e73d 100644 (file)
@@ -9,7 +9,8 @@ inherit allarch
 FILESEXTRAPATHS:prepend := "${THISDIR}/initramfs-framework:"
 SRC_URI = "file://setup-live"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
     install -d ${D}/init.d
index 68eeb5e1171e0bc33dd2b27be8655e84f941f6bb..65f97a0af297d85c4e6a63b7b820359deab506d3 100644 (file)
@@ -35,7 +35,8 @@ SRC_URI = "file://functions \
            ${@bb.utils.contains('DISTRO_FEATURES','selinux','file://sushell','',d)} \
 "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 SRC_URI:append:arm = " file://alignment.sh"
 SRC_URI:append:armeb = " file://alignment.sh"
index 887a81603136a94d6132e9d284e7e87b55539706..7d0bdee8704154caae423d2c77e3edc45bc67ee7 100644 (file)
@@ -15,7 +15,8 @@ do_compile[noexec] = "1"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
        install -Dm 0644 ${S}/sys-queue.h ${D}${includedir}/sys/queue.h
index 3faf8f00c3cdd1eb8200bb5dd21c55594678438c..e9f652fc3eaadd636c58fd3f3f56edf01665cc8e 100644 (file)
@@ -17,7 +17,8 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils \
 
 do_configure[noexec] = "1"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_compile() {
        ${CC} ${CPPFLAGS} ${CFLAGS} -fPIE -c stack_chk.c -o stack_chk.o
index 5ce5a233ab152e7c19396343a446ee78b8083c7a..11a838a6e8af05f45ae00f56b7033f678cd515e6 100644 (file)
@@ -13,7 +13,8 @@ do_compile[noexec] = "1"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
        install -Dm 0644 ${S}/error.h -t ${D}${includedir}
index 19637546a99cb1f6118d6f784c7985a5bfafd6d1..0ec49365d02c6bd926dc2aac8a3b61fe2ab54ba0 100644 (file)
@@ -7,7 +7,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit systemd-boot-cfg
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 LABELS = "boot"
 
index c03d97f9c936a2bd1766b8906ba6377a0855c391..b929545823738a9f0196d82f507ff9c5127179a9 100644 (file)
@@ -5,7 +5,8 @@ LICENSE = "MIT"
 
 PACKAGE_WRITE_DEPS += "systemd-systemctl-native"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit features_check
 
index 987a8bf89de2e819dae0eaab426eb715f7c96a6d..9035b8c335a3615c9ef009b6708b1d82173efb44 100644 (file)
@@ -9,7 +9,8 @@ SERIAL_TERM ?= "linux"
 
 SRC_URI = "file://serial-getty@.service"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 # As this package is tied to systemd, only build it when we're also building systemd.
 inherit features_check
index 0036e4dd8befa55967db5bb4bd3f56ce3a25691e..ffa024caef355b337494eb16d764abdc5b842309 100644 (file)
@@ -8,7 +8,8 @@ inherit native
 
 SRC_URI = "file://systemctl"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
        install -d ${D}${bindir}
index 17a01e86400639cc6fc9d659756bd82856f059a4..6ff2ca1bf43cc9b32512994b73a5113351426f26 100644 (file)
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;m
 SRC_URI = "file://inittab \
            file://start_getty"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
index a3e5d12b818e8f6b1f6fea0d33032443c79ed73a..0e2abcd42435acb9b6717e9426763921a0237833 100644 (file)
@@ -13,7 +13,8 @@ SRC_URI = " \
        file://localextra.rules \
 "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 MOUNT_BASE = "/run/media"
 
index cca8a65fb4837dd7dd8f5bf59e0cc6f0c84c0d90..3597ec73561bb750da42b54816ce9891cd63b6b6 100644 (file)
@@ -9,7 +9,8 @@ SRC_URI = "\
     file://volatile-binds.service.in \
 "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit allarch systemd features_check
 
@@ -64,7 +65,6 @@ END
                "$var_lib_servicefile"
     fi
 }
-do_compile[dirs] = "${WORKDIR}"
 
 do_install () {
     install -d ${D}${base_sbindir}
@@ -82,4 +82,3 @@ do_install () {
     ln -s /dev/null ${D}${sysconfdir}/tmpfiles.d/etc.conf
     ln -s /dev/null ${D}${sysconfdir}/tmpfiles.d/home.conf
 }
-do_install[dirs] = "${WORKDIR}"
index 698fd3585af07580fe8bebb377817e80439f92aa..2c30488b8202b3482cad47eebe9190ddba7b03f9 100644 (file)
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 SRC_URI = "file://distcc.sh"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 # Default to the host machine for a running qemu session
 DISTCC_HOSTS ?= "192.168.7.1"
index 5e69962d7c7f597000be1e988df08a0eb9766c20..ad5486aa87fe81b56dfeff17b7fc19621fe2bd06 100644 (file)
@@ -3,10 +3,10 @@ DESCRIPTION = "Enables NFS access from any host to the entire filesystem (for de
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
-
 SRC_URI = "file://exports"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
        install -d ${D}${sysconfdir}
index bbd574e2872622d28a713d708c36f25729f59134..5229a0366c256370b632b44e76c7355c99a61281 100644 (file)
@@ -41,7 +41,8 @@ SRC_URI[payloadPV.sha256sum] = "4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd791
 
 UPSTREAM_CHECK_REGEX = "docbook-xml-(?P<pver>4(\.\d+)).zip"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_configure (){
     :
index 56a9321fb9163adb10d33c0cfaffe9a174834a73..dd1b257b10a60950f7ea9f2c6b0d350792420639 100644 (file)
@@ -26,7 +26,8 @@ ICECC_DISABLED = "1"
 PATCHTOOL = "patch"
 SRC_URI = "file://icecc-create-env"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
     install -d ${D}/${bindir}
index 0d6c7a01ebf06d87c7978c20c2d1ae9fdc650f0a..7b11093364ae04035f86779f0daa259aa62f7855 100644 (file)
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://makedevs.c;beginline=2;endline=2;md5=c3817b10013a3007
 SECTION = "base"
 SRC_URI = "file://makedevs.c"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 FILES:${PN}:append:class-nativesdk = " ${datadir}"
 
index 726a259a8c4b8f7e17c4ae616ccb91ec284db52d..4db35c1092edc6c1eb53c8c9b5a6e4d9f2f89bbb 100644 (file)
@@ -3,7 +3,8 @@ HOMEPAGE = "https://git.yoctoproject.org/opkg/"
 LICENSE = "MIT"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_compile() {
        mkdir -p ${S}/${sysconfdir}/opkg/
index 997f72e6e775d2eb9109de3e2d1b13769c017d08..90bba84b03c0226cb59f6a3b0d9373972b2ebe54 100644 (file)
@@ -18,7 +18,8 @@ SRC_URI = "file://${COREBASE}/scripts/runqemu \
            file://${COREBASE}/scripts/runqemu-export-rootfs \
           "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit nativesdk
 
index 8bb6ef0995b45a1ff8229c607576dc6f95e6340c..28a3b95c4eae47485ff9e96c8c8705bb8cc8e93f 100644 (file)
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://${S}/qemu-oe-bridge-helper.c;endline=4;md5=ae00a3bab8
 
 SRC_URI = "file://qemu-oe-bridge-helper.c"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit native
 
index 97b44ad2e5758dd6275230c748b03a50b931a4d9..6d0e7883ad9baeaa22f980e53d7a175b3116f7d0 100644 (file)
@@ -2,7 +2,8 @@ SUMMARY = "QEMU wrapper script"
 HOMEPAGE = "http://qemu.org"
 LICENSE = "MIT"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 DEPENDS += "qemu-native"
 
index e3d63df852de944c72e72635c7ec8119a86e12ed..f571e619218b148ca72fab94da774f93f7850337 100644 (file)
@@ -8,7 +8,8 @@ SRC_URI = "file://run-postinsts \
            file://run-postinsts.init \
            file://run-postinsts.service"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit allarch systemd update-rc.d
 
index f59fee7cddca38af429e40513eb4db2c8343a89f..f962437d6b4b71f90e3c2b3aa66e10cedf58f64c 100644 (file)
@@ -12,7 +12,8 @@ DEPENDS += "virtual/${SDK_PREFIX}gcc 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}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 # Need to use our SDK's sh here, see #14878
 create_sdk_wrapper () {
index 85c04b6af111933f0f468fc351b8635ae108e3fc..913c159c818147342f61b24743b6da3429c69b99 100644 (file)
@@ -8,7 +8,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 
 SRC_URI = "file://securetty"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 # Since SERIAL_CONSOLES is likely to be set from the machine configuration
 PACKAGE_ARCH = "${MACHINE_ARCH}"
index 00ab58b38cf15ccdda78263e4e2277dc2032cb20..13cfab6aabbfbe57b1fab02ad84b788c2cb567f1 100644 (file)
@@ -13,7 +13,8 @@ DEPENDS = "base-passwd"
 # can add custom users/groups for recipes that use inherit useradd.
 SRC_URI = "file://login.defs_shadow-sysroot"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
        install -d ${D}${sysconfdir}
index a942ac2991e75aebd27b656813867a920b4a199e..51d9c927661034f820d6fd3044e9378f4c2ba5d6 100644 (file)
@@ -8,7 +8,8 @@ PV = "1.0"
 
 SRC_URI = "file://template.py file://COPYING"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit native
 
index 52c9351f93f7c1b6e50d02af18dd253f2fd7f5bc..7719b783c2626806522767813f4b4b8cfb6703cf 100644 (file)
@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://builder_session.sh;endline=5;md5=84796c3c41785d86100f
 SRC_URI = "file://builder_session.sh \
           "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 RDEPENDS:${PN} = "mini-x-session"
 
index d1f0a67d8411ded5e4b71cee8e4065bc685a3ac3..8a4cfef631515c6e74c58d849a843063633e2ce9 100644 (file)
@@ -10,7 +10,9 @@ SECTION = "x11"
 RCONFLICTS:${PN} = "matchbox-common"
 
 SRC_URI = "file://matchbox-session"
-S = "${WORKDIR}"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 
 inherit update-alternatives
index ba81d0b17abccfffc1d352401f0dd7bc4cd6bd03..48d50c8f66d5c77b33ecab38b2999c3bd964f3f4 100644 (file)
@@ -11,7 +11,9 @@ SECTION = "x11"
 RCONFLICTS:${PN} = "matchbox-common"
 
 SRC_URI = "file://mini-x-session"
-S = "${WORKDIR}"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 RDEPENDS:${PN} = "sudo"
 
index d0794f8ee62ed29ccb1c0a5d69b6cc6617713a59..ee5173dc83dae3a2164c97efede5ff633562d835 100644 (file)
@@ -10,7 +10,8 @@ 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}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_compile () {
        ${CC} ${CFLAGS} ${LDFLAGS} -o pong-clock pong-clock-no-flicker.c `pkg-config --cflags --libs x11 xau xdmcp`
index ca3d1478dc8e244bd444cead6afe53de4a9a6953..83f0cea49cba807d4db338c5c3dae2b171bd5fed 100644 (file)
@@ -13,7 +13,8 @@ SRC_URI = "file://init \
            file://weston-autologin \
            file://weston-start"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)}"
 PACKAGECONFIG:append:qemuriscv64 = " use-pixman"
index 4e38b4da343f2a5fd7397e63516932bfda2150a6..cd4acf8155117e554c55999c0f84ba1a6aae0f60 100644 (file)
@@ -12,7 +12,8 @@ SRC_URI = "file://xserver-nodm \
            file://capability.conf \
 "
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 # Since we refer to ROOTLESS_X which is normally enabled per-machine
 PACKAGE_ARCH = "${MACHINE_ARCH}"
index 5c9742fb205585f98addb4863c4160f5ceafc707..f4516e697507c0352a61f966c00aaeb8008f78da 100644 (file)
@@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 
 SRC_URI = "file://pointercal.xinput"
-S = "${WORKDIR}"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
     # Only install file if it has a contents
index a3a47337850211aaa4ef53cad8bdc06dce56ffd1..0972a5dd784f98bce0d388ba17a15af2a32b59c3 100644 (file)
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 SRC_URI = "file://xorg.conf"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 CONFFILES:${PN} = "${sysconfdir}/X11/xorg.conf"
 
index 6c0739d64fc5168422529ef3de65caab4bc6e289..29f34d7f36b04613a856fa5981d60101aeae24d6 100644 (file)
@@ -1,7 +1,8 @@
 SUMMARY = "Wrapper script for the Linux kernel module dependency indexer"
 LICENSE = "MIT"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 INHIBIT_DEFAULT_DEPS = "1"
 # The kernel and the staging dir for it is machine specific
index 2396f46202b832629bb5094de1fdffe5d0eab094..3e9a563cad8c0cd21116d30f88b082e8b26a799f 100644 (file)
@@ -30,7 +30,9 @@ COMPATIBLE_HOST = ".*-linux"
 
 
 SRC_URI = "file://COPYING.GPL"
-S = "${WORKDIR}"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_configure() {
        :
index a91680d497726b82088bdf896243d5e3e884b7ec..581e90e9b47c27497a6d7566024361c970c271ab 100644 (file)
@@ -8,7 +8,8 @@ inherit pkgconfig
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot"
 do_compile[depends] += "virtual/kernel:do_compile_kernelmodules"
index 0a0577040804db0b8217ad8efd2547f0ea467a73..49268445a8839ef4c593becd132f55591ca30942 100644 (file)
@@ -4,8 +4,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://modutils.sh;beginline=3;endline=3;md5=b2dccaa94b3629a08bfb4f983cad6f89"
 SRC_URI = "file://modutils.sh"
 
-
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 INITSCRIPT_NAME = "modutils.sh"
 INITSCRIPT_PARAMS = "start 06 S ."
index 90734b6bd09576886a47f42a422deecb589644c1..bb7ddbc7f42a179785d5d52b3bd7fcb79b3960f3 100644 (file)
@@ -19,7 +19,9 @@ REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "file://session \
            file://index.theme"
-S = "${WORKDIR}"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 FILES:${PN} += "${datadir}/themes/Sato/index.theme"
 
index ec187ed9bd4706e05c3372b94786073c25bd7440..20368703c4d7130fd78377c8de2bdb2c39d95d23 100644 (file)
@@ -4,7 +4,9 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
 SRC_URI = "file://50-sato.conf"
-S = "${WORKDIR}"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 inherit allarch
 
index 766f574b259faeea8b017927794920d86a3b22bd..8c6c0edf107d6d349a8750b004842edcec362256 100644 (file)
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 SRC_URI = "file://shutdown.desktop"
 
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 do_install() {
        install -d ${D}${datadir}/applications