From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6522439438972223488 X-Received: by 10.28.213.144 with SMTP id m138mr258183wmg.19.1518628214551; Wed, 14 Feb 2018 09:10:14 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.108.16 with SMTP id h16ls2227804wmc.1.gmail; Wed, 14 Feb 2018 09:10:14 -0800 (PST) X-Google-Smtp-Source: AH8x226ro/JZEPql/oK0nzxJa5U/6R9amBwE81zZQsLQzAmXBaaOAsuSr7J9tFNaE7e+w+s5ohuP X-Received: by 10.28.241.15 with SMTP id p15mr640748wmh.5.1518628213988; Wed, 14 Feb 2018 09:10:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518628213; cv=none; d=google.com; s=arc-20160816; b=pRh2AHzmIobsJqVy8PVOBwlcCitXckLT//CHFXgKhiQe7+XHuHY9FwBNoaR22qLNyS c+j7Brgji1L8QhKSTACD5AKdGAkrH4zXmKhPqvws8O8k/zN4f8dkG+GUlrIw4NCLoXwu 1vlLZYp/hpXU4wVTc9U6eiC4RsWfDKW+vE1YnuHl01EOvMWiFbznZJkJRzYlbwRaq6Gb pZrUGRjvyFuRK2QwAFTzNfR1uZdf4hBoU+eFgYgSaP3cy3E6qnp1b38OF6bepQpdn0fa uOA2dL5hCSbksAPtYD3lrpS523kBheP83qxtTDyk76VMxBc0PSkizJCXTxg0gMVx9M2X tuPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :arc-authentication-results; bh=ngcvViOe/v89jWM8lYudDRXXb5btlZdoZ2ZhRNOP1CU=; b=uWyPRm8mDIjBLaJc6CoWdA/vfJ7FQLbH2/1gGo4KcjEpWgKRP27T97PREFZdlRkPXN /goDVSjAIjHUVlJid0GqXpKUM9F8M2Vq8fLNtsGnFRzIftgOK9qJgTjv89FFEQJJ9EDi 32PJhM8k/wjK3pIFERGebFVR3HWWy7Ogai7q8OREJk62Plz3NuI7OXxMIc8tRm9mF0eo uIeywo0cm7GeX2M+vNCnxCV3lQ6P4AdEKoj9J56YTF9lYVNN8jI4vZtdrcgu436n6240 CDl3J/8Cn+8RjqatSGb/+Tr76NQ+xpcbArN5aCkyHvo7HogFx6bIauTBSyXseoUkeOxg pyBg== 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 g70si551305wmc.3.2018.02.14.09.10.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Feb 2018 09:10:13 -0800 (PST) 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 [10.0.2.15] ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w1EHAAtS010849 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 14 Feb 2018 18:10:12 +0100 Subject: Re: dpkg-base.bbclass: Mistake in stamp name? To: Jan Kiszka Cc: isar-users References: <2cbcf30f-e51b-4e05-82a1-cd7ec5c03746@siemens.com> From: Alexander Smirnov Message-ID: <5aba504e-89da-768f-7e9e-2f9310c00aa2@ilbers.de> Date: Wed, 14 Feb 2018 20:10:05 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <2cbcf30f-e51b-4e05-82a1-cd7ec5c03746@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: +HpnR3JpPTi1 On 02/14/2018 06:56 PM, Jan Kiszka wrote: > addtask deploy_deb after do_build > do_deploy_deb[stamp-extra-info] = "${DISTRO}-${MACHINE}" > > Shouldn't this be "${DISTRO}-${DISTRO_ARCH}"? Huh, good finding. IIRC initially there was issue with RPi and qemuarm. Both of these boards have the same ${DISTRO_ARCH}. 1. Initially Isar supported only one Debian distribution, so to distinguish stamps between machines, the ${MACHINE} suffix was used. 2. Then another distribution was added, but there was no split in ${TMPDIR} like you see now, ${WORKDIRS} were split by distro or arch name only, so RPi and qemuarm had shared working directory. 3. Some tasks were shared for example do_unpack for qemuarm and rpi, but some tasks like do_build and do_deploy should run per-machine. 4. Some stamps were fixed after splitting of ${TMPDIR}, seems this one was missed. For now I guess this makes no sense, we have complete split of workspaces in ${TMPDIR}. So "${DISTRO}-${DISTRO_ARCH}" could be used. But your question pointed me to another topic: 1. We have two armhf boards, let's say Rpi1 and RPi2. 2. I want two Jessie images for this boards. 3. How we should process them in Isar? With current layout the only one configuration will be compiled. How kernel packages should be distinguished? Alex