This commit is contained in:
mjallen18
2026-01-02 09:47:20 -06:00
parent cdf388cf17
commit 8fc40f265b
3 changed files with 19 additions and 16 deletions

View File

@@ -31,17 +31,20 @@ fi
copyForced() {
local src="$1"
local dst="$2"
cp -r $src $dst.tmp
mv $dst.tmp $dst
echo "copying $file to $dst"
cp -a "$src/." $dst
#mv $dst.tmp $dst/$file
}
echo "uefi: @uefi@"
if [ -n "$fwtarget" ]; then
@firmwareBuilder@ -c $default -d $fwtarget
echo "copying uefi firmware..."
for file in @uefi@; do
copyForced @uefi@/file $fwtarget/
done
#for file in "@uefi@/*"; do
copyForced @uefi@ $fwtarget/
#done
fi
echo "uefi bootloader installed"
echo "uefi bootloader installed"