From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6597636282865680384 X-Received: by 2002:a1c:9955:: with SMTP id b82-v6mr1880018wme.30.1536138850556; Wed, 05 Sep 2018 02:14:10 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:8012:: with SMTP id b18-v6ls344423wmd.11.gmail; Wed, 05 Sep 2018 02:14:10 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaZcQhfr/kvLiR1rcuJHIdiF7OQUJSFOxQCdkuGFoJ3ZPni4LVC10RVBibfIiipn5dA2Mx9 X-Received: by 2002:a1c:e3d6:: with SMTP id a205-v6mr1821745wmh.1.1536138850186; Wed, 05 Sep 2018 02:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536138850; cv=none; d=google.com; s=arc-20160816; b=DdfjepyIsFCOHZPoZPbslkEpuRm5Yt+UeFyl6kjy0LkELg79AuGqrhEVsWZrqzwphm 4I/tFFPogfXDsYAC3Styy0lVBxDoyNAX6f07xA+CuJZfvUbk0CREmJ/9iJ+iHPadbGh1 tD19PNFFljCDaosr2uevEH4kL7frwfD3ZNnbmK4t7chPaaLhWP5Jh7d6EYY18VahaYdg 0sSbWaTfs7eSDdD+1c2gm1/lrXLInkjt21K1J3L3VdfmyKWlQ6ryRhoTngmFA84sbxWq nxah/Z2fLKK3JCPRyXrPHBVnK1fRd7bSlAFZd4LULKyVVWHMKTS8nq8cURR7Etx/QWNU c2zg== 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; bh=6rOtD1TgOFzuTouFweh7Z0apCnA6CN2OgMOesbnX+bM=; b=kiEvXBoROzFVC/ROnJ0DHJ7gmK0IE6R6rYu1XVjfdxV8Hlq6nLYhiiNZ0FUAlZsp0r AMcOQUMrwTYL82dbaBMsXx9owFvZC+0fmBEHZZJTyLXTXnXNXlZ+Xy+ZaNyD7rQBIdzE WviHKQMpSiUUh3KJ6jivZHNEuef2wuPxchLz3w7u/s99p/4/oGq8TywG/Tu6RdtphmWW 2u3r978AT/TO0xwsQkS/IzwSFzpQuzR8GgJP++BRuTMOXzyKZpJBLHwbYKAMT8cndSCe MYOAV8vLfBNT6bYk5PvYCSfoTd0whQC4ozBDgdW6c5kzd70j0JHW2ruxLaf7LzZNhOv3 0Cmg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id v18-v6si63109wmc.1.2018.09.05.02.14.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 02:14:10 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w859E9Nr023560 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 5 Sep 2018 11:14:09 +0200 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.69.181]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id w859E97M022317; Wed, 5 Sep 2018 11:14:09 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH v2] image.bbclass: allow ISAR_RELEASE_CMD that produce space seperated vals Date: Wed, 5 Sep 2018 11:13:56 +0200 Message-Id: <20180905091356.8175-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180905071812.26252-1-claudius.heine.ext@siemens.com> References: <20180905071812.26252-1-claudius.heine.ext@siemens.com> X-TUID: v3Q8mO53KzDW From: Claudius Heine Directly using `get_build_id` inside quotes resulted in an empty string, so we take the detour via a variable. Signed-off-by: Claudius Heine --- meta/classes/image.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 6a5f0e9..ad78347 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -74,8 +74,9 @@ addtask rootfs before do_build after do_unpack do_rootfs[deptask] = "do_deploy_deb" do_mark_rootfs() { + BUILD_ID=$(get_build_id) update_etc_os_release \ - --build-id $(get_build_id) --variant "${DESCRIPTION}" \ + --build-id "${BUILD_ID}" --variant "${DESCRIPTION}" \ "${IMAGE_ROOTFS}" } -- 2.18.0