commit cef539e17ba3bac95343341b7532c6e2b8d44d40
parent 882f067cc40b978a1c9842a108b2fa7edb5a0536
Author: awy <awy@awy.one>
Date: Fri, 30 Aug 2024 16:26:25 +0300
tidy
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git 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
@@ -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