LAKITU: Remove lvm2 config from chrome os
This commit is to add an already added commit(http://go/cos-rev/11210) which was accidentally removed.
BUG=b/225279485
TEST=presubmit and validation
RELEASE_NOTE=None
Change-Id: I2f50dfd536ee71e8a88b0e649345da6be1ddeaff
Reviewed-on: https://cos-review.googlesource.com/c/third_party/overlays/chromiumos-overlay/+/30981
Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
diff --git a/chromeos/config/env/sys-fs/lvm2 b/chromeos/config/env/sys-fs/lvm2
deleted file mode 100644
index ccd6487..0000000
--- a/chromeos/config/env/sys-fs/lvm2
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 2020 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Remove files that will not be used from targets.
-# /etc/lvm/lvm.conf is added by chromeos-init.
-# dmeventd's function is already handled by platform2 packages.
-if [[ $(cros_target) != "cros_host" ]]; then
- lvm_mask="
- /etc/dmtab
- /etc/lvm/lvm.conf
- /etc/lvm/profile/*
- /lib*/liblvm2app.so*
- /lib/udev/rules.d/11-dm-lvm.rules
- /lib/udev/rules.d/69-dm-lvm-metad.rules
- /usr/lib*/liblvm2app.so*
- /usr/lib*/pkgconfig/lvm2app.pc
- /usr/lib/tmpfiles.d/lvm2.conf
- /usr/include/lvm2app.h
- /sbin/dmeventd
- /sbin/lvmetad
- /sbin/lvpolld
- "
-
- PKG_INSTALL_MASK+=" ${lvm_mask}"
- INSTALL_MASK+=" ${lvm_mask}"
- unset lvm_mask
-fi