From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6558749580291211264 X-Received: by 2002:a1c:e908:: with SMTP id q8-v6mr1368027wmc.15.1527580815273; Tue, 29 May 2018 01:00:15 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:9d1b:: with SMTP id k27-v6ls10419301wre.1.gmail; Tue, 29 May 2018 01:00:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqg+4T5Ke2uwB/xH7htQ20UXJlBSKDqbzIGJESFd8kUY66ab2xaoKJadXV0rPhURtPXe6Gd X-Received: by 2002:adf:ab57:: with SMTP id r23-v6mr1210040wrc.13.1527580814655; Tue, 29 May 2018 01:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527580814; cv=none; d=google.com; s=arc-20160816; b=ficXIlef/KZvyBNsHEqlYR06QsiMoiwIhw7L2kuXLEjxjN2Er4aJoG7Gz/NNeDWRop IVzfjc5iBXlVcbGOZSOc+Xjz71AlO6FVk51ZxP72XyEGTAJknopTF0Y7GIPnMJOwM+4s 3fw4PhhcL8jMZvPWni0XyVXbl/c2IBzF93bhnpw7uh+fhLGSNAwYa5KkY+ap+crhLwF6 vpHC4/zM/HE6EqRCbSmr72iQRfGCbH0hJKrYxr6guWLdqPRbs5XK0KPL8+YdTa3MhqFZ gZHpRZON25P7pTaxTMBZRiznf0TxHxppbE8B4okJQOd2lYhN7F496/ybG41zx25p/yi+ xx+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date :arc-authentication-results; bh=gI0SraB6o8rmBY3QjB5rTv5I+QtxIKDtXRT/CaOqxYA=; b=gJIT3XVbQPoCtJJgUciTWYaVdixhlNgj7Vdshfe8hwW6T8aaQ4zBBH2/ZD0Hv591CA Xb4lCcL8SFr4LsMl4QhPrsiLtvM2FxlGVleJDRzCQSdl14nqU8h5Do2Buz9UtfyyWyrK bmAGvoEGAj9AdRx8T54Ps0tbRNP53w1ZJ5/dDpQ9enq8KOHbPAkrr7bMlyrbAI+ZNIW3 DfSkgZ6I9hR3Kk+9GQHqweSMR5ZHjPLBTDIBZFbsvDNTcF3PraSSsGlDplaCcoO06KGK M9erN3K6BN8x+mlfILKWBVHr217YSF7YHXFxClHCgOPQ3tsQQUlM4zstebO0UhZ4VV0U PlTg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id g18-v6si1042462wmc.4.2018.05.29.01.00.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 May 2018 01:00:14 -0700 (PDT) Received-SPF: neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.radix50.net (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w4T80C8W024591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 29 May 2018 10:00:13 +0200 Received: from yssyq.radix50.net (localhost [127.0.0.1]) by yssyq.radix50.net (8.14.4/8.14.4/Debian-8) with ESMTP id w4T80BM4005473 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 29 May 2018 10:00:11 +0200 Received: (from ibr@localhost) by yssyq.radix50.net (8.14.4/8.14.4/Submit) id w4T80Bic005472 for isar-users@googlegroups.com; Tue, 29 May 2018 10:00:11 +0200 Date: Tue, 29 May 2018 10:00:11 +0200 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Subject: Re: [PATCH v4 0/3] One-shot configuration packages Message-ID: <20180529080011.GA4816@yssyq.radix50.net> Mail-Followup-To: isar-users@googlegroups.com References: <20180528105643.23518-1-claudius.heine.ext@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180528105643.23518-1-claudius.heine.ext@siemens.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-TUID: 7RMsGsg9Nxtg Hello Claudius, this is a useful feature that is also user-visible. Would you like to provide a patch to doc/user_manual.md? I think we should provide a recommendation for the user how to do customizations. I'd be especially interested in your vision where to provide what, e.g.: One or many customization packages? If many, how to split customizations between packages? Or just describe the mechanism and leave the splitting decision to the user? In the latter case, would that mean that in Isar, we'll by default provide only one package for all customizations? With kind regards, Baurzhan. On Mon, May 28, 2018 at 12:56:40PM +0200, claudius.heine.ext@siemens.com wrote: > From: Claudius Heine > > Hi, > > I implemented Hennings suggestion to purge the one-shot packages in the > reverse order of the installation. > > Claudius > > Changes from v3: > - Purge one-shot packages in reverse order > > Changes from v2: > - Install one-shot package with a loop > - Rename '-y' apt parameter to '--yes' > - Move isar-cfg-localepurge files from /usr/local/etc to /usr/lib/ > > Changes from v1: > - rebased to current next > - removed locale.nopurge setup in isar-bootstrap > > Claudius Heine (3): > isar-bootstrap|configscript: implement one shot config option > meta/isar-cfg-localepurge: added locale purge recipe > meta-isar/isar-image-base: switch use isar-cfg-localepurge > > .../images/files/debian-configscript.sh | 9 ------ > .../images/files/raspbian-configscript.sh | 8 ----- > .../recipes-core/images/isar-image-base.bb | 6 ++-- > meta/classes/isar-bootstrap-helper.bbclass | 32 ++++++++++++++++--- > .../isar-bootstrap/files/locale.nopurge | 10 ------ > .../isar-bootstrap/isar-bootstrap.bb | 4 +-- > .../isar-cfg-localepurge/files/locale.debconf | 12 +++++++ > .../isar-cfg-localepurge/files/locale.gen | 1 + > .../isar-cfg-localepurge/files/postinst | 30 +++++++++++++++++ > .../isar-cfg-localepurge.bb | 19 +++++++++++ > 10 files changed, 94 insertions(+), 37 deletions(-) > delete mode 100644 meta/recipes-core/isar-bootstrap/files/locale.nopurge > create mode 100644 meta/recipes-support/isar-cfg-localepurge/files/locale.debconf > create mode 100644 meta/recipes-support/isar-cfg-localepurge/files/locale.gen > create mode 100644 meta/recipes-support/isar-cfg-localepurge/files/postinst > create mode 100644 meta/recipes-support/isar-cfg-localepurge/isar-cfg-localepurge.bb > > -- > 2.17.0