From patchwork Thu Jun 15 17:05:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 13281547 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABEBFEB64D9 for ; Thu, 15 Jun 2023 17:05:12 +0000 (UTC) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (EUR03-DBA-obe.outbound.protection.outlook.com [40.107.104.83]) by mx.groups.io with SMTP id smtpd.web10.24378.1686848708773762980 for ; Thu, 15 Jun 2023 10:05:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@siemens.com header.s=selector2 header.b=d5eDfAgd; spf=pass (domain: siemens.com, ip: 40.107.104.83, mailfrom: jan.kiszka@siemens.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K5rUrHqCu05WldUB0EboCRJBmiTytMWcyNK0TX51uW79JmjWKmZb3xRzQnWS41psNcCbfDbZyK1qAROMUTp+4nX1cQqAp60etFP7y/G223z2XtBgcYU3wtxFu1ohLJsw2j2rQjj1mqSUzLffDg2hx0QLKBrYttRcxRVu6zZ3/yjU3DlfkQJr9hyCaYb5CiTixI8/aGU6N50JlY2CMqgqDAnIcnlUrqNAqBGqCe0gsUJIDZjq33nqhi+cbLi3muEs/sveN+s+5JgqkuoeEZjSpp8L7OqHvj4AzDUZRSNcqvT9wbWzHfKfUnO7y8728/qqizg9cR/wWC+2rhnOjw0L7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=McfOVRTO13e6hnMyvl+4JTnCNF8gl6mDquyF11nf4MQ=; b=OfNqXhggIxyLWr/R68VjU+6xWaEtb3l0mPaIBz9whl4pRiGAOoMQlxgovaqERDzoQabI1ROg9JoTsvv8OHXit/RLY7YE4w9ab3BXhbGn7kdU5OIrS7XL/7OJxvyLBhuHAMwqVPZ26fcegW2IBkwmCAJ43KbXXiWVLYmt3TZ7Nq5qmIFvhgrcO1KgSpRlpq/YiMnDu4BJGganJ0KeWhb4WyiI30/0uAqJAv7e7dku939nGlDWBYwrCyBoL40KOR+HnDUdVLo3zk1gMkwkD9hwACX0A/nXfErE1XSP/dg6XyB4Y+fwv9xldwTyJ6IIBKdSYBa6DouYUmPo+Xz22fiyhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=McfOVRTO13e6hnMyvl+4JTnCNF8gl6mDquyF11nf4MQ=; b=d5eDfAgdLqcEZgZBt0D34GOKlSGXsapz7g8z5YDdPJ72dGQwWgYGfhw4JyLmc0owqD4Yv5A5UKufDmCyujPgj2s9bWofbG8ssFooVokYWcurnht4zsWUt4c/ydw+KaIZ6/lVtHYtZUUeUXw9U062/RZEaYBPoS6qVbfVhBgyQNf7ZHjrNW46fnz7btjaYWF5S3J5LkRr4k69QqYu3fdDCLeCnZyrmkFMDUNBltlqtsj9Qw+p3uedtmaj/MXr0v+eKS5iLqv6lAUPhSZ4Dct+A3dFKk6SQSvAwfWUTd6fpK2vdhsPZqavmNmGmMy+e0MMFg0+V8HaF/pGYlsyaPxoyg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) by AM0PR10MB3283.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:17e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.25; Thu, 15 Jun 2023 17:05:04 +0000 Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::53c2:174a:8b13:ce94]) by AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::53c2:174a:8b13:ce94%3]) with mapi id 15.20.6477.037; Thu, 15 Jun 2023 17:05:04 +0000 Message-ID: Date: Thu, 15 Jun 2023 19:05:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 From: Jan Kiszka Subject: [isar-cip-core][PATCH] customizations: Select EFI Boot Guard as bootloader in swupdate.cfg Content-Language: en-US To: cip-dev Cc: Christian Storm , Quirin Gylstorff X-ClientProxiedBy: FR3P281CA0182.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a4::17) To AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR10MB6181:EE_|AM0PR10MB3283:EE_ X-MS-Office365-Filtering-Correlation-Id: 5eb236b9-c33a-4890-8139-08db6dc2a9a6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JXsMCROrZ4mDPTqxY+t97AVboI14dHuWoOpOd49T4DBoML9zTuzv9jskUm8O5iR9TsbCDHR1fnHuzXDlEg8CxEQ/VZde3U0aK8unmmhQ8UGHNcvhi6n/reoH+kcIgo9TGI76nI0l59P23bBQ8e+j2J7QelggDJY0W3UHbGGKqUamKMidjlIlEI4x8qhQw6hm1bWacr+3S+i8ykT/EFoP3eLlosE2/f+XpQt4UkxFfTJq3kgbhyazCdvNeVwCcfWIRZJ8G33ziK8x+prrP4wlFZkbnv1QqTGpqnXyQQA+RFUVrdLnEdm3qJnX3l7woswAoHPa1/0Tvs65737eA3rLnq7fGEyQ9azqTn/5q199Z9YkImKUCjRRxE9BmNBzB5/DfYgqf39MYPeKYigZfzmwqByrpKeFkZikpjITyiRVjPvC57wnhbAWv4NUWd5tULv8g5/Gc+EBAhA7DZQ8yFKl9dVNvNsdp1ogh6DEHtT+oMnYWgKny5xgXhXwiYBxlOeJOAxtX5/lwk/Jyu6acnnGWWobvAJNx6OwtqxHKYdaaYw2gEcGscNYqSiw9hXU/iM0Q2X5BmR0yZKnpPhqHEmNvj9B6Jd+TJ8cLzKbCIzu7JgqOaij//HFf7cmTeK0+Pe646rQc3xT18vxzEEPguahwA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(346002)(136003)(366004)(376002)(396003)(451199021)(478600001)(82960400001)(6666004)(6486002)(38100700002)(107886003)(83380400001)(26005)(2616005)(186003)(36756003)(6512007)(6506007)(316002)(41300700001)(66946007)(6916009)(66556008)(66476007)(4326008)(44832011)(31696002)(86362001)(2906002)(31686004)(5660300002)(8676002)(8936002)(54906003)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?1W5BJSJQfN2+q91vIKdOO2eCniWZ?= =?utf-8?q?coVgEtOYdf+C4fDEI+8RDt67M81XK3sjeiCn+8DHbFeA2Ow2+jSCvhikD4jVMdx96?= =?utf-8?q?2YtuwslUGKyFo773yWv4Bce3GH5OcheERno8JFYSo5sGulTn8/b5FF0QzuSgTPRM+?= =?utf-8?q?xRdea8o0RRG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jM79VEZlaqsWam/xVmlozSNC/Sh8OK5kVR1opGHCr3GKkkRmgvlS3vItrlIZO?= =?utf-8?q?bUEirItO07ZB+43kR0fdoLYQJB/87oTTq3DXcpgr7pz/fPAXGPYwtmTr6+SfCw7pC?= =?utf-8?q?/M5OjejMa7kOu5DvWM33F/gJUqZdKpBmW8zViaV7+edK5SDw6k6hhGn4oF6tqrePC?= =?utf-8?q?o8zCZnyXSKeKUA9qp2yzTr6AYO9Dk/6XgQpQ9/U/+yWSYbHFPV+X6w6ToKE/LA5lr?= =?utf-8?q?2/qDDDtj0hFimb3npO76PsFE2k8f9xo0h/l5OckS7wlH0erjY8bGiBXbWpf/iHVL+?= =?utf-8?q?sDVsmZu0wB+jXp2XWovetstL+umCcUPBDkGpakJn/6v9XkwPZD6A4AUZs2daLTWoy?= =?utf-8?q?+dMkEmT9uoAHKvRpOY1cto8bMZE7flGuX7XpuAX/RttKQYelFrYMtEvp7LLUejIXG?= =?utf-8?q?3lDfNKoTTaSbj7dRZjmk5ImMAfZvb4PHMX+VB3SD+dZYKXDpNyLsgUkr0yZnRgsSW?= =?utf-8?q?yZJFEs8JPw6fhylV5FFhsWddLw7F33T9cg=3D=3D?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5eb236b9-c33a-4890-8139-08db6dc2a9a6 X-MS-Exchange-CrossTenant-AuthSource: AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2023 17:05:04.4496 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gFML5EJ+EUCv8871x3Mug6CXw+Kpob26DKuZtLosnKaoY5Aeei19qKGyAuqIVJ2m02xca9TezNYuanPjDDzr1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR10MB3283 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 15 Jun 2023 17:05:12 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/12065 From: Jan Kiszka This is now a runtime choice for SWUpdate 2022.12 or later. Signed-off-by: Jan Kiszka --- recipes-core/customizations/common.inc | 6 ++++++ recipes-core/customizations/files/swupdate.cfg | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 recipes-core/customizations/files/swupdate.cfg diff --git a/recipes-core/customizations/common.inc b/recipes-core/customizations/common.inc index 93f2fbe6..680a4d64 100644 --- a/recipes-core/customizations/common.inc +++ b/recipes-core/customizations/common.inc @@ -19,6 +19,8 @@ SRC_URI = " \ file://99-silent-printk.conf \ file://99-watchdog.conf" +SRC_URI:append:swupdate = " file://swupdate.cfg" + WIRELESS_FIRMWARE_PACKAGE ?= "" INSTALL_WIRELESS_TOOLS ??= "0" @@ -40,3 +42,7 @@ do_install() { install -v -d ${D}/etc/systemd/system.conf.d install -v -m 644 ${WORKDIR}/99-watchdog.conf ${D}/etc/systemd/system.conf.d/ } + +do_install:append:swupdate() { + install -v -m 644 ${WORKDIR}/swupdate.cfg ${D}/etc/ +} diff --git a/recipes-core/customizations/files/swupdate.cfg b/recipes-core/customizations/files/swupdate.cfg new file mode 100644 index 00000000..9ee47c73 --- /dev/null +++ b/recipes-core/customizations/files/swupdate.cfg @@ -0,0 +1,4 @@ +globals : +{ + bootloader = "ebg"; +};