shadeos/shade-build/checkbin.sh

5 lines
109 B
Bash
Executable File

#!/bin/bash
set -e
echo "Checking binary $1"
grub-file --is-x86-multiboot2 $1
echo "$1 is a valid mb2 binary"