index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Simon Wilper <sxw@chronowerks.de> | 2021-04-06 00:56:16 +0200 |
---|---|---|
committer | Simon Wilper <sxw@chronowerks.de> | 2021-05-14 19:47:25 +0200 |
commit | 15f4ef4938c8ce380639512aabf3c98b2e596317 (patch) | |
tree | 4acfeea6c22efde3f5538eff6867ac395a000cd6 /archiso | |
parent | 9c783a8e719ecc0f113786e22ac14ca834fc07bd (diff) |
-rw-r--r-- | archiso/initcpio/install/archiso | 7 |
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 |