From e647bddb61b974ff5ea59d0e5576da54202b67b7 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Mon, 6 Nov 2023 19:14:57 -0800 Subject: [PATCH] fix path --- build_system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_system.sh b/build_system.sh index 899e072f..11ccac85 100755 --- a/build_system.sh +++ b/build_system.sh @@ -68,7 +68,7 @@ sudo tar -xf $BUILD_DIR/filesystem.tar > /dev/null # Add hostname and hosts. This cannot be done in the docker container... echo "Setting network stuff" HOST=tici -sudo bash -c "rm /etc/hostname && ln -s /proc/sys/kernel/hostname /etc/hostname" +sudo bash -c "ln -s /proc/sys/kernel/hostname etc/hostname" sudo bash -c "echo \"127.0.0.1 localhost.localdomain localhost\" > etc/hosts" sudo bash -c "echo \"127.0.0.1 $HOST\" >> etc/hosts"