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 | |
parent | b346c4d314505fee372caed5a6a969bf998b0478 (diff) |
custom kernel
-rw-r--r-- | .config | 4 | ||||
-rwxr-xr-x | install.sh | 2 | ||||
-rwxr-xr-x | post_chroot.sh | 8 |
3 files changed, 11 insertions, 3 deletions
@@ -18,7 +18,7 @@ CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y CONFIG_TOOLS_SUPPORT_RELR=y CONFIG_CC_HAS_ASM_INLINE=y CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y -CONFIG_PAHOLE_VERSION=127 +CONFIG_PAHOLE_VERSION=0 CONFIG_IRQ_WORK=y CONFIG_BUILDTIME_TABLE_SORT=y CONFIG_THREAD_INFO_IN_TASK=y @@ -398,7 +398,7 @@ CONFIG_HOTPLUG_CPU=y # CONFIG_LEGACY_VSYSCALL_XONLY is not set CONFIG_LEGACY_VSYSCALL_NONE=y CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="root=PARTUUID=a243fbce-490d-469c-809f-40939eca3966 init=/sbin/runit-init nvidia_drm.modeset=1 nvidia_drm.fbdev=1" +CONFIG_CMDLINE="root=PARTUUID=a243fbce-490d-469c-809f-40939eca3966 init=/sbin/runit-init nvidia_drm.modeset=1 nvidia_drm.fbdev=1 intel_iommu=on" # CONFIG_CMDLINE_OVERRIDE is not set # CONFIG_MODIFY_LDT_SYSCALL is not set # CONFIG_STRICT_SIGALTSTACK_SIZE is not set @@ -44,7 +44,7 @@ elif [ "$_kernelflag" -eq 2 ]; then mount /dev/$boot_drive /mnt/boot sv up ntpd pacman -Sy --confirm - basestrap /mnt base runit seatd-runit + basestrap /mnt base runit seatd-runit udev fstabgen -U /mnt >> /mnt/etc/fstab cp post_chroot.sh /mnt else 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 |