Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

PKGBUILD: change _localmodcfg_path to new location (#1040)

Sini41605bd4abb0
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD
index d49e65c5..228b1039 100644
--- a/linux-cachyos-bmq/PKGBUILD
+++ b/linux-cachyos-bmq/PKGBUILD
@@ -39,7 +39,8 @@
: "${_localmodcfg:=no}"
# Path to the list of used modules
-: "${_localmodcfg_path:="$HOME/.config/modprobed.db"}"
+: "${_localmodcfg_path:="$XDG_DATA_HOME/modprobed-db/modprobed.db"}"
+
# Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index 84c407c5..11601f1f 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -39,7 +39,8 @@
: "${_localmodcfg:=no}"
# Path to the list of used modules
-: "${_localmodcfg_path:="$HOME/.config/modprobed.db"}"
+: "${_localmodcfg_path:="$XDG_DATA_HOME/modprobed-db/modprobed.db"}"
+
# Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than
diff --git a/linux-cachyos-deckify/PKGBUILD b/linux-cachyos-deckify/PKGBUILD
index a4a4d1d9..3808bba9 100644
--- a/linux-cachyos-deckify/PKGBUILD
+++ b/linux-cachyos-deckify/PKGBUILD
@@ -39,7 +39,8 @@
: "${_localmodcfg:=no}"
# Path to the list of used modules
-: "${_localmodcfg_path:="$HOME/.config/modprobed.db"}"
+: "${_localmodcfg_path:="$XDG_DATA_HOME/modprobed-db/modprobed.db"}"
+
# Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than
diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILD
index 9937dfb8..9d6ff039 100644
--- a/linux-cachyos-eevdf/PKGBUILD
+++ b/linux-cachyos-eevdf/PKGBUILD
@@ -39,7 +39,8 @@
: "${_localmodcfg:=no}"
# Path to the list of used modules
-: "${_localmodcfg_path:="$HOME/.config/modprobed.db"}"
+: "${_localmodcfg_path:="$XDG_DATA_HOME/modprobed-db/modprobed.db"}"
+
# Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than
diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD
index dad86aae..2ac6e555 100644
--- a/linux-cachyos-hardened/PKGBUILD
+++ b/linux-cachyos-hardened/PKGBUILD
@@ -39,7 +39,8 @@
: "${_localmodcfg:=no}"
# Path to the list of used modules
-: "${_localmodcfg_path:="$HOME/.config/modprobed.db"}"
+: "${_localmodcfg_path:="$XDG_DATA_HOME/modprobed-db/modprobed.db"}"
+
# Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than
diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILD
index 3b59a089..a6a6717d 100644
--- a/linux-cachyos-lts/PKGBUILD
+++ b/linux-cachyos-lts/PKGBUILD
@@ -39,7 +39,8 @@
: "${_localmodcfg:=no}"
# Path to the list of used modules
-: "${_localmodcfg_path:="$HOME/.config/modprobed.db"}"
+: "${_localmodcfg_path:="$XDG_DATA_HOME/modprobed-db/modprobed.db"}"
+
# Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index faf0e7ab..40351f7d 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -39,7 +39,8 @@
: "${_localmodcfg:=no}"
# Path to the list of used modules
-: "${_localmodcfg_path:="$HOME/.config/modprobed.db"}"
+: "${_localmodcfg_path:="$XDG_DATA_HOME/modprobed-db/modprobed.db"}"
+
# Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than
diff --git a/linux-cachyos-rt-bore/PKGBUILD b/linux-cachyos-rt-bore/PKGBUILD
index 5361f570..a9be7cad 100644
--- a/linux-cachyos-rt-bore/PKGBUILD
+++ b/linux-cachyos-rt-bore/PKGBUILD
@@ -39,7 +39,8 @@
: "${_localmodcfg:=no}"
# Path to the list of used modules
-: "${_localmodcfg_path:="$HOME/.config/modprobed.db"}"
+: "${_localmodcfg_path:="$XDG_DATA_HOME/modprobed-db/modprobed.db"}"
+
# Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than
diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILD
index 306d3649..7929405d 100644
--- a/linux-cachyos-server/PKGBUILD
+++ b/linux-cachyos-server/PKGBUILD
@@ -39,7 +39,8 @@
: "${_localmodcfg:=no}"
# Path to the list of used modules
-: "${_localmodcfg_path:="$HOME/.config/modprobed.db"}"
+: "${_localmodcfg_path:="$XDG_DATA_HOME/modprobed-db/modprobed.db"}"
+
# Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index 877043ca..4bc0310d 100644
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -39,7 +39,8 @@
: "${_localmodcfg:=no}"
# Path to the list of used modules
-: "${_localmodcfg_path:="$HOME/.config/modprobed.db"}"
+: "${_localmodcfg_path:="$XDG_DATA_HOME/modprobed-db/modprobed.db"}"
+
# Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than