Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/initcpio/install
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/initcpio/install')
-rw-r--r--archiso/initcpio/install/archiso7
1 files changed, 6 insertions, 1 deletions
diff --git a/archiso/initcpio/install/archiso b/archiso/initcpio/install/archiso
index df0f6b5..c64e10e 100644
--- a/archiso/initcpio/install/archiso
+++ b/archiso/initcpio/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