From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6558749580291211264 X-Received: by 2002:a1c:a950:: with SMTP id s77-v6mr498195wme.27.1527077886340; Wed, 23 May 2018 05:18:06 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:4110:: with SMTP id l16-v6ls287322wrp.5.gmail; Wed, 23 May 2018 05:18:05 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqqYircM/rm6IVOxLf461XVnBQOCN9LdQOt75BWX7+gE4AHoJ2dPt/iMoyxCfR8Df3amQVL X-Received: by 2002:adf:e70e:: with SMTP id c14-v6mr258735wrm.23.1527077885855; Wed, 23 May 2018 05:18:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527077885; cv=none; d=google.com; s=arc-20160816; b=qqXZYfbQxIE00EwHdcQ/uHwHOW5gFKR3ihfNvQl3JZHtzOeG13+aPq7Kfngt7/RH48 687oCtTC7W5JIylhaRLjL5ex8cw6eaDE4M3knyIn4mtRXKR0mzupj+ZMqTCBYcigPPXW oNLpdODcHWirvDKFQlmY4I+7cL1PUK61pRcxoA17C+SMeRVo7T1wwedZ7b9YAlAXi63q 7gvsuEQEQvwD2kTbZumk8Ss9yCuyfARYzYMa3tkWR0pnT+81qHDdXJTdI1/SCExgbhe3 5v3evAXn3WYb2KmY4ciTV9+gE4woV7h7VJFpF4P0oQo28VO4pwuR2W2GDl2ZcPdWyVHE X4pA== 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=k0anp4vm/UM8pKPi/RmVx0+/iW1kU+Q01vKW4DNSkHg=; b=yzMwNeXJ/4RnmxG66QRCnp1x0ZuO0LXkEmS63aTNQHkoE/yvRsSxXm+GuTkCDtPXYd rOASyCgLiU77o5Sh0FO0AO6LAJ6D2xKU5BGbnugyDobP5OSHSQ/JT753ZDpFvBpqK0Zg YyBU+tDVToEBqTL39moGjzXRZDBi4MBR4qp3m8PUG44eRdzDfTDxqL5mytlVyc+lpFLl e4mBSxWn5MJoPQs5mAEvMluF0srfpd8PAeIZIRPwExCl0RSKDa/xJTF7mVbUuGMW4gK/ xPYDkibbUIOMJ200oYWy0T+eTlzJ5ZIJ8b1I/eO2r1h+TDMsiqX2/IS5FBEURRtzhVn6 ZWKQ== 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 g18-v6si504433wmc.4.2018.05.23.05.18.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 05:18:05 -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 mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w4NCI5xG027415 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 May 2018 14:18:05 +0200 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.69.69]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id w4NCI5wl002790; Wed, 23 May 2018 14:18:05 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH 0/3] One-shot configuration packages Date: Wed, 23 May 2018 14:17:57 +0200 Message-Id: <20180523121800.30900-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.17.0 X-TUID: iQkfa9xztdIC From: Claudius Heine Hi, here is my implementation of one-shot packages. I also implemented a packages that does the localepurge step. Claudius 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 | 31 ------------------- .../images/files/raspbian-configscript.sh | 30 ------------------ .../recipes-core/images/isar-image-base.bb | 6 ++-- meta/classes/isar-bootstrap-helper.bbclass | 23 +++++++++++--- .../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 ++++++++++++ 8 files changed, 84 insertions(+), 68 deletions(-) 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