summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/qt5/horizonwizard.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc
index 75598cb..6b44d49 100644
--- a/ui/qt5/horizonwizard.cc
+++ b/ui/qt5/horizonwizard.cc
@@ -345,6 +345,13 @@ QString HorizonWizard::toHScript() {
break;
}
+ if(this->grub) {
+ lines << "pkginstall grub";
+ }
+
+ lines << ("pkginstall " + QString::fromStdString(this->kernel) + " " +
+ QString::fromStdString(this->kernel) + "-modules");
+
char *root = encrypt_pw(field("rootpw").toString().toStdString().c_str());
Q_ASSERT(root != nullptr);
lines << QString("rootpw ") + root;