quickfix: patch verification, mount --mkdir, add rmdir to initramfs

This commit is contained in:
Anderson Rosenberg 2025-10-22 19:34:10 -04:00
parent 4ac936df5b
commit 6759eba47e
No known key found for this signature in database
GPG key ID: 7ACF448C0590AB9C
5 changed files with 6 additions and 7 deletions

View file

@ -15,8 +15,8 @@ done
# Verify the patch has succeeded
for hex_offset in $hex_offsets; do
echo -n "$hex_offset: "
opcode=$(objdump -d "$target" | grep $hex_offset | awk '{ print $3 }')
if [ $opcode -eq 90 ]; then
opcode=$(objdump -d "$target" | grep $hex_offset | awk '{ print $2 }')
if [ "$opcode" -eq 90 ]; then
echo "OK"
else
echo "FAIL"