Add build, deploy and test sources
This commit is contained in:
1 parent
b962581812
commit
3d1a08f230
259 files changed
+15273
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
W=/root/efichk
|
||||
rm -rf "$W"; mkdir -p "$W"; cd "$W"
|
||||
cp /path/to/pf/super/x64.efi new.efi
|
||||
cp /mnt/f/efi/Paravis/Boot/grub2/apps/super.efi old.efi
|
||||
for f in new old; do
|
||||
echo "===== $f"
|
||||
objdump -h $f.efi 2>/dev/null | awk '$2 ~ /memdisk|mods|grub/ {print " section:",$2,$3}'
|
||||
objcopy -O binary --only-section=.memdisk $f.efi $f.mem 2>/dev/null
|
||||
ls -l $f.mem 2>/dev/null | awk '{print " memdisk:",$5,"bytes"}'
|
||||
if [ -s $f.mem ]; then
|
||||
file $f.mem | sed 's/^/ /'
|
||||
mkdir -p $f.dir && cd $f.dir
|
||||
(cpio -itv < ../$f.mem 2>/dev/null || tar tvf ../$f.mem 2>/dev/null) | awk '{print " "$NF, $5}' | sort | head -40
|
||||
cd ..
|
||||
fi
|
||||
done
|
||||
Reference in new issue
Block a user