|
@@ -8,7 +8,7 @@ printf "(OK)\n" |
|
|
|
|
|
|
|
|
if [[ "$PISDR_ARCH" != $(uname -p) ]]; then |
|
|
if [[ "$PISDR_ARCH" != $(uname -p) ]]; then |
|
|
printf "Enabling qemu kernel components... " |
|
|
printf "Enabling qemu kernel components... " |
|
|
update-binfmts --enable qemu-arm > /dev/null 2>&1 |
|
|
|
|
|
|
|
|
update-binfmts --enable qemu-arm > /dev/null 2>&1 | true |
|
|
if [ ! "$(ls -A /proc/sys/fs/binfmt_misc/)" ]; then |
|
|
if [ ! "$(ls -A /proc/sys/fs/binfmt_misc/)" ]; then |
|
|
printf "(NOK)\n" |
|
|
printf "(NOK)\n" |
|
|
exit |
|
|
exit |
|
|