blob: b1ead30e3af44f62e0fbc56e4896b1132297ad80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
img=/root/live/image/boot.efi.img
cd /root
if [ -e "$img" ]; then
mkdir -p live/efipart
mount -o loop "$img" live/efipart
for file in live/efipart/*firmware*rpm
do
[ -e "$file" ] && /bin/chroot . rpm2cpio "/$file" | cpio -i
done
umount live/efipart
rmdir live/efipart
fi
|