mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-19 12:41:05 +00:00
fix(hardware-setup): Set default target to graphical, fixes rebase from base image (#568)
Fixes: https://github.com/ublue-os/main/issues/423
This commit is contained in:
parent
16acec22b9
commit
71310055ee
@ -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" <<< $(systemctl 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user