index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | 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 | 756c9dbeb6d693158587ae6e0116156ef5aa1af6 (patch) | |
tree | 9887dbed475a63c0f204101b9afc1150ba914e91 | |
parent | c42ce636434ae82de904a5505863547770978635 (diff) |
-rw-r--r-- | install/archiso | 7 |
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 |