From patchwork Wed Jan 15 15:20:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 2698 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 47yWH016kjz3xYC for ; Wed, 15 Jan 2020 15:20:28 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 47yWGx4tnjz4RF; Wed, 15 Jan 2020 15:20:25 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 47yWGx2T5xz2ybT; Wed, 15 Jan 2020 15:20:25 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 47yWGv3K6Mz2xcM for ; Wed, 15 Jan 2020 15:20:23 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 47yWGv20crz2lB; Wed, 15 Jan 2020 15:20:23 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909ed25519; t=1579101623; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I78wqAjPq7uBmFI882xIJ695H8pz5Ca+5JxfV45a5U8=; b=Ib9j84dDV8eS4SRDe82hr1sDSbHOw3XHdQ5pQ31u4odUqA75snYLbX6nAxtZ4KGIlLTf5X Ml9ROLUTSvliwYAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909rsa; t=1579101623; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I78wqAjPq7uBmFI882xIJ695H8pz5Ca+5JxfV45a5U8=; b=H3fxVivCmw0EuByGDyl1GyoQH7v45TXVJnoGLw9nU3UeHkD+k0jDH36qF2ngOTZ2MEAamX Y1ybSMSCrX4+XVrCiuFSqXEsqWzV5yXcGO3VUvD+XeLg8d1ewSrHAWyIkgoyNIY1cF1riP rvS1WlPhje7bgj+aLXqeExBiAzuqQVmkSCH+Sf3hWYCXXp8Gc0x0OEJrOHlrGrM/1pcGPF ITtibDlBk6McyuRi8ilynFlzg1pIkUNNscunHjL7+gDOs3K7EROc5+PUVg//3oo3t2hGJF 10N5CkFqv8LYxumdO5wv2FW6gChosGKEemR46LgfmDf8WKx3EbOh6ksHND02hg== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 2/5] lvm2: Build with support for udev Date: Wed, 15 Jan 2020 15:20:09 +0000 Message-Id: <20200115152012.12345-2-michael.tremer@ipfire.org> In-Reply-To: <20200115152012.12345-1-michael.tremer@ipfire.org> References: <20200115152012.12345-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- config/rootfiles/common/lvm2 | 4 ++++ lfs/lvm2 | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/common/lvm2 b/config/rootfiles/common/lvm2 index 3c8187d00..5d2810450 100644 --- a/config/rootfiles/common/lvm2 +++ b/config/rootfiles/common/lvm2 @@ -9,6 +9,10 @@ etc/lvm/lvm.conf #etc/lvm/profile/metadata_profile_template.profile #etc/lvm/profile/thin-generic.profile #etc/lvm/profile/thin-performance.profile +lib/udev/rules.d/10-dm.rules +lib/udev/rules.d/11-dm-lvm.rules +lib/udev/rules.d/13-dm-disk.rules +lib/udev/rules.d/95-dm-notify.rules #usr/include/libdevmapper.h #usr/lib/libdevmapper.so usr/lib/libdevmapper.so.1.02 diff --git a/lfs/lvm2 b/lfs/lvm2 index fe6974279..63c338f3f 100644 --- a/lfs/lvm2 +++ b/lfs/lvm2 @@ -78,7 +78,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) ./configure \ --prefix=/usr \ --with-usrlibdir=/usr/lib \ - --enable-pkgconfig + --enable-pkgconfig \ + --with-udevdir=/lib/udev/rules.d \ + --enable-udev_rules \ + --enable-udev_sync cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP)