aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAwnrt <roman.levikoff@gmail.com>2024-04-26 13:23:45 +0300
committerAwnrt <roman.levikoff@gmail.com>2024-04-26 13:23:45 +0300
commitb3754672b2d080adc18c4faecec08ecb1165113c (patch)
tree26de222e1dcc937240fc21f662d0b2a78db21ad1
parent96276e1a877f0a5001da5b0cdb1db44a1a84da44 (diff)
added dinit
-rwxr-xr-xinstall.sh5
-rwxr-xr-xpost_chroot.sh7
2 files changed, 8 insertions, 4 deletions
diff --git a/install.sh b/install.sh
index 529c93b..5a2c847 100755
--- a/install.sh
+++ b/install.sh
@@ -32,8 +32,9 @@ pacman -S pacman-contrib --noconfirm
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
rankmirrors -n 6 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
-
-basestrap /mnt base base-devel openrc elogind-openrc
+#Choose openrc or dinit
+#basestrap /mnt base base-devel openrc elogind-openrc
+basestrap /mnt base base-devel dinit elogind-dinit
basestrap /mnt linux linux-firmware
fstabgen -U /mnt >> /mnt/etc/fstab
diff --git a/post_chroot.sh b/post_chroot.sh
index 6ea2f08..2e04e01 100755
--- a/post_chroot.sh
+++ b/post_chroot.sh
@@ -30,8 +30,11 @@ echo "[lib32]" >> /etc/pacman.conf
echo "Include = /etc/pacman.d/mirrorlist" >> /etc/pacman.conf
pacman -Sy --noconfirm
-pacman -S dhcpcd dhcpcd-openrc --noconfirm
-rc-update add dhcpcd default
+#Openrc or dinit
+#pacman -S dhcpcd dhcpcd-openrc --noconfirm
+#rc-update add dhcpcd default
+pacman -S dhcpcd dhcpcd-dinit --noconfirm
+dinitctl enable dhcpcd
pacman -S intel-ucode --noconfirm