From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6558749580291211264 X-Received: by 2002:adf:ce8a:: with SMTP id r10-v6mr791883wrn.12.1527172000626; Thu, 24 May 2018 07:26:40 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:1b90:: with SMTP id b138-v6ls3665133wmb.5.gmail; Thu, 24 May 2018 07:26:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrQblhmoHO/kgUR+RhEd5i1FNydXq8TmRDRmSGxp3h/vsSRx7gAgio7+3T1LoPHQIDwNE5b X-Received: by 2002:a1c:7d4d:: with SMTP id y74-v6mr931874wmc.6.1527171999669; Thu, 24 May 2018 07:26:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527171999; cv=none; d=google.com; s=arc-20160816; b=bcZHKBSqhwa3SoJ4g0w5BWwsu644UIN67sFgisVsgWUqhcL5MqVFzEW3juYDAIStD5 +EyjMB/g+3zZa6vwCMPt2nUWvN4ta2M2sK4qQXvxxEZGaC84hge6ZqSYKzwxtNOGxobr DX8XC7uCHrKKYOYqAGd4fuHHeOfx2cgFKkMr3s/7LQAUK3699jrhRCpb60M3u2nQHb3O kIY0HGbFV5DLdvAju+AD+yWOn/p2p70PdDwwgTGjH9ao1jSFj1ukAb2Lz6/lhpeLkXzD hP5p8YZvYF3oN0LhlqSPSZn6vxxH2KqKh6riBFqoag8z09m8mBrXNTWx9+vZDUV5/FLm kZYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=BFMw19FnfAhIm4WQgUkZG2WfTJ2BZWdaTD1GybpTXwM=; b=ByXk+Q128NLi8ceRhYv9wGkn2W8URSczELDLHC2wC/QlSQuQJ1IWo9NipGGlsKFkqu +LHFa+DoI2QXekCP5l7IDciwT/g7VVt0zIrDXjIbChxlwUX+E71V1RxYwnKhhVQKoJZm 8b7s8COQHz9ddYEg6JaWv3K/TVXAq5twgHp/ssV7FhWxke3mzs9L10eR9AKeUEx0VgjK OkQ8WyclesdIqzUevG6+AwAwVyEYRQCX6GJI+CcfVTAa2wdEy3pX5CXxjwYj66YZyXHA HcxIq4J3VGUQTCFcZiUo31CSyA4jcmC76HkWmQtXmB2y8BIUXKnQm4VU+FssKC6N79R0 uJ0Q== 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 c83-v6si214319wmd.1.2018.05.24.07.26.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 07:26:39 -0700 (PDT) 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 w4OEQcEX024791 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 24 May 2018 16:26:38 +0200 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.69.69]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id w4OEQcei007841; Thu, 24 May 2018 16:26:38 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH v3 0/3] One-shot configuration packages Date: Thu, 24 May 2018 16:26:32 +0200 Message-Id: <20180524142635.5814-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.17.0 X-TUID: MRChNQZ/6AMd From: Claudius Heine Hi, here is the new version of this patchset. I integrated most of Hennings suggestions. Claudius 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 | 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 -- 2.17.0