From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6484212853470396416 X-Received: by 10.223.136.249 with SMTP id g54mr626948wrg.17.1509723623450; Fri, 03 Nov 2017 08:40:23 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.193.142 with SMTP id r136ls1077517wmf.5.canary-gmail; Fri, 03 Nov 2017 08:40:23 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QP8+FEeNGqigMikw81MrYBt5luDejTZ1EvVicghvCxL9CH9YYNjNpjHXuc5qY31oZJ3oYW X-Received: by 10.28.141.149 with SMTP id p143mr25623wmd.13.1509723623032; Fri, 03 Nov 2017 08:40:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509723622; cv=none; d=google.com; s=arc-20160816; b=Ied7DKSE9c++r3kooPmbzk7nNiILnLIzioYLzFQUxgvgtQaT9V/SSXnorKUaCQkzCh LBehufGwMoHAIk3DMxGabOj6sf53S/5Nav4omqniuU+R/ck27u6Sr/SRoZurQ6rx0kJf +1xfuqg5nvxLMQE6TajRABROHYeFwYXLh9/GIAS2ubJZsysrLY1FTkqzrPHvVsXF0FbB qxXbmbQNWCa+QrOPyMc7lkLeR6MwiPFX9lXqYJR7MBEHHA8HEi16Hig56j0Eqb1ByQJ1 S4mpRfR8s/6I/fvJ3Xi0PtDCmD/iMo5EMDEml7sTrjog0m/kcG+z/G8DfV2FSzs9nKnW YV7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=HNTH6NHHgOMRFH0xdP/Q/73fhyOhQ7NRnAwdAZXnjww=; b=qAGKJGkXkeVi3jN4MLwiwtBDQ6LFgNaBVtGB/AuFYn/R2nCalGQvJVs7jwmR0Vj84g 6GzGzJybmhiEWo6uZrLnvodZhX1VG00ZQVzCwUxtyGLLMgRfX459/o8yVs8TDUgbT5IC /XEUZkQnclJKNdRUGAY+iLUMYF8GO2wr25numNEQbnhWFJQNx3DRcK1fdr/2lxAg84Ef mYzwrsW7/p50+vSfilVMhEKpFASQWGm2UYk/h/0VZ0eiK+wMmtQ/S94TF/dmOxGphSeF g+Ne32UXl75tMQ9cDLRYJXmYChNYq2gVB2PQ21mMs2ziEMcC4M7dlvFZlhTNLhKHQDP/ yDcA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id s6si252710wme.4.2017.11.03.08.40.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Nov 2017 08:40:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from localhost.localdomain ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id vA3Fe9n5001585 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 3 Nov 2017 16:40:14 +0100 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Alexander Smirnov Subject: [PATCH v2] buildchroot: Fetch 'build.sh' script in common way Date: Fri, 3 Nov 2017 18:40:02 +0300 Message-Id: <20171103154002.13511-1-asmirnov@ilbers.de> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20171103153707.12507-1-asmirnov@ilbers.de> References: <20171103153707.12507-1-asmirnov@ilbers.de> X-TUID: HTuvsw8McoN7 Do not install 'build.sh' script directly from meta, do it from working directory. Signed-off-by: Alexander Smirnov --- meta/recipes-devtools/buildchroot/buildchroot.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/buildchroot/buildchroot.bb b/meta/recipes-devtools/buildchroot/buildchroot.bb index 67825b1..ace64ba 100644 --- a/meta/recipes-devtools/buildchroot/buildchroot.bb +++ b/meta/recipes-devtools/buildchroot/buildchroot.bb @@ -12,7 +12,8 @@ FILESPATH =. "${LAYERDIR_core}/recipes-devtools/buildchroot/files:" SRC_URI = "file://multistrap.conf.in \ file://configscript.sh \ file://setup.sh \ - file://download_dev-random" + file://download_dev-random \ + file://build.sh" PV = "1.0" BUILDCHROOT_PREINSTALL ?= "gcc \ @@ -58,7 +59,7 @@ do_build() { sudo multistrap -a ${DISTRO_ARCH} -d "${BUILDCHROOT_DIR}" -f "${WORKDIR}/multistrap.conf" # Install package builder script - sudo install -m 755 ${THISDIR}/files/build.sh ${BUILDCHROOT_DIR} + sudo install -m 755 ${WORKDIR}/build.sh ${BUILDCHROOT_DIR} # Configure root filesystem sudo chroot ${BUILDCHROOT_DIR} /configscript.sh -- 2.1.4