Skip to content

Commit

Permalink
feat: Display system info in log (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Apr 19, 2024
1 parent cb420e1 commit 3c74541
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM scratch
COPY --from=qemux/qemu-arm:1.10 / /
COPY --from=qemux/qemu-arm:1.11 / /

ARG DEBCONF_NOWARNINGS "yes"
ARG DEBIAN_FRONTEND "noninteractive"
Expand Down
6 changes: 1 addition & 5 deletions src/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ cd /run

trap - ERR

info "Booting $APP using $VERS..."
info "Booting ${APP}${BOOT_DESC} on ${CPU} using QEMU v${VERS} with kernel $(uname -r)..."
[[ "$DEBUG" == [Yy1]* ]] && echo "Arguments: $ARGS" && echo

if [[ "$CONSOLE" == [Yy]* ]]; then
exec qemu-system-x86_64 ${ARGS:+ $ARGS}
fi

{ qemu-system-aarch64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
(( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15

Expand Down

0 comments on commit 3c74541

Please sign in to comment.