Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2493169rwp; Fri, 14 Jul 2023 07:04:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlHcok6/lyHWvNvAXYi1zBmXVPZGeiLVtq2lRSVAqX2pJJyvhUuZDyhX8F09ejvQbMBQUT2n X-Received: by 2002:a17:903:22c5:b0:1b8:aded:524c with SMTP id y5-20020a17090322c500b001b8aded524cmr6091543plg.1.1689343446084; Fri, 14 Jul 2023 07:04:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689343446; cv=none; d=google.com; s=arc-20160816; b=g5NZnz1kY6NCq38FufbUh3hiPmI76h4jMASYtU+3kngJZbDUJMk7WTLrp+ekusSgjN wllCoVkP69+mKf83oVjqCYKtRTpszNQlSBQ14litPGITlXmO7ej714r4L1jH2GQdOVzS JaP4jwAdszcUeSjp+zZr9F/EBnDZVmxyk0W7zl6SBidasUFKnu9O/S5XYnQiclr8DF7r 1fr1/mWlM06RTBkF/ahQ15GBQc2tVsxgMDG/RkW2J7zB4zuzGxd2hQwFudBuFR3ZjOom n+B8oTKaHR8CjU4t6mjGNRqP4nFxJjRcOaSBininpOAFrA+VaUcbXl8uXlZBwJEByPBC 9TiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=971iQ9AGUSNF0XgKLALtIXjvlYcq/Akq7wgISeHEfjI=; fh=Qtag724ph/G9omQ7KKmvOsCnlvQXSZe63lcNvODtktQ=; b=Qu0XMzclcj2qnRDV4idA8PBF+O2Yqsc0iG9wMo0wtF+odK3DpwowRvRUyZe+K792el h4jN8VILd4Yp8pX1w98FE7KF7uJfcEJ/i/WtxL4hxb53YRJC31OEpQiMJF7nDlzxL232 Uu0VFP+jbOkZJwUAkRFnleZLFITuJmpu0DNlV2vnlq/i9RFu2mkNopq6xwK0EdecljA2 L/2WFFTFLJrrK5YnQe0q+SzHaVCs5v8Lq+MdhnaRq5IlSsykmDGTkS3UG0Hdz31sntEf 3ov5HSS8ZNB+91GMIIdAIKA3t8Swh5Vur9x30CLSYIfv2xfFA7NMJInLhYpkYk1GVw/J ZUjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ahegt4WZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p11-20020a170902e74b00b001b9d2010c39si7790382plf.192.2023.07.14.07.03.53; Fri, 14 Jul 2023 07:04:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ahegt4WZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235872AbjGNN7X (ORCPT + 99 others); Fri, 14 Jul 2023 09:59:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235849AbjGNN7V (ORCPT ); Fri, 14 Jul 2023 09:59:21 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD5CF2708; Fri, 14 Jul 2023 06:59:20 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 66682220DA; Fri, 14 Jul 2023 13:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1689343159; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=971iQ9AGUSNF0XgKLALtIXjvlYcq/Akq7wgISeHEfjI=; b=ahegt4WZRpcUhEtPmf6KV/zPWl0VszIuhyctJuOD8gAXPhuPaXh8+wlj336usPRSRQm7Zk upg+cjimedHbZ6nRFicirXUfgEHhe8s2Ul53c8ohc5ILjbRbWuz/lwan36YnQcZPVyX15q 4Y9GHiTN/WXvLgE4NJ38EPGzM9t9h/Q= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2E121138F8; Fri, 14 Jul 2023 13:59:19 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id yQVJCrdUsWS6DwAAMHmgww (envelope-from ); Fri, 14 Jul 2023 13:59:19 +0000 Date: Fri, 14 Jul 2023 15:59:17 +0200 From: Michal =?utf-8?Q?Koutn=C3=BD?= To: Jan Engelhardt Cc: Michal Suchanek , linux-modules@vger.kernel.org, Takashi Iwai , Lucas De Marchi , Jiri Slaby , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] depmod: Handle installing modules under a prefix Message-ID: References: <30d8c675-e769-e567-a81f-c1b59c66ad67@suse.com> <20230714122111.7528-1-msuchanek@suse.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7wpvbt37zgrl7ken" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7wpvbt37zgrl7ken Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 14, 2023 at 03:38:18PM +0200, Jan Engelhardt wrote: > Ok, so if the problem statement is that hardcoded paths are bad, then why > continue to hardcode the "/lib/modules" fragment? Just make it so that > KERNEL_MODULE_PREFIX can be set to the exact string "/usr/lib/modules" and not > just "/usr". That sounds cleaner but I'm worried it would be a BC break in setups that expect the existing layout under INSTALL_MOD_PATH, wouldn't it? Michal --7wpvbt37zgrl7ken Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQpEWyjXuwGT2dDBqAGvrMr/1gcjgUCZLFUswAKCRAGvrMr/1gc jq8fAP9QUfy7J0GWTgsdUWNVhpouCUlQBkAT3u/M/BymxjbfHgD+L8w8hVaJPhOv MhrghO6GZrd0Ynt/nc/A0csJDBITaQE= =zM4P -----END PGP SIGNATURE----- --7wpvbt37zgrl7ken--