pi stuff
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user