From cef539e17ba3bac95343341b7532c6e2b8d44d40 Mon Sep 17 00:00:00 2001 From: awy Date: Fri, 30 Aug 2024 16:26:25 +0300 Subject: tidy --- install.sh | 1 + post_chroot.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fb516fc..63ce9fe 100755 --- a/install.sh +++ b/install.sh @@ -50,6 +50,7 @@ elif [ "$_kernelflag" -eq 2 ]; then echo "UUID=$UUID_BOOT /boot vfat defaults,noatime 0 2" > /mnt/etc/fstab echo "UUID=$UUID_ROOT / ext4 defaults,noatime 0 1" >> /mnt/etc/fstab cp post_chroot.sh /mnt + cp .config /mnt/usr/src else printf ${LIGHTRED}"Wrong kernelflag value.${NoColor}\n" exit 1 diff --git a/post_chroot.sh b/post_chroot.sh index e3680e4..a0bf9ec 100755 --- a/post_chroot.sh +++ b/post_chroot.sh @@ -33,7 +33,7 @@ elif [ "$_kernelflag" -eq 2 ]; then rm -f "linux-6.10.6.tar.xz" mv "linux-6.10.6" "linux" cd "linux" - curl -LO "https://raw.githubusercontent.com/awnrt/artix/main/.config" + mv /usr/src/.config .config sed -i -e '/^CONFIG_CMDLINE="root=PARTUUID=.*/c\' -e "CONFIG_CMDLINE=\"root=PARTUUID=$PARTUUID_ROOT init=/sbin/openrc-init nvidia_drm.modeset=1 nvidia_drm.fbdev=1 intel_iommu=on\"" .config pacman -S bc perl bison make diffutils gcc flex rsync --noconfirm make oldconfig -- cgit v1.2.3