grub-defconfig removed in favour of making a template config by configmake

This commit is contained in:
Ohio2 2021-07-12 02:21:18 +02:00
parent 2549a43d6a
commit 4111d41ef2
2 changed files with 46 additions and 0 deletions

6
grub-configmake/package Executable file
View file

@ -0,0 +1,6 @@
#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

@ -0,0 +1,40 @@
#!/bin/sh
echo -ne 'Running grub-configmake by ohio2'\\r
echo -ne '.'\\r
wait 0.5
echo -ne '.'\\r
wait 0.5
echo -ne '.'\\r
echo
echo
echo
echo
echo
echo
echo
echo
echo
echo
echo
read -p "What drive do you want to set root to? (Only <number> otherwise it won't work.)" root
cat > /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${root} rw
}
EOF
echo
echo
echo
echo
echo
echo
echo
echo
echo "grub-configmake by ohio2 completed it's job"
exit 0