Skip to content

Commit

Permalink
Revert "etc/resolv.conf link should not be needed"
Browse files Browse the repository at this point in the history
This reverts commit b627615.
  • Loading branch information
andiradulescu committed Aug 9, 2024
1 parent b627615 commit 793add7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build_system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ set_network_stuff() {
bash -c "echo \"127.0.0.1 localhost.localdomain localhost\" > etc/hosts"
bash -c "echo \"127.0.0.1 $HOST\" >> etc/hosts"

# Fix resolv config
bash -c "ln -sf /run/systemd/resolve/stub-resolv.conf etc/resolv.conf"

# Write build info
DATETIME=$(date '+%Y-%m-%dT%H:%M:%S')
bash -c "printf \"$GIT_HASH\n$DATETIME\" > BUILD"
Expand Down

0 comments on commit 793add7

Please sign in to comment.