/lib/partman/finish.d/70aptinstall_lvm is in ubiquity 2.18.7.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #! /bin/sh
set -e
if grep -q " device-mapper$" /proc/misc; then
# Avoid warnings from lvm2 tools about open file descriptors
export LVM_SUPPRESS_FD_WARNINGS=1
if pvdisplay | grep -iq "physical volume ---"; then
apt-install lvm2 || true
fi
fi
|