diff options
author | awy <awy@tutamail.com> | 2024-08-03 03:01:38 +0300 |
---|---|---|
committer | awy <awy@tutamail.com> | 2024-08-03 03:01:38 +0300 |
commit | b17cd4e728d3101e3089b731022375046b7d07ec (patch) | |
tree | e38731b22303fb5334aab8dbe78cbb9c09923664 /post_chroot.sh | |
parent | b346c4d314505fee372caed5a6a969bf998b0478 (diff) |
custom kernel
Diffstat (limited to 'post_chroot.sh')
-rwxr-xr-x | post_chroot.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/post_chroot.sh b/post_chroot.sh index b75ffac..66de397 100755 --- a/post_chroot.sh +++ b/post_chroot.sh @@ -34,6 +34,14 @@ elif [ "$_kernelflag" -eq 2 ]; then cd "linux-6.10.2" curl -LO "https://codeberg.org/awy/artix/raw/branch/minimal/.config" sed -i -e '/^CONFIG_CMDLINE="root=PARTUUID=.*/c\' -e "CONFIG_CMDLINE=\"root=PARTUUID=$PARTUUID_ROOT\"" .config + mkdir /etc/modules-load.d + cat <<EOL >> /etc/modules-load.d/video.conf + nvidia + nvidia_modeset + nvidia_uvm + nvidia_drm +EOL + pacman -S bc perl bison make menuconfig #make -j$(nproc) #make modules |