From 36dc1b7a2ea44321a2c233fd7ea576ed516d4ccc Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 1 Dec 2023 21:39:58 -0600 Subject: Add 'rootshell' key to determine root's shell * Key added to code and documentation. * Tests added and pass locally on gwyn (ppc64) and fran (aarch64). * Qt UI automatically sets /bin/zsh as root's shell (ref: packages#206). * ISO image creator backend no longer has root shell hack. --- ui/qt5/horizonwizard.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui') diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc index 53331ff..36746ea 100644 --- a/ui/qt5/horizonwizard.cc +++ b/ui/qt5/horizonwizard.cc @@ -702,6 +702,8 @@ QString HorizonWizard::toHScript() { /* handwavy-future: When we have language support, set it here */ lines << "language en_US.UTF-8"; + lines << "rootshell /bin/zsh"; + auto iterator = valid_keymaps.begin(); std::advance(iterator, field("keymap").toInt()); lines << ("keymap " + QString::fromStdString(*iterator)); -- cgit v1.2.3-70-g09d2