Skip to content

Commit

Permalink
[run_before_squashfs.sh] unset bash_profile handling
Browse files Browse the repository at this point in the history
  • Loading branch information
killajoe authored Jan 10, 2024
1 parent a816e78 commit 640f54f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions run_before_squashfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ pacman-key --init
pacman-key --populate archlinux endeavouros
pacman -Syy
# backup bash_profile for offline installs
cp "/etc/skel/bash_profile" "/tmp/"
# Install liveuser skel (in case of conflicts use overwrite)
pacman -U --noconfirm --overwrite "/etc/skel/.bash_profile","/etc/skel/.bashrc" -- "/root/endeavouros-skel-liveuser/"*".pkg.tar.zst"
Expand Down Expand Up @@ -83,9 +80,6 @@ chmod 644 "/usr/share/endeavouros/backgrounds/"*".png"
# reviewing the way we implement custom bashrc (9.1.2023)
# cp -af "/home/liveuser/bashrc" "/etc/skel/"
# place bash_profile in calamares/files (offline)
cp "/tmp/bash_profile" "/etc/calamares/files/"
# 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"
Expand Down

0 comments on commit 640f54f

Please sign in to comment.