From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6558749580291211264 X-Received: by 2002:a1c:ef11:: with SMTP id n17-v6mr558840wmh.31.1527084210156; Wed, 23 May 2018 07:03:30 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:d78d:: with SMTP id o135-v6ls3040769wmg.5.canary-gmail; Wed, 23 May 2018 07:03:29 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqIlvVc7Eauac6Pnz+wOkSO1VWYPPiUcqGJdj5KYmMb6SOYEdzUpSF4C1cNb+amI1y244XW X-Received: by 2002:a1c:adc2:: with SMTP id w185-v6mr591401wme.20.1527084209771; Wed, 23 May 2018 07:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527084209; cv=none; d=google.com; s=arc-20160816; b=LG/djTL15gn+Gm1IA7+fkooYzxGdd6IaqA+R8O7olhSbDd1yJ3+tjjhQV8Ww0BbLdg v8sLepWo5bd+poUNdZbFj2y0uSCZQmRYk9ErjDu7SKY9fKRAwteIXwJTrGLKcK0ZGeHu mmLOyqBuOlOuHFPF3pqllYlPNlOwUA40mwK72RNjm3vMRaL/RL2eN6Nr/jSp5FjZMMj3 leNuDmtocEJW7+BjTYL5op46fqzBAVKq0Q9c698S7DxLthC+H4jjFCqS03K7AuILgR9J qnD0+Nxm8SuFGs1gn4IxTe80MXSEZ6u6QYq7dlyscJ8yyZRLS0u45fuM5CgV5aOubJyb uK7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=haFCxRw7t9XJxvZ0juYaHoCmOO27NDYn3jlfohoby3g=; b=ZiNCB+4NhQMG6nL9/fOmVv3DvH4uk8kRpcK9SuHaZlS7IFjtczS0l/oQroccGgGUM2 vYNpGvV118yh2umF9IdRjXMF9SQ6PkGRAMVE1QEdqFieGj0/mAIJ1iYnzPWBW8YDzWzu uDHFCTCQwqzz6MGqkUb8rqk+2PKKHlCvEY9gPizmx7cDyTPVycaxL/k4Ekk02HxCO/cz p7YYSE6xr2IPDvI6m/Ap9kyGXYv35dpE+qum59egRyeWW00hcOCR0hGVBr9S9XOyJzSA /wCTywvXpwvAEuALeBPpdxbLhLQR9zPNtP6jrYO8Cpo2/wK+FlycHpDj8yKw1uGZIz5b PI4w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id g12-v6si499883wrm.4.2018.05.23.07.03.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 07:03:29 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@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 henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w4NE3Svh014574 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 May 2018 16:03:29 +0200 Received: from md1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w4NE3StY007561; Wed, 23 May 2018 16:03:28 +0200 Date: Wed, 23 May 2018 16:03:27 +0200 From: Henning Schild To: "[ext] claudius.heine.ext@siemens.com" Cc: , Claudius Heine Subject: Re: [PATCH v2 0/3] One-shot configuration packages Message-ID: <20180523160327.714453e7@md1pvb1c.ad001.siemens.net> In-Reply-To: <20180523131248.31907-1-claudius.heine.ext@siemens.com> References: <20180523131248.31907-1-claudius.heine.ext@siemens.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: l9w2wjwhEEZ5 Nice patchset. It follows the "everything that enters the rootfs should come from a package" approach. And it introduced a nice hack to execute scripts in the "last package", switching from the chrootable folder to the image. Things like removing qemu, resolv.conf etc could also be done in such a "final" package postrm. Henning Am Wed, 23 May 2018 15:12:45 +0200 schrieb "[ext] claudius.heine.ext@siemens.com" : > From: Claudius Heine > > Hi, > > here is the rebased patchset that removes the issue with the global > localepurge configuration as well. > > Claudius > > 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 | 23 +++++++++++--- > .../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, 85 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 >