From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6460145511672315904 X-Received: by 10.28.107.79 with SMTP id g76mr264958wmc.28.1504595122597; Tue, 05 Sep 2017 00:05:22 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.2.203 with SMTP id y72ls129105lje.18.gmail; Tue, 05 Sep 2017 00:05:22 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7Az9bYgRMhC2+aKPSHfgjwjs/hJZ/NffOPxOAjtZZNNpVEXvJTOBV9FTJUtFXTp+FUmqdT X-Received: by 10.25.80.92 with SMTP id z28mr265300lfj.17.1504595122177; Tue, 05 Sep 2017 00:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504595122; cv=none; d=google.com; s=arc-20160816; b=s1tAQK8XM+XhG6SV4YL6YePfZXl/6w5DcCYGexpm1ZbnPIgqFgpKKwWCQFtmwXHJkc Ig67vVwPGc+m8diw05ghEpYCQYnS8vDyB4r+B1Gsjrh2adTtzLQwOV/++lv9naYCAH1a /7hVM9RqhtKMBQaSHhzGg7RyrCo84fSZUWAEOzhWKHnUBCacUzE/mzQoXm8VNaFqLMCE 6HDFrTKY6r4gaJ492peJZFon6nZv7HZIiV51WiLFXOAXnD5o30fOE839nRHvWtmO7XRc BIZfeidDMTXr6VeZZxhTLbpr6ZZddttziHmF6hcMoxUZRrSNahq60LtjIR7gEyUwghG+ RQPA== 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:to:subject :arc-authentication-results; bh=xmSru14N5dtJ0tAocw73Aj40vn793MDDZIuKIbb11D8=; b=bJn7UKhGWCsHqMLtjew6pGwbAOJnUJ4RbIGyhlsQdYr/3hKCodz7rMgTjPR0S0d7ga e5YZLFsOmPzHckCBJwNpBeU1BL8CDfQNKXgcnoZ+TVxKF2VABBzBF8W0guSfLgQLjoT6 0Aa+bpTmAVH6NMAgFarMrdNsxjWRu/CRjiX6trIG9TuMPOI1GEbLy6lVj/NWDdP4d+cL c39Uwx2xoJHefBMYCkt9jwQVTaUr9TLfNRVInjUmGnHza1nHEBZsu7aTZMK2z1nTj8xw mPTJy6GwAdZv8tzqDUSJfPtgq91N9ewq5u+YFEUSw8NkzD+kCnt4k8IK2sJ/PyplngBB 883A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of claudius.heine.ext@siemens.com) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id w5si636wmw.0.2017.09.05.00.05.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Sep 2017 00:05:22 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of claudius.heine.ext@siemens.com) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of claudius.heine.ext@siemens.com) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id v8575LtF011123 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 5 Sep 2017 09:05:21 +0200 Received: from [139.25.68.223] (linux-ses-ext02.ppmd.siemens.net [139.25.68.223]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id v8575LTO030667; Tue, 5 Sep 2017 09:05:21 +0200 Subject: Re: [PATCH 1/6] meta/dpkg: Make 'do_unpack' more generic, prepare for pulling out To: Alexander Smirnov , isar-users@googlegroups.com References: <6f7b53c5-3238-1d8d-88a7-7afc3859a9ec@ilbers.de> From: Claudius Heine Message-ID: <62849b3a-fd2f-3184-ace0-0941fd3f9325@siemens.com> Date: Tue, 5 Sep 2017 09:05:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <6f7b53c5-3238-1d8d-88a7-7afc3859a9ec@ilbers.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: ZdYl2S3hbP5u Hi, On 09/04/2017 05:11 PM, Alexander Smirnov wrote: > On 08/30/2017 10:03 PM, Henning Schild wrote: >> Issue: >> The unpacker in dpkg is not generic since it does not unpack to >> WORKDIR, so it can not be pulled into a more generic class to make it >> available for other users. >> > > As I already wrote to mail-list, WORKDIR and BUILDROOT are different > folders, and there was the reason to do so. Yes we (Henning and I) get that. That is the reason why the patch includes the line: +WORKDIR_task-unpack = "${BUILDROOT}" That means that only for the unpack task in the dpkg.bbclass the variable WORKDIR is set to the BUILDROOT variable. This makes the unpack step more generic so that it can be moved to the base class. Essentially removing the dependency of the unpack task to the dpkg class. Claudius -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de