Skip to content

Commit

Permalink
Copy /boot directory
Browse files Browse the repository at this point in the history
  • Loading branch information
alesimula authored Feb 4, 2019
1 parent 18f1e70 commit e35a90d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chromefy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ if [ "$choice" = false ]; then
chromium_root_dir="/home/chronos/RAW"
flag_linux=false
mkdir -p /home/chronos/RAW/usr/lib64
cp -av /home/chronos/local/lib /home/chronos/RAW/
cp -av /home/chronos/local/{lib,boot} /home/chronos/RAW/
cp -av /home/chronos/local/usr/lib64/{dri,va} /home/chronos/RAW/usr/lib64/
if [ ! $? -eq 0 ]; then echo "Error while copying ChromiumOS files locally (insufficent disk space?)"; abort_chromefy; fi
fi
Expand Down Expand Up @@ -185,7 +185,7 @@ umount /home/chronos/image
#Copies modules and certificates from ChromiumOS
rm -rf /home/chronos/local/lib/firmware
rm -rf /home/chronos/local/lib/modules/
cp -av "$chromium_root_dir"/lib /home/chronos/local/
cp -av "$chromium_root_dir"/{lib,boot} /home/chronos/local/
cp -nav "$chromium_root_dir"/usr/lib64/{dri,va} /home/chronos/local/usr/lib64/ #Extra GPU drivers
rm -rf /home/chronos/local/etc/modprobe.d/alsa*.conf
echo; echo "Leave selinux on enforcing? (Won't break SafetyNet without developer mode, but might cause issues with android apps)"
Expand Down

0 comments on commit e35a90d

Please sign in to comment.