OSDN Git Service

add chrootscript
authorpaperbenni <paperbenni@gmail.com>
Mon, 30 Mar 2020 16:55:21 +0000 (18:55 +0200)
committerpaperbenni <paperbenni@gmail.com>
Mon, 30 Mar 2020 16:55:21 +0000 (18:55 +0200)
archinstall.sh
chrootscript.sh [new file with mode: 0755]
depend/depend.sh
depend/system.sh
pacstrap/pacstrap.sh

index d29ac23..1faa87e 100755 (executable)
@@ -15,7 +15,7 @@ curl -s 'https://raw.githubusercontent.com/instantOS/instantLOGO/master/ascii.tx
 
 echo "selecting fastest mirror"
 # sort mirrors
-pacman -Sy--noconfirm
+pacman -Sy --noconfirm
 pacman -S reflector --noconfirm
 reflector --sort rate --save /etc/pacman.d/mirrorlist
 
diff --git a/chrootscript.sh b/chrootscript.sh
new file mode 100755 (executable)
index 0000000..8aff7e8
--- /dev/null
@@ -0,0 +1,9 @@
+#!/usr/bin/expect
+set timeout 100000
+set scriptname [lindex $argv 0];
+
+spawn arch-chroot /mnt
+expect "archiso"
+sleep 1
+send "/root/instantarch/$scriptname\n"
+interact
index 4523755..96b20cd 100644 (file)
@@ -1,6 +1,5 @@
 #!/bin/bash
 
 pacman -S fzf --noconfirm
-pacman -S sdisk --noconfirm
 pacman -S expect --noconfirm
 pacman -S git --noconfirm
index cc1f786..c1e5b2b 100644 (file)
@@ -1 +1,6 @@
-#!/bin/bash
\ No newline at end of file
+#!/bin/bash
+
+pacman -S xorg --noconfirm
+
+pacman -S lightdm --noconfirm
+pacman -S lightdm-gtk-greeter --noconfirm
\ No newline at end of file
index e0b2805..c98ecb3 100755 (executable)
@@ -8,3 +8,6 @@ pacman -Sy
 pacstrap /mnt base linux linux-firmware
 
 genfstab -U /mnt >> /mnt/etc/fstab
+
+cd /root
+cp -r ./instantARCH /mnt/root/instantARCH
\ No newline at end of file