Skip to content

Commit d520ecb

Browse files
committed
resources: Use new readfile device in after_boot.sh
1 parent d59ce64 commit d520ecb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/x86-ubuntu/files/after_boot.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ fi
2828
printf "Interactive mode: $interactive\n"
2929

3030
if [[ $interactive == true ]]; then
31-
printf "Interactive mode enabled, dropping to shell."
31+
printf "Interactive mode enabled, dropping to shell.\n"
3232
/bin/bash
3333
else
3434
# Try to read the file from the host when running with gem5
3535
if ! [ -z $IGNORE_M5 ]; then
3636
printf "Starting gem5 init... trying to read run script file via readfile.\n"
37-
if ! gem5-bridge readfile > /tmp/script; then
37+
if ! cat /dev/gem5/readfile > /tmp/script; then
3838
printf "Failed to run gem5-bridge readfile, exiting!\n"
3939
rm -f /tmp/script
4040
# If we can't read the script exit the simulation. If we cannot exit the

0 commit comments

Comments
 (0)