diff options
author | Awnrt <roman.levikoff@gmail.com> | 2024-04-26 13:23:45 +0300 |
---|---|---|
committer | Awnrt <roman.levikoff@gmail.com> | 2024-04-26 13:23:45 +0300 |
commit | b3754672b2d080adc18c4faecec08ecb1165113c (patch) | |
tree | 26de222e1dcc937240fc21f662d0b2a78db21ad1 | |
parent | 96276e1a877f0a5001da5b0cdb1db44a1a84da44 (diff) |
added dinit
-rwxr-xr-x | install.sh | 5 | ||||
-rwxr-xr-x | post_chroot.sh | 7 |
2 files changed, 8 insertions, 4 deletions
@@ -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 |