bubbles/iso_configs/calamares_settings/dev_arm/install-peppermint

17 lines
470 B
Plaintext
Raw Normal View History

2023-07-11 06:48:53 +00:00
#!/bin/sh
###
# Wrapper for running calamares on Peppermint live media
###
# Stale file left behind by live-build that messes with partitioning
sudo mv /etc/fstab /etc/fstab.orig.calamares
# Access control to run calamares as root for xwayland
xhost +si:localuser:root
pkexec calamares
#pkexec calamares --debug | sudo tee /var/log/Calamares-Install.log
xhost -si:localuser:root
# Restore stale fstab, for what it's worth
sudo mv /etc/fstab.orig.calamares /etc/fstab