20 lines
642 B
Bash
Executable File
20 lines
642 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
|
|
|
|
#This _somehow_ gets secure boot working again from within the installer.
|
|
[ -e /etc/apt/apt.conf.d/99No-Recommends ] && sudo rm /etc/apt/apt.conf.d/99No-Recommends
|
|
|
|
# Access control to run calamares as root for xwayland
|
|
xhost +si:localuser:root
|
|
#pkexec calamares
|
|
pkexec calamares --session none | 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
|