Skip to content

Commit

Permalink
fix(hardware-setup): Set default target to graphical, fixes rebase fr…
Browse files Browse the repository at this point in the history
…om base image

Fixes: ublue-os/main#423
  • Loading branch information
EyeCantCU authored Nov 20, 2023
1 parent 0f62901 commit cb25841
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions system_files/desktop/shared/usr/bin/bazzite-hardware-setup
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ if (( $(hostname | wc -m) > 16 )); then
hostnamectl set-hostname bazzite
fi

# Set default target to graphical, fixes rebase from base image
if grep -qv "graphical.target" <<< $(systemd get-default); then
systemctl set-default graphical.target
fi

mkdir -p /etc/bazzite
echo $HWS_VER > $HWS_VER_FILE
echo $IMAGE_NAME > $KNOWN_IMAGE_NAME_FILE
Expand Down

0 comments on commit cb25841

Please sign in to comment.