mirror of
https://codeberg.org/andersonarc/reliant-system.git
synced 2025-11-29 11:56:31 -05:00
quickfix: patch verification, mount --mkdir, add rmdir to initramfs
This commit is contained in:
parent
4ac936df5b
commit
6759eba47e
5 changed files with 6 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue