MRTestRepo/calamares/install-peppermint

15 lines
393 B
Bash
Executable File

#!/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
pkexec calamares -d
#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