removed grub-cfgmake

This commit is contained in:
Ohio2 2021-07-12 23:21:30 +02:00
parent 2a2e71366a
commit d274560236
2 changed files with 0 additions and 40 deletions

View file

@ -1,6 +0,0 @@
#Made By Ohio2
pkg_config_deploy=true
pkg_config_ver="0.2"
pkg_config_name="grub-configmake"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -1,34 +0,0 @@
#!/bin/sh
echo 'Running grub-configmake'
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}" ]
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
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}
grub_root=${grub_root}
EOF
else
. ${install_root}/etc/grub-defaults.cfg
fi
cat > ${install_root}/boot/grub/grub.cfg << "EOF"
set default=0
set timeout=5
insmod ext2
set root=(hd0,${root})
menuentry "Alnux+Busybox/Linux" {
linux /boot/bzImage root=/dev/sda${grub_root} rw init=${init path} rw
}
EOF
echo "grub-configmake made the config . . ."
exit 0