[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1010951: Support for dm-verity causes initramfs build failure on non-merged-/usr systems



Package: live-boot-initramfs-tools
Version: 1:20220505

Hello,

Support for dm-verity adds the following code in initramfs-tools hook script /usr/share/initramfs-tools/hooks/live :

# dm-verity support
if [ "${DISABLE_DM_VERITY:-}" != "true" ] && [ "${DISABLE_DM_VERITY:-}" != "yes" ]
then
	[ "${QUIET}" ] || echo -n " dm-verity"
	manual_add_modules dm-verity
	# The BusyBox mount does not support dm-verity so we use the util-linux version.
	copy_exec /usr/bin/mount /bin
fi

The initramfs build fails on non-merged-/usr systems because mount is only in /bin, not /usr/bin.


Reply to: