mirror of
https://github.com/t2linux/EndeavourOS-ISO-t2.git
synced 2026-08-16 05:18:06 -07:00
[run_before_squashfs.sh] change from moving to delete nouveau blacklist configs from nvidia-utils
This commit is contained in:
@@ -18,6 +18,10 @@ wget -qN --show-progress -P "airootfs/root/" "https://raw.githubusercontent.com/
|
||||
# Make sure build scripts are executable
|
||||
chmod +x "./"{"mkarchiso","run_before_squashfs.sh"}
|
||||
|
||||
# uncomment to comment calamares package in packages.x86_64 in case you use local build of it
|
||||
#[ -n "$(ls airootfs/root/packages/*calamares* 2>/dev/null)" ] && sed -i '/calamares/ s/^/#/' packages.x86_64
|
||||
|
||||
|
||||
get_pkg() {
|
||||
sudo mkdir -p /tmp/pkg-cache \
|
||||
&& sudo pacman -Syw "$1" --cachedir /tmp/pkg-cache --noconfirm \
|
||||
|
||||
@@ -95,9 +95,9 @@ chmod 644 "/usr/share/endeavouros/backgrounds/"*".png"
|
||||
echo "---> install bash configs back into /etc/skel for offline install target --->"
|
||||
cp -af "/root/filebackups/"{".bashrc",".bash_profile"} "/etc/skel/"
|
||||
|
||||
echo "---> Move blacklisting nouveau out of ISO (copy back to target for offline installs) --->"
|
||||
mv "/usr/lib/modprobe.d/nvidia-utils.conf" "/etc/calamares/files/nv-modprobe"
|
||||
mv "/usr/lib/modules-load.d/nvidia-utils.conf" "/etc/calamares/files/nv-modules-load"
|
||||
echo "---> remove blacklisting nouveau out of ISO (nvidia-utls blacklist configs) --->"
|
||||
rm "/usr/lib/modprobe.d/nvidia-utils.conf"
|
||||
rm "/usr/lib/modules-load.d/nvidia-utils.conf"
|
||||
|
||||
echo "---> get needed packages for offline installs --->"
|
||||
mkdir -p "/usr/share/packages"
|
||||
|
||||
Reference in New Issue
Block a user