From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6680759771290664960 X-Received: by 2002:a17:906:1394:: with SMTP id f20mr6971244ejc.19.1555485597144; Wed, 17 Apr 2019 00:19:57 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:8951:: with SMTP id f17ls1542847edf.14.gmail; Wed, 17 Apr 2019 00:19:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNdCmqlyStMwTF74XeoVIHiaXwAII/iyIARZvU9HTbIb4alKKEs3hiaCjv1cRNxUzFIrgO X-Received: by 2002:a50:f5bd:: with SMTP id u58mr3171384edm.8.1555485596761; Wed, 17 Apr 2019 00:19:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555485596; cv=none; d=google.com; s=arc-20160816; b=ffq1EpQc/LuGBBMRmJ87ALW8++2ypiod6R0HrHA3JRxmumLqJ/L/jeYaqY5w/I1uHg 6W2ob3Q43XN5qidyJluMvKzji8ZD8OsUHDuhopAZUkmRAgnn+fu8dQ5gkXcQuzqHobse T8pZbSH16dtupyeNect4U8TYAi2jjMDNdpNvYi98e/AQyWpahATyiCVDauoF0fDDW3kL aiI0tFt1ujY8hYMhAjt3LVdEbSd8KMgQFxYpE3lvitwBIg7k5i4RRK4A++5Q1Xw6Q4sX Wiqf3P36gr9f7WCSBYaIkApu4M405U3xce91gJ9sbeTbnsNiOPYPpnVtKAjPs+oHVPbK +D6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=2dXlYVdmUVrjVEgl5vM4yPNncL+yIvSrzy5FDTOCGkU=; b=U337ueu/IPLmmTW1ed7098h5pmBcm/IWIcyOBVSXbEQ/jgXv0AAsrSmi4p0+jQ/xSK FrRM8MtLFl0RyWllcyIbSD3g+VqlcyskVmjJzfGCi7QmYlrAu3XKKda7jelihrqVr50u duXykn19itBgGumf4VS+RZrcROUnQ4tt4z2yb+u8qPiVZGbvDmBKKnO0uNCbMy353kj8 WVs8t1YgJi5lvbBWVtVZWoEFWS8Xluv569SwFAFqme4xwbm3XJ8Vwljn69V7lwzuNV+y 8nKFO75o121ian4VMxafANv5Psb1rwQYWfi/5KTO4CpW+UiWOFvLRyYCWECM5+d/Zi3W bkEQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id r4si1100927edh.5.2019.04.17.00.19.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 00:19:56 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id x3H7Jt6D026138 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Apr 2019 09:19:56 +0200 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.69.232]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x3H7JtaK013048; Wed, 17 Apr 2019 09:19:55 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [RFC PATCH 0/4] pre-processing pipeline and transient package replacement Date: Wed, 17 Apr 2019 09:19:48 +0200 Message-Id: <20190417071952.6723-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: dl16BH3Kr113 From: Claudius Heine Hi, the only real thing missing here is the documentation changes and a CI run. The CI run will be done later today, and if the new mechanisms of creating users and setting locales looks good to everyone, I will fit the documentation and resend this patchset without RFC. The main point I would like to have some comments on here is if the general internal and external interface looks good. Please take a look at the first and the last two patches especially. The first one introduces the new internal interface that allows chaining own functions into the image creation pipeline and the last two show the usage of this using by porting both transient packages to it and demonstrates the new public interface for setting locales and creating/modifiying users and groups. Thanks, Claudius Claudius Heine (4): split up isar-bootstrap helper and implement pre-process pipeline remove transient package support meta/classes: add image-locales-extension class meta/classes: add image-account-extension class meta/classes/image-account-extension.bbclass | 252 ++++++++++++++++++ meta/classes/image-locales-extension.bbclass | 95 +++++++ meta/classes/image.bbclass | 29 +- meta/classes/isar-bootstrap-helper.bbclass | 143 ---------- meta/classes/rootfs.bbclass | 173 +++++++++++- .../isar-bootstrap/isar-bootstrap.inc | 5 + .../buildchroot/buildchroot-host.bb | 16 +- .../buildchroot/buildchroot-target.bb | 2 - .../buildchroot/buildchroot.inc | 26 +- meta/recipes-devtools/sdkchroot/sdkchroot.bb | 47 ++-- .../isar-cfg-localepurge/files/postinst | 15 -- .../isar-cfg-localepurge.bb | 70 ----- .../isar-cfg-rootpw/files/postinst.tmpl | 19 -- .../isar-cfg-rootpw/isar-cfg-rootpw.bb | 19 -- 14 files changed, 577 insertions(+), 334 deletions(-) create mode 100644 meta/classes/image-account-extension.bbclass create mode 100644 meta/classes/image-locales-extension.bbclass delete mode 100644 meta/classes/isar-bootstrap-helper.bbclass delete mode 100644 meta/recipes-support/isar-cfg-localepurge/files/postinst delete mode 100644 meta/recipes-support/isar-cfg-localepurge/isar-cfg-localepurge.bb delete mode 100644 meta/recipes-support/isar-cfg-rootpw/files/postinst.tmpl delete mode 100644 meta/recipes-support/isar-cfg-rootpw/isar-cfg-rootpw.bb -- 2.20.1