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:
authorDavid Runge <dvzrv@archlinux.org>2021-05-29 10:47:24 +0200
committerDavid Runge <dvzrv@archlinux.org>2021-05-29 10:47:24 +0200
commite3a7f02385f23b6111ca7601b49e5ef43c02b3ba (patch)
tree409c97a50854cb92267c8176c0a8fcb2deba0b68 /archiso/initcpio/install
parent28ab118099b19f76ff1937776400a2bb7f8b09bb (diff)
parent31427eca7a3a6eea80fa2e3910e5805bee14c0c4 (diff)
Merge remote-tracking branch 'sxw/copytoram'
* sxw/copytoram: Apply copytoram Boot Option Menu Entries also to releng Fence add_binary for pv Reorder UEFI boot menu entries Update README.bootparams Apply 1 suggestion(s) to 1 file(s) add optional pv tool
Diffstat (limited to 'archiso/initcpio/install')
-rw-r--r--archiso/initcpio/install/archiso6
1 files changed, 6 insertions, 0 deletions
diff --git a/archiso/initcpio/install/archiso b/archiso/initcpio/install/archiso
index 74948c7..c64e10e 100644
--- a/archiso/initcpio/install/archiso
+++ b/archiso/initcpio/install/archiso
@@ -19,6 +19,12 @@ build() {
add_binary gpg
add_binary grep
+ 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
add_file /usr/lib/udev/rules.d/95-dm-notify.rules