From patchwork Tue Oct 8 09:49:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "alexander.heinisch" X-Patchwork-Id: 218 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 08 Oct 2024 11:49:35 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qk1-f184.google.com (mail-qk1-f184.google.com [209.85.222.184]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4989nYLj023009 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 8 Oct 2024 11:49:34 +0200 Received: by mail-qk1-f184.google.com with SMTP id af79cd13be357-7acb19747a8sf1130628185a.0 for ; Tue, 08 Oct 2024 02:49:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728380968; cv=pass; d=google.com; s=arc-20240605; b=XZWPpJzG7TyBlpOnIhE6rjY10ikBmHcwujCulB5wP88WsbC95L/riCWhb9qLVawQJc pJGbrmE3XPRKIQ7gEXosE9QQUizbeGXqP1CzGS4cBq7qmNV3+DzZ4GEYKZ8FRfRsl4kD nhxau/MWLJxHiHk0WKyx1Ymk0ne3GPGya65FOasbrYOCuTenyDvGq9W90z71ql8wzNtc r23JWDyRIcjgKjLssYk5ytyDltGmDC4YKs0aM+R0s6bFMnLSnPkJNuTpotnavJPiEGko XXHysoLKWAepiDBjVdgc30dnT0acUFvjg2IWPUaNNz8lR3ZYlElHfHLpRVAO7ic88W3a pLBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:feedback-id:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4GEksIl4809dgDQZt0CbJ0rD0Vd+iJ5ebo1nBr8dweo=; fh=5x5TsEOptGL/lJr6tayt+TfKPduXA7u+6qi3ZKIWQ5Y=; b=KdoippFAUmmuXpjE4kcdnvtgGDx5EIuZQ1qOkz9Vx93BbyC1M8CeEzAYh5I1mxQf2F mosrJus36sfL/y/RA6T9Ca5t68IGJkKit7Bui1gU5D4K0T8tuk7T0znfNgFkkptXQseE vZRg9ki0Gb5b2ANolJrMpDt8YaYry3zN0z6ItA/90gIrj9eNLpgUdJ7x9eL+g9tro2ZM rbYoIMddx5vFB/2VZE+Kqfqn0ihzM1vMqZan2jClCtw3RfCaaRHRqJoLmzAUrg3XSmZ1 +AOznd+xQhzbjCke4VHDmSuvm49Zm5RS86UeIYK0PrSQXH4hEUnA+WxztHeUWsCqCKS7 zNtg==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=llGOmtIn; spf=pass (google.com: domain of fm-1326448-202410080949253fbfe9d925b0349182-2rxmaa@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1326448-202410080949253fbfe9d925b0349182-2RxmAa@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1728380968; x=1728985768; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=4GEksIl4809dgDQZt0CbJ0rD0Vd+iJ5ebo1nBr8dweo=; b=tuYmZq8STAxJ0QJ9puuywxCuO1PN/cLrPybE6ZTfPQMl7Xokp2qZ7EroyE7/0UmZJF y1hvzllJSgVFCNb4FTNqkaaQpJFdgIKRMKDFzoLgKJaTwR+i0cvv3AidtwVZHFw4ZOue 0JbBeuydQxw8cmIENbDT16EEWFRcLb0dwo3Ildiu00aICvxR6BbPfoN3kBkJJrjP82oL cenHgsEex6B98ViRdEyAq5ghXlkvB/Mx8A39KGR1UKXGh2DOkJpZrJFNXBmTA1c6itP8 m10Th3ke9kLsh6/4sAVQ4exRC3QyxFIoR+2dGRGSRFu/Er/EdsODk76Iq0/EAviukb5a i8dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728380968; x=1728985768; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4GEksIl4809dgDQZt0CbJ0rD0Vd+iJ5ebo1nBr8dweo=; b=otgDBAo5VWWmNF4fqw/0OVz5JkXDCg6i5OBUZnFbANhWkyoDFbwia8Jkr70SWh+OkS WHCGACP5Ytzi2TNklLflZqEN2BXdg3MZbO5B/pcZ7lRHOM8P0MZW1zwc+b2czsUJtwNY MUrl1cpyrdQtG7rlHjgS16Dx/t7O+JfbKONNi0XkwcgG+ezsMov3fkUn8fCjXIRoZg7f Mry/58yKqJZkejrIr7MxAO/4EInbnqcEiI/5H2McZkSLQrV/HVei831XyLVb44U2TvNi fx3WKw6hPCJ2msF776NUhvNO8W4xRlCsyPINJfPdrUFaNOlL56TYFC6SKvSGZR8EkOYv 4uzw== X-Forwarded-Encrypted: i=2; AJvYcCWoI1w14y4SBKvLlHDTOepdw0ZstQj7QuJgOLhD1at+jBqrGg1B3uw30F4UJZ1WMEjYAcWocHA=@isar-build.org X-Gm-Message-State: AOJu0YzAWWw0IO6deYO5QplaNEng6LrvxeUUhrJIbkMO84q3iHefy+YE LLVF+NJJipsxIMrv8woekkvKJazdhkKE8PgaKIzgew+pt9YeUs4d X-Google-Smtp-Source: AGHT+IGvlKfybwOkbvWx1oYz46sGU0/qtbcQ/6Dsz7qcL+k7gefrYLODI+3z2Zn1s1TRiXWn4kNmrw== X-Received: by 2002:a05:6214:2b99:b0:6cb:48c4:a557 with SMTP id 6a1803df08f44-6cb9a441f2emr239976786d6.26.1728380968085; Tue, 08 Oct 2024 02:49:28 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6214:d64:b0:6b0:7204:3b2 with SMTP id 6a1803df08f44-6cb9013746els6517986d6.2.-pod-prod-09-us; Tue, 08 Oct 2024 02:49:27 -0700 (PDT) X-Received: by 2002:a05:6214:4604:b0:6b7:aed3:408f with SMTP id 6a1803df08f44-6cb9a326d09mr266087426d6.13.1728380966994; Tue, 08 Oct 2024 02:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728380966; cv=none; d=google.com; s=arc-20240605; b=Zfl5DCfWhGPXyJYwjfWvx9I9LfNOdR3IzfKxziYFso6b+nq/xhktXoaiBe1PyZWULN VsckQWTDHeigRj2qKpvTyo7x0JpgUup6P7HhHrG49zzYcKHdp6dfs4Cq3Hf8sPhTv8l+ o+st5wQfN/OpBZaddiChRl5m7Efq3HqFaerFnWPiCaEIQUs+iJCpBZEkc86Mh3ZbRZw0 H40TrWKjBw/8lkifeguHXp4yA2Lxvw/9e9XD6W+Yi+ySp9DpHfUfldrcyJ6xn5RLDJMs fyM6SkrITxvp4lhHGCu887Vw/ZbSYy6sStuIgNcd8W8luGuLUJrZZL3fMOJ5cwx/egIS Al3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=TuVN3XftoE2UJPJPY97cqzXXf/sVacHvikE2LByiZcI=; fh=jXKJ4NXmcq9ft/CXyj8cp7qMr3n5EHnvR/LYDuogm+g=; b=NjN/c1k4kXmwNyv4lUHKHoycnVVdsHOBUK6zk1taeHOZumE7OwwkJIi7i/o/e3OSzB C+9syj50GojycIwdpiD6E2wImXBZiIEwOKnnHvo/3MQEpAlMsuBEaiAkaRDDqyvx8aw0 ZDPTmfDERHo2LWC5YqqByY7nl1ZNJbH2PEjeG6aXLyTUeuji6p/YPfb7A98SSU+9ThXb Bo0nFrZT1SOaAzFFJ7GQbRKi9QXFcR1TOslxzJicbnxpL9WhP2/P6Jym0WUdPW42gmAd jqbXCfQwqqDus/+X4LP9Ns+AGcPZvOj/wmbzNdj1/2eW91gXG0VGXU/Ng5d4EGUMsxnt wtEA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=llGOmtIn; spf=pass (google.com: domain of fm-1326448-202410080949253fbfe9d925b0349182-2rxmaa@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1326448-202410080949253fbfe9d925b0349182-2RxmAa@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-225.siemens.flowmailer.net (mta-64-225.siemens.flowmailer.net. [185.136.64.225]) by gmr-mx.google.com with ESMTPS id 6a1803df08f44-6cba475fefbsi2560306d6.5.2024.10.08.02.49.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Oct 2024 02:49:26 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1326448-202410080949253fbfe9d925b0349182-2rxmaa@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) client-ip=185.136.64.225; Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 202410080949253fbfe9d925b0349182 for ; Tue, 08 Oct 2024 11:49:25 +0200 X-Patchwork-Original-From: "alexander.heinisch via isar-users" From: "alexander.heinisch" To: isar-users@googlegroups.com Cc: quirin.gylstorff@siemens.com, Alexander Heinisch Subject: [PATCH 0/1] meta-isar: Split deploy image script and deploy image in preparation for a target-bootstrapper Date: Tue, 8 Oct 2024 11:49:01 +0200 Message-ID: <20241008094902.24179-1-alexander.heinisch@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1326448:519-21489:flowmailer X-Original-Sender: alexander.heinisch@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=llGOmtIn; spf=pass (google.com: domain of fm-1326448-202410080949253fbfe9d925b0349182-2rxmaa@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1326448-202410080949253fbfe9d925b0349182-2RxmAa@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: alexander.heinisch@siemens.com Reply-To: alexander.heinisch@siemens.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Alexander Heinisch We are working on a target-bootstrapper to solve some of the issues stated here: https://groups.google.com/g/isar-users/c/ta0G_KGS_yU For downstream projects, this enables to not only copy the image to the target, but increases flexibility to certain comissioning tasks like: - Downloading images from a server/S3/... - Encryption of devices after image deployment - Enrollment of secure boot keys - Generating and uploading commissioning reports. - "offline" device onboarding The target-bootstrapper itself is not included here, and will be submitted separately, once matured enough! Still to bring more flexibility to downstream projects it is valuable to separate the actual deploy image logic from the service itself. Alexander Heinisch (1): meta-isar: Split deploy image script and deploy image service. .../images/isar-image-installer.bb | 2 +- .../deploy-image-service.bb | 21 +++++++++++++++++++ .../files/install.override.conf | 0 .../deploy-image/deploy-image_0.1.bb | 8 ++----- 4 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 meta-isar/recipes-installer/deploy-image-service/deploy-image-service.bb rename meta-isar/recipes-installer/{deploy-image => deploy-image-service}/files/install.override.conf (100%)