From 756c9dbeb6d693158587ae6e0116156ef5aa1af6 Mon Sep 17 00:00:00 2001 From: Simon Wilper Date: Tue, 6 Apr 2021 00:56:16 +0200 Subject: Fence add_binary for pv --- install/archiso | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install/archiso b/install/archiso index df0f6b5..c64e10e 100644 --- a/install/archiso +++ b/install/archiso @@ -18,7 +18,12 @@ build() { add_binary truncate add_binary gpg add_binary grep - add_binary pv + + if command -v pv > /dev/null 2>&1; then + add_binary pv + else + warning 'pv not found; falling back to cp for copy to RAM' + fi add_file /usr/lib/udev/rules.d/60-cdrom_id.rules add_file /usr/lib/udev/rules.d/10-dm.rules -- cgit v1.2.3-54-g00ecf