From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6659376390151864320 X-Received: by 2002:adf:f08c:: with SMTP id n12mr827555wro.7.1551694563597; Mon, 04 Mar 2019 02:16:03 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:81cb:: with SMTP id 69ls3317142wra.10.gmail; Mon, 04 Mar 2019 02:16:03 -0800 (PST) X-Google-Smtp-Source: APXvYqycW36G1PlDX4pKpe/loGySgZ4yEQ37+R3TcfOiU1vCX8wQiAPh6Rl1qdpSThS3WoVRRj+b X-Received: by 2002:a5d:6846:: with SMTP id o6mr835338wrw.16.1551694563179; Mon, 04 Mar 2019 02:16:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551694563; cv=none; d=google.com; s=arc-20160816; b=tf1Ky/nuNfjt/BiJ0ue8Us8OMjX2uIh8PqhYg0N1J+dDTsgWqPJKOgPLX/oM3XsfXj gMAEYqbo3nw+Ze5WhxlMSERW3D2z1A054eXyLuytFbPL9wK3uc/ei13r2DHTYqUGX6U1 xEKrc0AqwtmDO+RWfUmUjsiTUpSM6EjK/NaGiO+dR2k/o5KCaSOEXMMXNUOeKRhmVfV3 bWg1ko4G1BZrlE0eHUAXPkjxbNGb2YJ15gva/LiQQ1NAlO3ieWmrr3IYu6U7g84xQ5BB I+kJJvbLfqQMtWX1+Jx0V5O3CFpS+KZaCoSQDRN6HDmyw6U67Rc1zvXzvJ9WyUz5jZgC +gAA== 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; bh=pJSQCKauJkZH3Z6xxRFHzutc4/uQ+UXNl162o/0Kxtg=; b=J9XfYGmhyT/ky8K+JpaOiRFkf+o6P19XmjYtK4CjdXws/19pknTMpKjoUfWRah9CaN Vmrwb8plA8p6UcD3WrFUNBeKeU5SNzbz9wrvmktwdVBkENCli5dKzeCVBmLfMhzc9zt6 YubwIq6byCCLXo4tvKPDktvuzpgNQ0tyhVXwzzXmfAkeRPDE0KP8K8z5ptIHO/Jg+YZS YdBfSwi/xBZmMCL6ThzHrevHoPzSXVS5vitqNkhKjQ7YQtA1umfffGn1HZ4vwQVMjcP7 f732USu6n6w6WxduFzAVWWWaB7Xfu71Z09L7P0qb+loNG9sJXPwzsrdNKfEQ+KsyAAf7 Qozw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id o184si156513wma.0.2019.03.04.02.16.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Mar 2019 02:16:03 -0800 (PST) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id x24AG18Z018924 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 4 Mar 2019 11:16:02 +0100 Received: from [139.25.69.232] (linux-ses-ext02.ppmd.siemens.net [139.25.69.232]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x24AFvx5001751; Mon, 4 Mar 2019 11:15:57 +0100 Subject: Re: [PATCH] added 'isar-cfg-userpw' package To: Claudius Heine , Henning Schild , Jan Kiszka Cc: isar-users@googlegroups.com References: <20190218162113.8538-1-claudius.heine.ext@siemens.com> <66062d8f-1a2f-55bb-80fb-3f14ce05eace@web.de> <683245f8-e5f0-38b8-0532-94170db742fe@siemens.com> <155108427994.4408.2228465568428075120@ardipi> <44468fac-f5b7-2178-9170-8eb382528c4a@siemens.com> <20190225103217.0b079975@md1za8fc.ad001.siemens.net> <40ca1c88-0843-5036-b9eb-c19fcd80078c@siemens.com> <155109508888.4408.14951044073249892932@ardipi> From: Claudius Heine Message-ID: <7c59a308-60eb-008d-d123-057f165d7fa6@siemens.com> Date: Mon, 4 Mar 2019 11:15:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <155109508888.4408.14951044073249892932@ardipi> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: D6dsAIrh79pP Hi, On 25/02/2019 12.44, Claudius Heine wrote: > Quoting Jan Kiszka (2019-02-25 12:15:32) >> On 25.02.19 10:32, Henning Schild wrote: >>> Am Mon, 25 Feb 2019 09:48:38 +0100 >>> schrieb "[ext] Jan Kiszka" : >>>> On 25.02.19 09:44, Claudius Heine wrote: > [...] >>>>> But of course if you now have a '*-debug' and '*-release' >>>>> multiconfig, you cannot build that in parallel if one package is >>>>> build with two different variables. >>>>> >>>>> And that exactly hits the mark with the problem I have with the way >>>>> Isar uses multiconfigs and tries to share packages from different >>>>> multiconfigs. >>>>> >>>>> IMO if you want to continue doing it that way, you would need to >>>>> have a 'isar-cfg-localpurge-debug' and a 'isar-cfg-userpw-debug'. >>>>> And do that for all possible other configurations you want to build >>>>> in parallel... >>>> >>>> Awkward. We need to stop this weird patterns which require too much >>>> boilerplate recipes to achieve very simple things. Let's just make >>>> these variables per-image. >>> >>> I had a feeling that same PN-PV but different content could be a >>> problem. And here we go. But Claudius is right, either we have >>> different packages (by name and/or version) or we do not use packages >>> for such tasks. Per Image variables will not work, the last >>> do_deploy_deb will win and set the password for every image sharing the >>> repo. >> >> Right, we need to discuss about that "everything is a package" in this context. >> I may make Isar life easier, but not Isar user's life. Also, it's deviating with >> the image configuration from OE. > > I now took a look exactly how OE manage that, and that seems to answer > my previous question. The implementation seems a bit complex, but I > guess that it could be adapted to fit Isars purposes. Well the exact implementation in OE might be a bit to much, since that is part of meta/lib/oe/rootfs.py and that leads down into a rabbit hole very fast. So that will have to be implemented mostly new for Isar. regards, 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