public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/3] Add skeleton dir option
@ 2019-07-19 12:36 Quirin Gylstorff
  2019-07-19 12:38 ` [PATCH 1/3] image-account-extension: " Quirin Gylstorff
  0 siblings, 1 reply; 24+ messages in thread
From: Quirin Gylstorff @ 2019-07-19 12:36 UTC (permalink / raw)
  To: isar-users; +Cc: Henning Schild

This patch series allows users 
to be generated from a skeleton directory 
other than /etc/skel/. To fasilitate the modification of 
skeleton directories move the user generation to 
postprocessing phase from the configuration phase.

Quirin Gylstorff (3):
  image-account-extension: Add skeleton dir option
  meta-isar: Add example for user settings
  image-account-extension:Move configure_accounts to postprocess

 .../example-user-skel_0.1.bb                  | 20 ++++++++++++
 .../recipes-core/images/isar-image-user.bb    | 31 +++++++++++++++++++
 meta/classes/image-account-extension.bbclass  | 15 ++++++---
 3 files changed, 62 insertions(+), 4 deletions(-)
 create mode 100644 meta-isar/recipes-app/example-user-skel/example-user-skel_0.1.bb
 create mode 100644 meta-isar/recipes-core/images/isar-image-user.bb

-- 
2.20.1


^ permalink raw reply	[flat|nested] 24+ messages in thread
* [PATCH] ubifs-img: Correct function name
@ 2019-07-17 11:32 Quirin Gylstorff
  2019-07-17 12:31 ` [PATCH v2] " Quirin Gylstorff
  0 siblings, 1 reply; 24+ messages in thread
From: Quirin Gylstorff @ 2019-07-17 11:32 UTC (permalink / raw)
  To: isar-users; +Cc: Quirin Gylstorff, Henning Schild

Fix python exception:

ERROR: /work/isar-siemens/recipes-core/images/ubi-fit-swu-demo-image.bb: Error executing a python functi
on in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 5, function: <module>
     0001:__anon_125__work_isar_meta_classes_base_bbclass(d)
     0002:__anon_144__work_isar_meta_classes_base_bbclass(d)
     0003:__anon_34__work_isar_meta_classes_image_bbclass(d)
     0004:__anon_20__work_isar_meta_classes_buildchroot_bbclass(d)
 *** 0005:__anon_9__work_isar_meta_classes_ubifs_img_bbclass(d)
     0006:__anon_9__work_isar_meta_classes_ubi_img_bbclass(d)
File: '/work/isar/meta/classes/ubifs-img.bbclass', lineno: 8, function: __anon_9__work_isar_meta_classes
_ubifs_img_bbclass
     0004:# SPDX-License-Identifier: MIT
     0005:
     0006:python() {
     0007:    if not d.getVar("MKUBIFS_ARGS"):
 *** 0008:        raise bb.parse.skiprecipe("mkubifs_args must be set")
     0009:}
     0010:
     0011:UBIFS_IMAGE_FILE ?= "${IMAGE_FULLNAME}.ubifs.img"
     0012:
Exception: AttributeError: module 'bb.parse' has no attribute 'skiprecipe'
---
 meta/classes/ubifs-img.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/ubifs-img.bbclass b/meta/classes/ubifs-img.bbclass
index aeb986c..78926f6 100644
--- a/meta/classes/ubifs-img.bbclass
+++ b/meta/classes/ubifs-img.bbclass
@@ -5,7 +5,7 @@
 
 python() {
     if not d.getVar("MKUBIFS_ARGS"):
-        raise bb.parse.skiprecipe("mkubifs_args must be set")
+        raise bb.parse.SkipRecipe("mkubifs_args must be set")
 }
 
 UBIFS_IMAGE_FILE ?= "${IMAGE_FULLNAME}.ubifs.img"
-- 
2.20.1


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2019-08-01 16:10 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-19 12:36 [PATCH 0/3] Add skeleton dir option Quirin Gylstorff
2019-07-19 12:38 ` [PATCH 1/3] image-account-extension: " Quirin Gylstorff
2019-07-19 12:38   ` [PATCH 2/3] meta-isar: Add example for user settings Quirin Gylstorff
2019-07-23  8:08     ` Henning Schild
2019-07-23 12:00       ` Quirin Gylstorff
2019-07-23 12:03         ` [PATCH 0/3] Add skeleton dir option Quirin Gylstorff
2019-07-23 12:06         ` Quirin Gylstorff
2019-07-23 12:06           ` [PATCH v2 1/3] image-account-extension: " Quirin Gylstorff
2019-07-23 12:06           ` [PATCH v2] ubifs-img: Correct function name Quirin Gylstorff
2019-07-23 12:06           ` [PATCH v2 2/3] meta-isar: Add example for user settings Quirin Gylstorff
2019-07-23 12:06           ` [PATCH v2 3/3] image-account-extension:Move configure_accounts to postprocess Quirin Gylstorff
2019-07-29 21:25           ` [PATCH 0/3] Add skeleton dir option Baurzhan Ismagulov
2019-07-31 11:44             ` Quirin Gylstorff
2019-07-31 12:40               ` Baurzhan Ismagulov
2019-07-31 14:49                 ` Henning Schild
2019-07-31 17:23                   ` Baurzhan Ismagulov
2019-08-01 16:10                   ` Baurzhan Ismagulov
2019-08-01  7:02                 ` Quirin Gylstorff
2019-08-01  9:50                   ` Baurzhan Ismagulov
2019-08-01 14:23                     ` Quirin Gylstorff
2019-07-19 12:38   ` [PATCH 3/3] image-account-extension:Move configure_accounts to postprocess Quirin Gylstorff
  -- strict thread matches above, loose matches on Subject: below --
2019-07-17 11:32 [PATCH] ubifs-img: Correct function name Quirin Gylstorff
2019-07-17 12:31 ` [PATCH v2] " Quirin Gylstorff
2019-07-24  7:49   ` Henning Schild
2019-07-29 11:39   ` Baurzhan Ismagulov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox