From d2745602363cf50759a482b1fb85c6ebb8cc7900 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Mon, 12 Jul 2021 23:21:30 +0200 Subject: [PATCH] removed grub-cfgmake --- grub-configmake/package | 6 ---- .../payload/usr/bin/grub-configmake | 34 ------------------- 2 files changed, 40 deletions(-) delete mode 100755 grub-configmake/package delete mode 100644 grub-configmake/payload/usr/bin/grub-configmake diff --git a/grub-configmake/package b/grub-configmake/package deleted file mode 100755 index d94134b..0000000 --- a/grub-configmake/package +++ /dev/null @@ -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="" diff --git a/grub-configmake/payload/usr/bin/grub-configmake b/grub-configmake/payload/usr/bin/grub-configmake deleted file mode 100644 index f349f4d..0000000 --- a/grub-configmake/payload/usr/bin/grub-configmake +++ /dev/null @@ -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 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