From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6558749580291211264 X-Received: by 2002:a1c:7410:: with SMTP id p16-v6mr165103wmc.20.1527681009385; Wed, 30 May 2018 04:50:09 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:c00a:: with SMTP id z10-v6ls11528406wre.8.gmail; Wed, 30 May 2018 04:50:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ3NJ28tf/W6m7eK2pzIiNAtZhNWdeXO1pXCQVIStl87UVl/k+29g6PN6cmV85rhH2jOZWz X-Received: by 2002:adf:e5c3:: with SMTP id a3-v6mr207489wrn.19.1527681008983; Wed, 30 May 2018 04:50:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527681008; cv=none; d=google.com; s=arc-20160816; b=ijUD9KgmZpziI2rpgU4PHd4t8ojvjWOOh7YjRH4Z4BBJ9an40jjYaN8focCQUY7gpS 3ks8kMUyoZIW0NVb0XhHwxmz7PXkkYv5WB8DdxfNThWxVy2mnnWXfsy9brjGg8fLsa9J hwiMTkLNWeO0HfMayHucoLaFONP7EmqWg/c6zdaqZhaw/QeQUuCDmyCL+Dbkbm2AvLWs u4VqU+3vRwDmMqwAGR4VI3IQ/yaM7DPjDjc2xSLAL24aYeFA+blIesDhIaqxcuQ7Jzsz oZVnt/3+GU0K8eZHypJRxru2KlFK7AOj1W67CUkMbUmBnbvm3Vem7SuZBvSCcB6GV0gB KXZg== 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=dD+gHF5By6RIAJ2cJQn6sE7/qw20nWsWEbcVuWWz+Uc=; b=Fwlew3EXhxND9UpZNdG2e+MVFJqO6Qw5YstzdQYkbMZHadwNvBMDoX0EWK77colwzd WETpzMUM8obHG5uY6oWP5QcnUNo2qeiHhwdLx04VPpph3JGnXU7uaX5QilnRD9zYs4xI U3cKvCXRNdEbxCAPxVdx+3Tpettb9Q3FlPc/6do3LrezFXlz/3zaHSk32X88vtKgP8SI g4bpdd0J4RcZc2oZhL+jQBhflDpwYvF7S+jfD/CdSCZ1DY4vVWxUA6YOAqjUhxIiB7VU fspIPqeHITA6OtDGr0iJ8b/aT7f3vK3hEyU2W0cIwcZqIpF1pZ+jApcl+S9LO+eTatr8 yrlw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id r128-v6si42219wmf.2.2018.05.30.04.50.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 May 2018 04:50:08 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w4UBo7i6019144 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 30 May 2018 13:50:08 +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 w4UBo7F1014220; Wed, 30 May 2018 13:50:07 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH v6 0/4] One-shot configuration packages Date: Wed, 30 May 2018 13:49:56 +0200 Message-Id: <20180530115000.14424-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.17.0 X-TUID: 9QvB04SFBt+1 From: Claudius Heine Hi, I decided to merge the isar-cfg-localpurge improvement patch series with this one, since they touch the same code basis. With this change the isar-cfg-localepurge package code is pretty much done from stretch. The configuration now depends on bitbake internal variables, so now its possible to set the desired locale without need to overwrite any recipes, just by setting the `LOCALE_GEN` and `LOCALE_DEFAULT` variables. I also removed the debconf configuration of localepurge. This part is pretty broken in that package. Now '/etc/locale.nopurge' is just generated and placed by bitbake and the postinst script. Claudius Changes from v5: - reworked isar-cfg-localepurge package Changes from v4: - added documentation - renamed `IMAGE_CFG_PACKAGE` to `IMAGE_TRANSIENT_PACKAGES` 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 (4): isar-bootstrap|configscript: implement one transient packages meta/isar-cfg-localepurge: added locale purge recipe meta-isar/isar-image-base: switch use isar-cfg-localepurge doc: added description of `IMAGE_TRANSIENT_PACKAGES` and locale vars doc/user_manual.md | 18 +++++ .../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/postinst | 13 ++++ .../isar-cfg-localepurge.bb | 65 +++++++++++++++++++ 9 files changed, 128 insertions(+), 37 deletions(-) delete mode 100644 meta/recipes-core/isar-bootstrap/files/locale.nopurge 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