From e4433ed7063bb3c49c9a827dca9562d6a00c5be8 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 1 Jul 2021 16:29:19 +0000 Subject: [PATCH] efibootmgr: remove usage of install --- extra/efibootmgr/build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/extra/efibootmgr/build b/extra/efibootmgr/build index dc9cd5d1..b9007d9f 100755 --- a/extra/efibootmgr/build +++ b/extra/efibootmgr/build @@ -2,5 +2,9 @@ make CC="${CC:-cc}" EFIDIR=/boot/EFI efibootmgr -install -Dm0755 src/efibootmgr "$1/usr/bin/efibootmgr" -install -Dm0644 src/efibootmgr.8 "$1/usr/share/man/man8/efibootmgr.8" +mkdir -p \ + "$1/usr/bin" \ + "$1/usr/share/man/man8" + +cp -f src/efibootmgr "$1/usr/bin" +cp -f src/efibootmgr.8 "$1/usr/share/man/man8"