Add noeject config

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:00 -04:00
parent 1ce4c3c791
commit dff5dc3878
1 changed files with 3 additions and 0 deletions

View File

@ -132,6 +132,9 @@ echo "done."
# Add root password hook
echo -n "Copying live-boot templates... "
cat <<EOF > config/includes.chroot/etc/live/config.conf.d/noeject.conf
noeject
EOF
mkdir -p config/includes.chroot/lib/live/boot/
cp ../../templates/9990-initramfs-tools.sh config/includes.chroot/lib/live/boot/9990-initramfs-tools.sh || fail "Failed to copy critical template file"
chmod +x config/includes.chroot/lib/live/boot/9990-initramfs-tools.sh || fail "Failed to copy critical template file"