Message ID | EB2E94CD-0560-4542-841A-6DA3F1E4BBD2@siemens.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBDD6BWV65QPBBW7BZGWQMGQEKJICRVQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=NMG9vp55; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2001:4860:4864:20::39; helo=mail-oa1-x39.google.com; envelope-from=swupdate+bncbdd6bwv65qpbbw7bzgwqmgqekjicrvq@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-oa1-x39.google.com (mail-oa1-x39.google.com [IPv6:2001:4860:4864:20::39]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TLNZF4N9Gz23f0 for <incoming@patchwork.ozlabs.org>; Fri, 26 Jan 2024 01:32:04 +1100 (AEDT) Received: by mail-oa1-x39.google.com with SMTP id 586e51a60fabf-205c90a36a3sf6946158fac.1 for <incoming@patchwork.ozlabs.org>; Thu, 25 Jan 2024 06:32:04 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1706193116; cv=pass; d=google.com; s=arc-20160816; b=FXpfFh4s7cdOlmBCmDnweybyfz6TNQVxneFxFPl+LOPHjepfIFRt7rlirzgub83/YP Cf1rFQi8+GlA71p+6B5iTAbD9G9YhekYEZmeB2b0C0AGo8jBwN5wSVRCHY+6JD59SG8n /zNWPusUT8my8tMoOF5e8WrKYkgTCa26ZCtfMFnYkI3oC+DoiQWA5DyZoUewwnOyqJub pHrry7rbINDw7OGW4OXFe9friD8I8VaHGHjJSKtO+nXKViY8condm1e5GAbujtQSnTbM v3+/r7Sjr2mYDqK7X+jUz0nRY+qi8vMe2cYsFJK652QYsByvcqzyPzOCYTSqPLV/7Ip/ OkTg== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:content-id :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:to:from:dkim-signature; bh=n+CAgQ0HXzlzKLZrHFfMSoOKUfggL9cXT1VuFoyoZUw=; fh=ZnR/GV7fAozRX3tpIO3vp/Jbul8ISZhdVjghlw9eWq0=; b=aq/PvIO9xIs3ntdsZ4RsVorl7KbD10/wrwlDCKJ+EP6LTGWFqrwL3fvAUgQdupS7n7 BwVsuhwqamDrMscWN0hIQ0v+Un/LcFYWkS/YhVDuU/VA3CmYjDr1isCIQ2NlF3IHYuG4 H6rcEJRllNbCw9qo8bAVD8Yx20F6Wos8js6kl6wFdQZNR6PWK2eZN/RtdQnac9FzDM1u yBgwIHKH1j2yafNk9aLB76ASINguH+2iRYHqCicVQ2Zyhpb4r0/IvqlbN6fguDiCXVwP vwZnt4a0wL/L8K0NXcHbdfzXxIuHs6Mm4+is1ZTWLWpVptsBYhGD7Jk8En6uqFSHpTDi WYbw== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=JJIqEi8m; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:7e1a::616 as permitted sender) smtp.mailfrom=christian.storm@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=1706193116; x=1706797916; darn=patchwork.ozlabs.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:mime-version :content-id:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n+CAgQ0HXzlzKLZrHFfMSoOKUfggL9cXT1VuFoyoZUw=; b=NMG9vp552YjM1+tlgLB/sul7jTfbbiyRbP0Du9XVos+9cwhYsYXIsLIi5lQu0fXlfT L4gETWEIxtagALaCcAFPUdATik1fikuKpaqYUPfS4AWrsJqtaN36tPvmQomGmg/AsH3j dzCH8g4KGULIcYFvyaWbrxgdfyHYkNzSkEYw6modSzOZbM5Et1sZOtA8jek53OIXEJxZ Wp3McJrgNqGzjGJJiy2wpchd+uOIQwmklnDBonxiV+ZcBtaQ1ZTYmnff7fXo5rp+9W0Z N6U41dmwhJ3MB12nOB9xnFH1U+U4qmK2pZm8ycVXckYYLorgv3lyMP5z7wEv8dmDfCtr yv2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706193116; x=1706797916; 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:mime-version :content-id:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=n+CAgQ0HXzlzKLZrHFfMSoOKUfggL9cXT1VuFoyoZUw=; b=ahZpA4AYUOQVDDscy42Ou4d7tSRKb5iHhiOkLABi+ZbS+7z/zF06NmcS1+JQbko3Xt jklGNzJG+Nwhnlea0/O//YuQq01dukW5QIgcS8jSErd/sJxc3yO1hMHWOPP8USEfcega 5TJNIQOuJakBERnZVy1VT6fF+q1r46A1jZ4b7pNu3bGAMAL4y3I/eIEVoCt+db6+6Lqs c6aJghU+Xo9rm8i4XDWzZ8Fo6o6h+D7tCzfIHvLMUiUtJ1EAfPGNWKY51wZl8SGupYBp /W6Pam9w8MAGr8ZFWnITwpdH5IGjfhVvmWlwrstMa73RwufW+cPe+c0ZrPSfWIrtJ871 2MfA== X-Gm-Message-State: AOJu0YyW8Cn4yFYaNMYwVFfO5cCCrk/Xz69YlOnff476DnWjf4qQTGZL vv6LGusfypA/0xTZwtJRlXyXj9iao+1V+nvZ9mQVVT+JpJFVLQ6I X-Google-Smtp-Source: AGHT+IH4lZHmVQ/eou+ubLzcB667qoon9ZZtGQp9q+opSqwnB8ULoC4GHuxel0ktKrSM/Y20Uiv2jQ== X-Received: by 2002:a05:6870:d188:b0:203:6ad5:5a48 with SMTP id a8-20020a056870d18800b002036ad55a48mr885504oac.109.1706193116360; Thu, 25 Jan 2024 06:31:56 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a0c:b345:0:b0:67f:744d:8b3e with SMTP id a5-20020a0cb345000000b0067f744d8b3els7522059qvf.1.-pod-prod-03-us; Thu, 25 Jan 2024 06:31:54 -0800 (PST) X-Received: by 2002:a1f:738b:0:b0:4bd:7aac:281d with SMTP id o133-20020a1f738b000000b004bd7aac281dmr434227vkc.2.1706193114718; Thu, 25 Jan 2024 06:31:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706193114; cv=pass; d=google.com; s=arc-20160816; b=WdSSMoO9yeBbAqFlFFoD8OlblV18xxkL5EcVew7/W4nk7BTuXygllbisDq2INsQF2s fiMIs6ZXxvAIWo8KBckGOO5eydu8p8izb2NBFYb36W5MNum6P4+T1Dgeu9apc9ZLwU/b cEfe5PbID+1JjDvqcmpU5W25HgZ3FvrPuss6ZWWd8J1vjz3o+r/t8IseJq1RjRM4aZC9 BsrmNEVDDRYGGteOlqDuzVNamVJbrKkf9ZRcomRhdr3+3ReQcNRL0KmpgWMvECVl2uD/ PzlBB6pVHKHqYK/yDNoGZtut/h3HeMYe2ZXl2srVEQvG0TWFNbEKbanNMu81sJFUZC8i qgig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-id:content-language :accept-language:message-id:date:thread-index:thread-topic:subject :to:from:dkim-signature; bh=cetSocNsfbPO7Dy6BgXrs3oJ1RE0HJ56Qq+9C9n4rNY=; fh=ZnR/GV7fAozRX3tpIO3vp/Jbul8ISZhdVjghlw9eWq0=; b=CrW/ja82Iiab/1S9AuQOe22Zsca4Pd6Q9HJyYz7ApzipWvJfdDAo02UBvqZi4YfWOt mNAbNizIUuhJrrwSfinL6+nWUgxU9UYYnRYV04ZGWOt7JKFdPRF4nWRoJBxGgPQuW/bB C5ChCfgS7JRCgWNg6zk7fhC1K7bKRm5h61+srIXKhKvUNKb90w6vi+65s7bqUypXIcIC ApuGUEnt+Kom1F9OFt3iSNaLzYke1Jg/96GKLMSdR9syIjQ5Kkp891TsCnUFMAQi0LbQ ORHZNms0ZyV7KiIERt71jnWqPcgvnyqsEvrKixbWnX2GILKsUXA4MpQm8SVTVzgCl4pQ sEHg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=JJIqEi8m; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:7e1a::616 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20616.outbound.protection.outlook.com. [2a01:111:f400:7e1a::616]) by gmr-mx.google.com with ESMTPS id dt13-20020a056122360d00b004b71e52abc3si153491vkb.4.2024.01.25.06.31.54 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jan 2024 06:31:54 -0800 (PST) Received-SPF: pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:7e1a::616 as permitted sender) client-ip=2a01:111:f400:7e1a::616; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BhodZBm+SYmNZfSxKo5oyyFZ3fx3neJkk257BSG7e+QVgnl+n7SlffJjaWYgNHUZgM8rtiUzYoFEk889B5KlIhGDSf+HXhXlpZLCExC6gJnz0dRJD0MoHUfdaIwT8KmuZB5uwsmiqQ++KqNRUxc5KGKJeEARQZjlp+++5czOx5vIRiqj0APmHQOze3XQ8JXl1T9a/jkWFcsBIaGLa4qbrw17IgI9HpekIqcDiXJwL7gaf0yKfwQmGUqSdQIea1sRfMI0Y6qlBC8Yz73ZNbZ1zpL+lfv47emUSyHAzZx/CDv8jiX+wPxIjm9YX3beNWrIbHPgk8Am0BnoyNkiAlvEKQ== 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=cetSocNsfbPO7Dy6BgXrs3oJ1RE0HJ56Qq+9C9n4rNY=; b=BkHDLW5z8ZNyd204lb9Aj/OXKO2Um35bozW0YubLqnzId1UNUE5YHqo2iNvtQ3VOIRRMAilE3NXaf6DDQM1HNkQaDPik3VKGhwwhfwjpGRIQU7YkO5HUm6ieTL2JwgKqM5G9aPwlva1Yt1qIMkoqhPsbXCG/YxhiEckqUfJ4O9LVkyA1nZlLeZQaMSs9PE7s8hi3HrZqzNmxF4Ev7XLcHN7MejmFdZQYKbvXodttMExSeA5dsQp9Zcy0dgvUDtjulI4NJDlu0cfewOj1mn57zCfFjSKnL3WFVKV4scSRoVhkA4cxlsLcNvELvFLtNwFhmte9MH77AQ+KDOWa1xjY+w== 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 Received: from DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:333::17) by VI1PR10MB7716.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:800:1ce::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.22; Thu, 25 Jan 2024 14:31:51 +0000 Received: from DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM ([fe80::3145:d77a:1976:e89b]) by DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM ([fe80::3145:d77a:1976:e89b%7]) with mapi id 15.20.7202.024; Thu, 25 Jan 2024 14:31:51 +0000 From: "'Storm, Christian' via swupdate" <swupdate@googlegroups.com> To: swupdate <swupdate@googlegroups.com> Subject: [swupdate] [PATCH] Use portable RB_AUTOBOOT for reboot(2) Thread-Topic: [PATCH] Use portable RB_AUTOBOOT for reboot(2) Thread-Index: AQHaT5s8tG3lO/tqS0Cq13X4065flg== Date: Thu, 25 Jan 2024 14:31:51 +0000 Message-ID: <EB2E94CD-0560-4542-841A-6DA3F1E4BBD2@siemens.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DB9PR10MB5404:EE_|VI1PR10MB7716:EE_ x-ms-office365-filtering-correlation-id: 115902f4-5ef5-4f27-4798-08dc1db25f38 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 89Q2asj9cIUc1doMVIOxij6TnxLUM+LjDDMx3iFEFvPu7MTeb2xbnXLpJ8fiYA74Y3PBo+t+Eqsf+LG0ZSnkk+3ZAqoWkI6ZRfrmTTydKcmajHi53oGY09yOoSaWXFvEXXZVFoOaxdjmfZ7KrkEBjsXKmdEKPlNMTKJBXzCCdUwQYSIQfIUU1cgR7yTtUjKbZARjtc2tvJ0OxA+5TCZLUDegf+V9hvfMVF1JlSbvwB1c+BuWTl1H0yv8h8egktAqSueh/Cy7HcW6yj11VV5LHCOuxAJdJ+EVbjeo4aq39P3iA68Cwf+ffKFXHutQlTlcA2s3X1qf7vaPcINhiEacOk1nWi8pAMxulrU39vqb/67qgBcsjJxiFfYpyTKQInLorZigVRRmjg9GwXOTFxql2i3WisOyipyxqbH4LlZGs2mxINqbQ35jtt8REI9arqRYNUgTRKZwg7Hqf15Y8WqfzD4AzDFTjXCbgxQ/pjUoI9DiQSRTt0PuauPNLzeH6+IGc93tByldh80/RU81y3L0OT0KDrfr2rsRuUI5KhJW9wqGALmuA8/4t4R02YVb6Ew+pWHRIprQ9TWBlxBoSOzIaa0CEYnlTE8rpou1UqbswOiXH/biL1AdYySWEn5xoWLeRmcqVt1kBEgFaPvY68KaOQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(376002)(396003)(136003)(366004)(39860400002)(346002)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(478600001)(5660300002)(2906002)(66556008)(66476007)(66446008)(64756008)(66946007)(8936002)(6916009)(76116006)(41300700001)(8676002)(316002)(38070700009)(82960400001)(33656002)(86362001)(38100700002)(36756003)(122000001)(26005)(71200400001)(6486002)(6506007)(83380400001)(2616005)(6512007)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: RPI8vGaa+GfK9GvX6PlFyO/wNI/mBnhGNGt2sbHcCS37ae8vISmIljT1oLydONKZZl2FhHPHxaWm6eXJhYVIwJyB3te6Lx8yPZi6rv100of8eVqHkKmFh/sQp9eJeY2kYX9y84emsFAxZgb2srypxY8nNZDp6QQNU6910V8MOvDs7FohuFQtuMLQLFsc7rUaPV6SHLCVGOtUF9ljhZB4Kmge2pA6CmkY3I4wZNbg22yCD/PKR1viC5bsrjz6pJ5tW1BB7BjaQcJopg/jmPD6jTXgTuOdMk3Ead5U1VecE7pKW6u3SV+MfHne4SvVKEWwAPPT6UgwOW2V5AzvPpgGihzZJN6WhfS5KD+1Jl86akeRzURUI2QTgcn9T4uR3QKLd93t8SN8UyMOTuVcUR9c1L7EHtGoncqpEP7CDkaZU4u6lPe39c74TnJROxp+olBO/0Wyg0flHyQpdsFtnidR1Q7YimaOQ/IVuEeK65KZ5EMWiu7XAYfuZJn3nfzkeiVRs5kwtnLqu7E6coueZUWQFR4PQD3/jyHWaPRw+oKao3nmZjdO9D4WT8nulcYLF0Te640KCfSu+Ia28oKYD4S1hRvgBcy2KjinH/BayoeHaQ+QfN1QpivSKvEcjBejwAG94oDMy7erejgnU5n4OMy5EFESch1vqdhUoQ9Horb1tF+noelsbh4U/I6cR6ACvTrND91QlTXQjfjxLR0yZ3MjHHXc0ZIHJkGB2D0m2g7OO4mQRtd7ZDGDKHwUjhkELNCNoD05lbUHzJOtdN9WWdgrEk1GCIqRzaHTIbKPvI4YWIlCpsX3mueP29fM+5YaAPtbANsacsXl0B3UZBIFk0a9NuSP/y2Y2Zgf6cj6A4KolSX7X3B93c4G0LNduojCZuY+lsgLDfuYL4uAgK3RiMX2/n8xCtsOEhk92YQGH2Oz/oJFktmw8Pbw6XuUOb5AG3zemyBAZCGbyZ5UWX23DUDiX1bKNel/EAvdYzttBc3UN6EiUB6KgCN7pcmOBGAJiAHazwP+EmYKXg4LnRSrlxWaEmARDhCyXnZY2kfDm2m8EEEDsZt+tGVnkEJ8t29dU3Cb3n7/g89AHOnBrvIW7dfmOlroLjSmIryIiNnkwinxcKnsO0P706VZ4anPO0mVJVznvZE9C0aADKhrOE/Ui1vG6rxgu1pcxRQdXFz3nWPMzJlPXXnMHREKHv+7IL+ISQfnWkdxtQYBWQAG9f85qHr0OqUrZvgl84DJeCOBZpiBSVh7bS3yjV//trNpZecqO7bKStfLJSXtc4bXOX68adascKyZ0enkAOiiQZBckN65gUkyHRlrnCBEazKwvPAOk+76e/2bvSKskuAFg68yDJvHL79zdqJtcaD0jXWzk3KHT02pBdbvkRc/Urq4T+m8weaYsQUEMfffuQxLtnvtYvBf6uZ7tKE20kQEzxrJMOuIV2xiMDgPpXgUsMOcDIQVoBxm4Fa4E3bVAoA+yMt7syL0mXuVkpFcNsKcjrmS3AyyTl7r33YznkGEaSA3Lwgxwl2m4AYXT8N4q1JyHSUiFdLW7v9w94lxHZ9ym1YWzig6RyhYGmlX4Kd2sCX6FfqYHIry1dbdQK8ejfHqHf/HRWMT6Q== Content-Type: text/plain; charset="UTF-8" Content-ID: <A5C1048218A5F5478D2FF08EC552EF3C@EURPRD10.PROD.OUTLOOK.COM> MIME-Version: 1.0 X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 115902f4-5ef5-4f27-4798-08dc1db25f38 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2024 14:31:51.8230 (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: BmAz9EMXxdUo88s27F3Za39qqYoZPDgU0X3JGbc4RRy5CtTCd20Ex6gmf4d1Xrlkt7MT4F+JyvxydB8OyYNOyOPdqA0/YuZxD2h9QZ0Gq4M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR10MB7716 X-Original-Sender: christian.storm@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=JJIqEi8m; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:7e1a::616 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: "Storm, Christian" <christian.storm@siemens.com> Reply-To: "Storm, Christian" <christian.storm@siemens.com> Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
Use portable RB_AUTOBOOT for reboot(2)
|
expand
|
diff --git a/tools/swupdate-ipc.c b/tools/swupdate-ipc.c index 2fd759c5..2343ba6b 100644 --- a/tools/swupdate-ipc.c +++ b/tools/swupdate-ipc.c @@ -24,7 +24,6 @@ #include <sys/un.h> #include <sys/select.h> #include <sys/reboot.h> -#include <linux/reboot.h> #include <arpa/inet.h> #include <netinet/in.h> #include <ifaddrs.h> @@ -647,7 +646,7 @@ static int sysrestart(cmd_t __attribute__((__unused__)) *cmd, int argc, char *a restart_system(ndevs); sleep(5); sync(); - if (reboot(LINUX_REBOOT_CMD_RESTART) < 0) { /* It should never happen */ + if (reboot(RB_AUTOBOOT) < 0) { /* It should never happen */ fprintf(stdout, "Please reset the board.\n"); } break; diff --git a/tools/swupdate-progress.c b/tools/swupdate-progress.c index 8aaef069..d00b3365 100644 --- a/tools/swupdate-progress.c +++ b/tools/swupdate-progress.c @@ -19,7 +19,6 @@ #include <sys/un.h> #include <sys/select.h> #include <sys/reboot.h> -#include <linux/reboot.h> #include <arpa/inet.h> #include <netinet/in.h> #include <pthread.h> @@ -194,7 +193,7 @@ static void reboot_device(void) { sleep(5); sync(); - if (reboot(LINUX_REBOOT_CMD_RESTART) < 0) { /* Should never happen. */ + if (reboot(RB_AUTOBOOT) < 0) { /* Should never happen. */ fprintf(stdout, "Please reset the board.\n"); } }
Use the portable RB_AUTOBOOT instead of the Linux-specific LINUX_REBOOT_CMD_RESTART. Both are defined as 0x01234567. glibc and at most other libc implementations define this. Signed-off-by: Christian Storm <christian.storm@siemens.com> --- tools/swupdate-ipc.c | 3 +-- tools/swupdate-progress.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)