From patchwork Tue Dec 3 09:00:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pascal de Bruijn X-Patchwork-Id: 1203569 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=unilogic.nl Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=unilogic.nl header.i=@unilogic.nl header.b="tXBe42Ti"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47Rwv95gPDz9sP6 for ; Tue, 3 Dec 2019 20:01:09 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 62EDC22613; Tue, 3 Dec 2019 09:01:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hhxc9+qlxJOh; Tue, 3 Dec 2019 09:01:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id AF0B520448; Tue, 3 Dec 2019 09:01:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1AF371BF954 for ; Tue, 3 Dec 2019 09:01:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 17359875D4 for ; Tue, 3 Dec 2019 09:01:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4f-Tt3KdtbNt for ; Tue, 3 Dec 2019 09:00:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-out122.unilogicnetworks.net (mail-out122.unilogicnetworks.net [62.133.206.122]) by whitealder.osuosl.org (Postfix) with ESMTPS id 444D386E3A for ; Tue, 3 Dec 2019 09:00:59 +0000 (UTC) Received: from mail.unilogic.nl (unknown [62.133.204.111]) by mail.unilogicnetworks.net (Postfix) with ESMTPS id D8CB74A156 for ; Tue, 3 Dec 2019 10:00:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=unilogic.nl; s=mail; h=from:subject:date:message-id:to:cc; bh=PVj5nQcZaE5Qe2kzScY0G8KAK2ng2WVTSmwyRogI1qg=; b=tXBe42TiMoIEXFQDJBb+AuNmh5j6MnzqpYMH6x66fWFn09T+AAwnFoRgJzUukfIaPzwvJ5keRJeZm 1AUxNuZQF60Xzcjuwnj7gqI71eCqE7hk7OyMW/y7ew+mnWjSaX2GddXYgltdwWCu05afaRbPQlFiDY an93FzPKwprAQXVh8Gt6ju9lfT3xgyyJfM4tP7OQ8LY9xyQ1hgkv9Vd4HUZWjOdBHHyzC1QLeq/JFo ByOXGG/Mw4muQ0e3M1KOYDcW+3mnm3ptDd8hH4UMSqTgIkCJMI8N9x5x1s05Bq0+OgXV8knxhBLZNA 4HlgDcfrQN+mECXy1a0o008Zfe1knEA== X-Kerio-Anti-Spam: Build: [Engines: 2.15.9.1281, Stamp: 3], Multi: [Enabled, t: (0.000005, 0.002122)], BW: [Enabled, t: (0.000006)], RTDA: [Enabled, t: (0.196988), Hit: No, Details: v2.7.68; Id: 15.1i6tm1p.1dr5frdhf.41oc6], total: 0(700) X-Footer: dW5pbG9naWMubmw= Received: from localhost ([127.0.0.1]) by mail.unilogic.nl with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)); Tue, 3 Dec 2019 10:00:53 +0100 From: Pascal de Bruijn To: buildroot@busybox.net Date: Tue, 3 Dec 2019 10:00:50 +0100 Message-Id: <20191203090050.4382-1-p.debruijn@unilogic.nl> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH] package/lvm2: install udev rules X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pascal de Bruijn MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Without the device-mapper udev rules, dm devices will not get a proper symlink like /dev/disk/by-label/LABEL, which in turn causes fstab LABEL= mounts to fails. And by extension causes shenanigans with systemd, where it will unmount a manually mounted disk because it can't resolve the label. Signed-off-by: Pascal de Bruijn --- package/lvm2/lvm2.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index 7fdb9a7..65576f4 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -19,6 +19,7 @@ LVM2_CONF_OPTS += \ --enable-pkgconfig \ --enable-cmdlib \ --enable-dmeventd \ + --enable-udev_rules \ --disable-nls \ --disable-symvers