systemd-compat-units: set S correctly
PATCH 1/7 systemd-compat-units: set S correctly
This recipe doesn't unpack any source, so set S to ${WORKDIR}.
--- meta/recipes-core/systemd/systemd-compat-units.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-core/systemd/systemd-compat-units.bb +2 -0
@@ -7,6 +7,8 @@ PR = "r29" DEPENDS = "systemd-systemctl-native" +S = "${WORKDIR}" + inherit allarch ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
2.1.4
PATCH 2/7 opkg-arch-config: set S correctly
This recipe doesn't unpack any source, so set S to ${WORKDIR}.
--- meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb +2 -0
@@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 PACKAGE_ARCH = "${MACHINE_ARCH}" PR = "r1" +S = "${WORKDIR}" + do_compile() { mkdir -p ${S}/${sysconfdir}/opkg/
Signature · 1 line
2.1.4
PATCH 3/7 qemuwrapper-cross: set S correctly
In reply to Ross BurtonThis recipe doesn't unpack any source, so set S to ${WORKDIR}.
--- meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb +2 -0
@@ -2,6 +2,8 @@ SUMMARY = "QEMU wrapper script" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +S = "${WORKDIR}" + inherit qemu do_install () {
Signature · 1 line
2.1.4
PATCH 4/7 depmodwrapper-cross: set S correctly
In reply to Ross BurtonThis recipe doesn't unpack any source, so set S to ${WORKDIR}.
--- meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb +2 -0
@@ -2,6 +2,8 @@ SUMMARY = "Wrapper script for the Linux kernel module dependency indexer" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +S = "${WORKDIR}" + INHIBIT_DEFAULT_DEPS = "1" # The kernel and the staging dir for it is machine specific PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
2.1.4
PATCH 5/7 dmidecode: use absolute paths in fixup task
In reply to Ross BurtonThe calls to sed use relative paths so they depend on the directory the task starts in. To clarify the code, use absolute paths.
--- meta/recipes-devtools/dmidecode/dmidecode_2.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/dmidecode/dmidecode_2.12.bb +1 -1
@@ -12,7 +12,7 @@ do_install() { } do_unpack_extra() { - sed -i -e '/^prefix/s:/usr/local:${exec_prefix}:' Makefile + sed -i -e '/^prefix/s:/usr/local:${exec_prefix}:' ${S}/Makefile } addtask unpack_extra after do_unpack before do_patch
Signature · 1 line
2.1.4
PATCH 6/7 chkconfig: use explicit directories in obey_variables()
In reply to Ross Burtonobey_variables() was using relative paths which mean it depends on exactly what directory it starts in. To clarify the code, always use absolute paths.
--- meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb +2 -2
@@ -36,10 +36,10 @@ EXTRA_OEMAKE = "\ do_unpack[postfuncs] += "obey_variables" do_unpack[vardeps] += "obey_variables" obey_variables () { - sed -i -e 's,/etc,${sysconfdir},; s,/lib/systemd,${base_libdir}/systemd,' leveldb.h + sed -i -e 's,/etc,${sysconfdir},; s,/lib/systemd,${base_libdir}/systemd,' ${S}/leveldb.h sed -i -e 's,/etc/alternatives,${sysconfdir}/alternatives,' \ -e 's,/var/lib/alternatives,${localstatedir}/lib/alternatives,' \ - -e 's,/usr/share/locale,${datadir}/locale,' alternatives.c + -e 's,/usr/share/locale,${datadir}/locale,' ${S}/alternatives.c } do_install() {
Signature · 1 line
2.1.4
PATCH 7/7 guile: Add explicit directories to guile_cross_config
In reply to Ross Burtonguile_cross_config() was using relative paths which mean it depends on exactly what directory it starts in. To clarify the code, always use absolute paths.
--- meta/recipes-devtools/guile/guile_2.0.11.bb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
meta/recipes-devtools/guile/guile_2.0.11.bb +5 -5
@@ -81,16 +81,16 @@ guile_cross_config() { # Create guile-config returning target values instead of native values install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS} echo '#!'`which ${BUILD_SYS}-guile`$' \\\n--no-auto-compile -e main -s\n!#\n(define %guile-build-info '\'\( \ - > guile-config.cross + > ${B}/guile-config.cross sed -n -e 's:^[ \t]*{[ \t]*": (:' \ -e 's:",[ \t]*": . ":' \ -e 's:" *}, *\\:"):' \ -e 's:^.*cachedir.*$::' \ -e '/^ (/p' \ - < libguile/libpath.h >> guile-config.cross - echo '))' >> guile-config.cross - cat meta/guile-config >> guile-config.cross - install guile-config.cross ${STAGING_BINDIR_CROSS}/guile-config + < ${B}/libguile/libpath.h >> ${B}/guile-config.cross + echo '))' >> ${B}/guile-config.cross + cat ${B}/meta/guile-config >> ${B}/guile-config.cross + install ${B}/guile-config.cross ${STAGING_BINDIR_CROSS}/guile-config fi }
Signature · 1 line
2.1.4