# Super Grub Disk - grub-build-config # Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. # # Super Grub Disk is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Super Grub Disk is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Super Grub Disk. If not, see . # Caller script needs to define: SG2D_DIR variable if [ -z "${SG2D_DIR}" ] ; then echo -e -n "SG2D_DIR variable was not defined\n" echo -e -n "You are supposed to include grub-build-config\n" echo -e -n "from a SG2D Grub build script\n" exit 1 fi GIT_REPO="git://git.savannah.gnu.org/grub.git" GRUB2_COMMIT="grub-2.06" SG2D_GRUB_BUILD_PREFIX="${SG2D_DIR}/sg2d_grub_builds" SG2D_GRUB_BUILD_HYBRID_I386_PC="hybrid_i386_pc" SG2D_GRUB_BUILD_HYBRID_X86_64_EFI="hybrid_x86_64_efi" SG2D_GRUB_BUILD_HYBRID_I386_EFI="hybrid_i386_efi" SG2D_GRUB_BUILD_I386_PC="i386_pc" SG2D_GRUB_BUILD_X86_64_EFI="x86_64_efi" SG2D_GRUB_BUILD_I386_EFI="i386_efi" SG2D_GRUB_INSTALLATION_PREFIX="${SG2D_DIR}/sg2d_grub_installations" SG2D_GRUB_INSTALLATION_HYBRID="hybrid" SG2D_GRUB_INSTALLATION_I386_PC="i386_pc" SG2D_GRUB_INSTALLATION_I386_EFI="i386_efi" SG2D_GRUB_INSTALLATION_X86_64_EFI="x86_64_efi" SG2D_GRUB_BUILD_DIRS_ARR[0]="${SG2D_GRUB_BUILD_PREFIX}/${SG2D_GRUB_BUILD_HYBRID_I386_PC}" SG2D_GRUB_BUILD_DIRS_ARR[1]="${SG2D_GRUB_BUILD_PREFIX}/${SG2D_GRUB_BUILD_HYBRID_I386_EFI}" SG2D_GRUB_BUILD_DIRS_ARR[2]="${SG2D_GRUB_BUILD_PREFIX}/${SG2D_GRUB_BUILD_HYBRID_X86_64_EFI}" SG2D_GRUB_BUILD_DIRS_ARR[3]="${SG2D_GRUB_BUILD_PREFIX}/${SG2D_GRUB_BUILD_I386_PC}" SG2D_GRUB_BUILD_DIRS_ARR[4]="${SG2D_GRUB_BUILD_PREFIX}/${SG2D_GRUB_BUILD_I386_EFI}" SG2D_GRUB_BUILD_DIRS_ARR[5]="${SG2D_GRUB_BUILD_PREFIX}/${SG2D_GRUB_BUILD_X86_64_EFI}" SG2D_GRUB_LOG_PREFIX="sg2d_log" SG2D_SECUREBOOT_BINARIES_DIR="${SG2D_DIR}/secureboot-binaries"