commit 5b90407a6f8f7c42c921f632673c9bf237d7b127
parent 85fff7be61d1e9aff5acb085881f98f72662e875
Author: awy <awy@awy.one>
Date: Sat, 15 Feb 2025 01:28:07 +0300
revert
Diffstat:
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/install.sh b/install.sh
@@ -5,7 +5,7 @@ export green="\033[1;32m"
export cyan="\033[0;36m"
export normal="\033[0m"
-#sv up ntpd
+dinitctl start ntpd
cpuVendorID=$(grep -m 1 'vendor_id' /proc/cpuinfo | awk '{print $3}')
@@ -37,8 +37,8 @@ binKernel(){
mount /dev/"$boot_drive" /mnt/boot/efi
pacman -Sy --confirm
case $choosenKernel in
- 1) basestrap /mnt base runit elogind-runit linux linux-headers ;;
- 2) basestrap /mnt base runit elogind-runit linux-zen linux-zen-headers ;;
+ 1) basestrap /mnt base dinit seatd-dinit linux linux-headers ;;
+ 2) basestrap /mnt base dinit seatd-dinit linux-zen linux-zen-headers ;;
*) printf ${red}"Invalid kernel${normal}" && exit 1 ;;
esac
}
@@ -46,7 +46,7 @@ binKernel(){
customKernel(){
mount /dev/"$boot_drive" /mnt/boot
pacman -Sy --confirm
- basestrap /mnt base runit elogind-runit
+ basestrap /mnt base dinit seatd-dinit
cp .config /mnt/usr/src
}
diff --git a/post_chroot.sh b/post_chroot.sh
@@ -45,7 +45,7 @@ customKernel(){
mv "linux-$latestKernel" "linux"
cd "linux"
mv /usr/src/.config .config
- sed -i -e '/^CONFIG_CMDLINE="root=PARTUUID=.*/c\' -e "CONFIG_CMDLINE=\"root=PARTUUID=$PARTUUID_ROOT init=/sbin/runit-init nvidia_drm.modeset=1 nvidia_drm.fbdev=1\"" .config
+ sed -i -e '/^CONFIG_CMDLINE="root=PARTUUID=.*/c\' -e "CONFIG_CMDLINE=\"root=PARTUUID=$PARTUUID_ROOT init=/sbin/dinit-init nvidia_drm.modeset=1 nvidia_drm.fbdev=1\"" .config
pacman -S bc perl bison make diffutils gcc flex rsync --noconfirm
make olddefconfig
make menuconfig
@@ -109,8 +109,9 @@ permit nopass keepenv :$username
permit nopass keepenv :root
EOL
-pacman -S dhcpcd dhcpcd-runit --noconfirm
-ln -s /etc/runit/sv/dhcpcd /etc/runit/runsvdir/default
+pacman -S dhcpcd dhcpcd-dinit --noconfirm
+ln -sf /etc/dinit.d/dhcpcd /etc/dinit.d/boot.d/
+ln -sf /etc/dinit.d/dbus /etc/dinit.d/boot.d/
pacman -S nvidia-open-dkms nvidia-utils --noconfirm
pacman -S libva-nvidia-driver --noconfirm