Grub-defconfig removed & added grub-configmake, added pthread and curses-lib (ncurses) #18

Merged
hippoz merged 12 commits from Ohio2/repo:master into master 2021-07-13 00:46:24 +03:00
Showing only changes of commit 2a2e71366a - Show all commits

View file

@ -1,12 +1,16 @@
#!/bin/sh
echo 'Running grub-configmake'
read -p "What is the install root you are using?" install_root
echo 'What is the install root you are using?'
read install_root
defaults=`cat ${install_root}/etc/grub-defaults.cfg 2>/dev/null`
if [ -z "${defaults}" ]
read -p "What is the install root you are using?" install_root
echo "What is the install root you are using?"
read install_root
mkdir -p ${install_root}/boot/grub | echo "You probably didn't make /boot" && exit 2
read -p "What drive do you want to set root to? (Only <number> otherwise it won't work.)" grub_root
read -p "Init binary (full path only)" init_path
echo "What drive do you want to set root to? (Only <number> otherwise it won't work.)"
read grub_root
echo "Init binary (full path only)"
read init_path
cat > ${install_root}/etc/grub-defaults.cfg << "EOF"
install_root=${install_root}
init_path=${init_path}