OSDN Git Service

add artix message
authorpaperbenni <paperbenni@gmail.com>
Mon, 29 Jun 2020 15:59:19 +0000 (17:59 +0200)
committerpaperbenni <paperbenni@gmail.com>
Mon, 29 Jun 2020 15:59:19 +0000 (17:59 +0200)
ask.sh
askutils.sh

diff --git a/ask.sh b/ask.sh
index 8360c1e..909098b 100755 (executable)
--- a/ask.sh
+++ b/ask.sh
@@ -32,6 +32,9 @@ imenu -m "Welcome to the instantOS installer"
 # this loop wraps the rest of the installer
 while ! iroot confirm; do
 
+    # warning message for artix
+    artixinfo
+
     # ask for keyboard layout
     asklayout
     if head -1 /root/instantARCH/data/lang/keyboard/"$NEWKEY" | grep -q '[^ ][^ ]'; then
index 1010879..0d85c13 100755 (executable)
@@ -27,6 +27,22 @@ wallstatus() {
     guimode && feh --bg-scale /usr/share/liveutils/$1.jpg &
 }
 
+artixinfo() {
+    if command -v systemctl; then
+        echo "regular arch/manjaro detected"
+        return
+    fi
+
+    echo "You appear to be installing the non-systemd version of instantOS.
+Support for non-systemd setups is experimental
+Any issues should be solvable with manual intervention
+Here's a list of things that do not work from the installer and how to work around them:
+disk editor: set up partitions beforehand or use automatic partitioning
+keyboard locale: set it manually after installation in the settings
+systemd-swap (obviously)" | imenu -M
+
+}
+
 # ask for keyboard layout
 asklayout() {
     cd /root/instantARCH/data/lang/keyboard