Skip to content

Commit 3c74541

Browse files
authored
feat: Display system info in log (#75)
1 parent cb420e1 commit 3c74541

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM scratch
2-
COPY --from=qemux/qemu-arm:1.10 / /
2+
COPY --from=qemux/qemu-arm:1.11 / /
33

44
ARG DEBCONF_NOWARNINGS "yes"
55
ARG DEBIAN_FRONTEND "noninteractive"

src/entry.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,9 @@ cd /run
2121

2222
trap - ERR
2323

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

27-
if [[ "$CONSOLE" == [Yy]* ]]; then
28-
exec qemu-system-x86_64 ${ARGS:+ $ARGS}
29-
fi
30-
3127
{ qemu-system-aarch64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
3228
(( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15
3329

0 commit comments

Comments
 (0)