public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: claudius.heine.ext@siemens.com
To: isar-users@googlegroups.com
Cc: Claudius Heine <ch@denx.de>
Subject: [PATCH v6 0/4] One-shot configuration packages
Date: Wed, 30 May 2018 13:49:56 +0200	[thread overview]
Message-ID: <20180530115000.14424-1-claudius.heine.ext@siemens.com> (raw)

From: Claudius Heine <ch@denx.de>

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


             reply	other threads:[~2018-05-30 11:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-30 11:49 claudius.heine.ext [this message]
2018-05-30 11:49 ` [PATCH v6 1/4] isar-bootstrap|configscript: implement one transient packages claudius.heine.ext
2018-05-30 11:49 ` [PATCH v6 2/4] meta/isar-cfg-localepurge: added locale purge recipe claudius.heine.ext
2018-05-30 11:49 ` [PATCH v6 3/4] meta-isar/isar-image-base: switch use isar-cfg-localepurge claudius.heine.ext
2018-05-30 11:50 ` [PATCH v6 4/4] doc: added description of `IMAGE_TRANSIENT_PACKAGES` and locale vars claudius.heine.ext

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180530115000.14424-1-claudius.heine.ext@siemens.com \
    --to=claudius.heine.ext@siemens.com \
    --cc=ch@denx.de \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox