From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 08 Dec 2022 13:57:18 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1p3GSk-00EleA-7w for lore@lore.pengutronix.de; Thu, 08 Dec 2022 13:57:18 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1p3GSj-0004Nf-RF; Thu, 08 Dec 2022 13:57:17 +0100 Received: from mail-he1eur01on2081.outbound.protection.outlook.com ([40.107.13.81] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p3GSS-0004NN-Vc; Thu, 08 Dec 2022 13:57:01 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QugOBaBrum9zBUNa8GKW7fggs1y96a/Q8XJU99YGCP/YSWZ86KA/qpt3g7cYZGVqrlw4ExwJ9LphYvgTbVB7r4X1WqWPbBsGuVE9vxQgejKr6GUob7cVkPJfLXmE4D9w7zyRR+Vwip8zjPMMl/SYi+W40cadp/qWlGG6VSb+OZjHNMC0YNs+9jEPgLrfFbNXT6DT9jIpx21UDzygedUV+R4HkpGVnF39UjK2XqXeOCRYBCSIEW3tD0XLU5Wpw9LW6QBY83LfsJZ8dtEJSnjTJ6OxZ4lYs2vzyTqyXEROF2KyRF7GCXx+RcLyFIKClZPjtKbUorWbYMNlKLfQmC/68w== 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=hO+8RzegKtacP4lLQtcTiL6V8gOHAxrMh2bHYWG7PIo=; b=ZkXcVyaSdWrNzci5Svm1xjnMKUdO+oxzdDI4afPN2WpVSRPeN1epHtB2uxTDaTuEFwIh0/1UadtkoNNAFEP0TjvSnhKCOYdk6J6l7KBBjYvFxciE0d9o6T9B7QdBBAeFWiD/AkOnHy9X5iHg/QD/I5Tg447nn7+ZI0CpSy6NyTPZi/6oJVF4C8y1VPrxUCuDapIowhBp/sLMqW+eec+ZSwm2nyRoHtCn/u/u9Fa8aCLzFO8LiI9AY0WLi2izI0li2fy1cB7rLVyEay+qhqQzxp8ZgcuxQy7X1JLbgK17KSTLB2nzv072042OJyBg2Ppeas85ZRTg6atkcP0SMe6OIg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hO+8RzegKtacP4lLQtcTiL6V8gOHAxrMh2bHYWG7PIo=; b=XH1TPGaZ9U5WgyDD9lpmEz2i4SAzU8T9Y/DPFCcwSxQm+OHLORLv1gxdAPBSzHJoqCv+gpQTtWZ3E/prZM2R1mqJk3fqfsVYDEsC6wmlIF9CE0PJmIza48WTK1K1p0BgXMxnw4R+0UWDX0o4yn34Gbpu5NtxyMB1guaQQ/n829Y= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by DU0P251MB0801.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:3bf::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Thu, 8 Dec 2022 12:56:58 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::2f48:1302:d0e7:6a3d]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::2f48:1302:d0e7:6a3d%4]) with mapi id 15.20.5880.014; Thu, 8 Dec 2022 12:56:57 +0000 Message-ID: <039a94f4-1806-eb36-596f-e82d7e7e26bc@t2data.com> Date: Thu, 8 Dec 2022 13:53:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Content-Language: en-US To: Philipp Zabel References: <20221208123847.1261596-1-p.zabel@pengutronix.de> From: Christian Melki In-Reply-To: <20221208123847.1261596-1-p.zabel@pengutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: GVYP280CA0023.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:fa::26) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9P251MB0618:EE_|DU0P251MB0801:EE_ X-MS-Office365-Filtering-Correlation-Id: 86c889d0-b15a-4cf0-b0f1-08dad91bafca X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jGuHZk5Hyy80wlu4zKu7e1Tr6FEOjcFHfqdDJ/RYAcMeYboExoFD4QfJ3Ge37ZGq569Q+cEOm15Sq3GrLX6cvnvcFZjlU3q9zRPMbwcWCauIKQcAuvVGr0E76GWImDR9nzgp4pPDZIN/vOdbXfo+j75eaWGPjRo5kOhJYXp/8qWXdO+xMvtAE8lfa9wMRrUtYwGUYCEsVlIE2ksF4QQl9jUALXcUCFChIo3UBMWhQPG0Q0sM8REZ8yzSUrytwMuaYGbbY5NPJYVM53th11tGyvfFTSWlo4pE1iDfHKy9ZM8sOxL45tT9jEyJxUPFXOWvjvHAaDthh3X/LespCfXBBXfpidrGKxn3qeEI+nGTnSACtdEgXFqopMeIBDrj3RtuEa4k7xgGOx/Cq7CtR8OVAJqk9/AKJ0KzrA8vuHxyw9AERRZcSHkRd241nhmu4dajF/5Bwqdiwz7znIitUp6SOc4Hn/0TSvGT4/c7JFunNEpDgUvwi50nkdJFD/HOp3SiMf3I6W4rADtLjoWtA2Z0RXIf3LlQ26O21/yAee7/DADE2PL9F4vvm6F+XOpb0Z1zA1CmmLCHuEj9RUIJCESN7PSwo+V14ljyABXblfB1oSaFgtA2b3A/Qs1xZjRrbwRABi4qmsPqBwCcCqOHY0WKKSo/7ZmxpDs/NMqEpXFOJluirRkjj34CuTNuH66hhjvne+LpImTaleoDUkNpoeYdLpxK0O5Jc9PX4uqug140TzU= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(39830400003)(366004)(136003)(346002)(396003)(376002)(451199015)(66946007)(450100002)(66476007)(31686004)(66556008)(8676002)(6666004)(38100700002)(4326008)(478600001)(6486002)(186003)(26005)(31696002)(6916009)(6512007)(86362001)(2906002)(6506007)(83380400001)(8936002)(41300700001)(5660300002)(36756003)(316002)(53546011)(2616005)(44832011)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TVRZZXNLckRvMjFNcFlDRzJjQ1NNYTMybGtLMWpNa1czemdsakpkNG80SU5P?= =?utf-8?B?dmVubjR4dHBOaE5uWDM0VlhOalFySmNjM0RoalVvUlZrSk4rL1pkdHFkb3ZY?= =?utf-8?B?SWlOUUQ2Wm43SjVHTXdIb2pXMURweGxQZHdhNT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hlcnVWSG1DUDVJdUs1c1pHNS9pVlRaTTdUaTV2VkQ5?= =?utf-8?B?d29qMUFrZXJHV1krT1ZSUkdjOTNRa3hZSkw0eDdNamdGeU1GUnBjRzFTTGR0?= =?utf-8?B?SE00by9MK1R4L3IwaGpkaS9yWFAyL0ZjeGduekRiN1l1OUV0SmZ6MEV4dmNj?= =?utf-8?B?S2c1ek9rQnptOEJkRkJkM0d3M2VaM1diZHpFcjFmYVVFbzc4a2RLS3hYdmNN?= =?utf-8?B?SVE9PQ==?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86c889d0-b15a-4cf0-b0f1-08dad91bafca X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2022 12:56:57.8153 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: VjDpbth/iEuFw5mGJMufuYvG7FpqmC8Ueny+oaTtUpelHSJsN7FUYJ/rxsgCfwcefg3xF02C0EMfexoKZgV8UUzarr3IPTDj5ada7OWRZOQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0P251MB0801 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] util-linux: add an option to enable rfkill X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Hi Philipp, On 12/8/22 1:38 PM, Philipp Zabel wrote: > Add a configuration option UTIL_LINUX_RFKILL to enable the rfkill tool. > > Signed-off-by: Philipp Zabel > --- > rules/util-linux.in | 9 +++++++++ > rules/util-linux.make | 3 ++- > 2 files changed, 11 insertions(+), 1 deletion(-) > > diff --git a/rules/util-linux.in b/rules/util-linux.in > index 429473404a14..bf83def65f42 100644 > --- a/rules/util-linux.in > +++ b/rules/util-linux.in > @@ -468,6 +468,15 @@ config UTIL_LINUX_READPROFILE > comment "BusyBox' readprofile is selected!" > depends on BUSYBOX_READPROFILE > > +config UTIL_LINUX_RFKILL > + bool > + prompt "rfkill" > + select UTIL_LINUX_LIBSMARTCOLS Looks like busybox has a rfkill too? PTXCONF_BUSYBOX_RFKILL > + help > + rfkill is a simple tool for accessing the Linux rfkill device > + interface, which is used to enable and disable wireless networking > + devices, typically WLAN, Bluetooth and mobile broadband. > + > config UTIL_LINUX_SWAPON > bool > prompt "swapon" > diff --git a/rules/util-linux.make b/rules/util-linux.make > index 0afa9ecdd938..c0f2dab369e4 100644 > --- a/rules/util-linux.make > +++ b/rules/util-linux.make > @@ -116,7 +116,7 @@ UTIL_LINUX_CONF_OPT := \ > --$(call ptx/endis, PTXCONF_UTIL_LINUX_IPCS)-ipcs \ > --$(call ptx/endis, PTXCONF_UTIL_LINUX_IRQTOP)-irqtop \ > --$(call ptx/endis, PTXCONF_UTIL_LINUX_LSIRQ)-lsirq \ > - --disable-rfkill \ > + --$(call ptx/endis, PTXCONF_UTIL_LINUX_RFKILL)-rfkill \ > --disable-scriptutils \ > --disable-tunelp \ > --disable-kill \ > @@ -238,6 +238,7 @@ UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_MOUNTPOINT) += bin/mountpoint > UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_NSENTER) += bin/nsenter > UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_PIVOT_ROOT) += sbin/pivot_root > UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_READPROFILE) += sbin/readprofile > +UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_RFKILL) += sbin/rfkill > UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_SWAPON) += sbin/swapoff sbin/swapon > UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_SWITCH_ROOT) += sbin/switch_root > UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_UMOUNT) += bin/umount