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,26 @@
|
||||
#!/bin/bash
|
||||
W=/tmp/insp
|
||||
rm -rf "$W"; mkdir -p "$W"
|
||||
|
||||
echo "=== memtest.efi:"
|
||||
python3 - <<'EOF'
|
||||
import struct
|
||||
d=open('/mnt/f/EFI/Boot/memtest.efi','rb').read()
|
||||
pe=struct.unpack_from('<I',d,0x3c)[0]
|
||||
mach=struct.unpack_from('<H',d,pe+4)[0]
|
||||
magic=struct.unpack_from('<H',d,pe+24)[0]
|
||||
print(' machine 0x%x magic 0x%x size %d' % (mach, magic, len(d)))
|
||||
import re
|
||||
s=re.findall(rb'[ -~]{6,}', d[:400000])
|
||||
for t in s[:15]: print(' ', t.decode('latin1'))
|
||||
EOF
|
||||
|
||||
echo
|
||||
echo "=== KRD initrd:"
|
||||
cd "$W"
|
||||
xz -dc /mnt/f/efi/Paravis/KRD/initrd.xz > krd.cpio 2>/dev/null || cp /mnt/f/efi/Paravis/KRD/initrd.xz krd.cpio
|
||||
file krd.cpio
|
||||
mkdir -p krd && ( cd krd && cpio -idm --quiet < ../krd.cpio 2>/dev/null || true )
|
||||
ls krd | head -20
|
||||
echo "--- init (first 80 lines):"
|
||||
sed -n '1,80p' krd/init 2>/dev/null
|
||||
Reference in new issue
Block a user