-
“PushEAX” committed 2 years ago
Showing first 34 files as there are too many
-
GrabAccess_Release/EFI/boot/ANT.exeBinary file.
-
GrabAccess_Release/EFI/boot/bootx64.efiBinary file.
-
GrabAccess_Release/bin/HT_Srl.pfxBinary file.
-
-
GrabAccess_Release/bin/nativex64.exeBinary file.
-
GrabAccess_Release/bin/signtool.exeBinary file.
-
-
GrabAccess_Release/payload.exeBinary file.
-
-
1 + # SPDX-License-Identifier: GPL-3.0+ 2 + # Originally Copyright Roger Meier <[email protected]> 3 + # Adapted for GRUB by Alexander Graf <[email protected]> 4 + # 5 + # Build GRUB on Travis CI - https://www.travis-ci.org/ 6 + # 7 + 8 + dist: bionic 9 + 10 + language: c 11 + 12 + addons: 13 + apt: 14 + packages: 15 + - build-essential 16 + - libsdl1.2-dev 17 + - python 18 + - iasl 19 + - lzop 20 + - unifont 21 + - autopoint 22 + 23 + branches: 24 + only: 25 + - master 26 + 27 + env: 28 + global: 29 + # Include all cross toolchain paths, so we can just call them later down. 30 + - PATH=/usr/bin:/bin:/tmp/cross/gcc-9.2.0-nolibc/aarch64-linux/bin:/tmp/cross/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin:/tmp/cross/gcc-9.2.0-nolibc/ia64-linux/bin:/tmp/cross/gcc-9.2.0-nolibc/mips64-linux/bin:/tmp/cross/gcc-9.2.0-nolibc/powerpc64-linux/bin:/tmp/cross/gcc-9.2.0-nolibc/riscv32-linux/bin:/tmp/cross/gcc-9.2.0-nolibc/riscv64-linux/bin:/tmp/cross/gcc-9.2.0-nolibc/sparc64-linux/bin 31 + 32 + 33 + before_script: 34 + # Install necessary toolchains based on $CROSS_TARGETS variable. 35 + - mkdir /tmp/cross 36 + # These give us binaries like /tmp/cross/gcc-9.2.0-nolibc/ia64-linux/bin/ia64-linux-gcc 37 + - for i in $CROSS_TARGETS; do 38 + ( cd /tmp/cross; wget -t 3 -O - https://mirrors.kernel.org/pub/tools/crosstool/files/bin/x86_64/9.2.0/x86_64-gcc-9.2.0-nolibc-$i.tar.xz | tar xJ ); 39 + done 40 + 41 + script: 42 + # Comments must be outside the command strings below, or the Travis parser 43 + # will get confused. 44 + - ./bootstrap 45 + 46 + # Build all selected GRUB targets. 47 + - for target in $GRUB_TARGETS; do 48 + plat=${target#*-}; 49 + arch=${target%-*}; 50 + [ "$arch" = "arm64" ] && arch=aarch64-linux; 51 + [ "$arch" = "arm" ] && arch=arm-linux-gnueabi; 52 + [ "$arch" = "ia64" ] && arch=ia64-linux; 53 + [ "$arch" = "mipsel" ] && arch=mips64-linux; 54 + [ "$arch" = "powerpc" ] && arch=powerpc64-linux; 55 + [ "$arch" = "riscv32" ] && arch=riscv32-linux; 56 + [ "$arch" = "riscv64" ] && arch=riscv64-linux; 57 + [ "$arch" = "sparc64" ] && arch=sparc64-linux; 58 + echo "Building $target"; 59 + mkdir obj-$target; 60 + JOBS=`getconf _NPROCESSORS_ONLN 2> /dev/null || echo 1`; 61 + [ "$JOBS" == 1 ] || JOBS=$(($JOBS + 1)); 62 + ( cd obj-$target && ../configure --target=$arch --with-platform=$plat --prefix=/tmp/grub && make -j$JOBS && make -j$JOBS install ) &> log || ( cat log; false ); 63 + done 64 + 65 + matrix: 66 + include: 67 + # Each env setting here is a dedicated build. 68 + - name: "x86_64-efi" 69 + env: 70 + - GRUB_TARGETS="x86_64-efi" 71 + # - GRUB_TARGETS="x86_64-xen" 72 + - name: "i386-efi" 73 + env: 74 + - GRUB_TARGETS="i386-efi" 75 + - name: "i386-pc" 76 + env: 77 + - GRUB_TARGETS="i386-pc" 78 + # - GRUB_TARGETS="i386-coreboot i386-ieee1275 i386-multiboot i386-qemu i386-xen i386-xen_pvh" 79 + # - name: "powerpc" 80 + # env: 81 + # - GRUB_TARGETS="powerpc-ieee1275" 82 + # - CROSS_TARGETS="powerpc64-linux" 83 + # - name: "sparc64" 84 + # env: 85 + # - GRUB_TARGETS="sparc64-ieee1275" 86 + # - CROSS_TARGETS="sparc64-linux" 87 + # - name: "ia64" 88 + # env: 89 + # - GRUB_TARGETS="ia64-efi" 90 + # - CROSS_TARGETS="ia64-linux" 91 + # - name: "mips" 92 + # env: 93 + # - GRUB_TARGETS="mips-arc mipsel-arc mipsel-qemu_mips mips-qemu_mips" 94 + # - CROSS_TARGETS="mips64-linux" 95 + - name: "arm-efi" 96 + env: 97 + # - GRUB_TARGETS="arm-coreboot arm-efi arm-uboot" 98 + - GRUB_TARGETS="arm-efi" 99 + - CROSS_TARGETS="arm-linux-gnueabi" 100 + - name: "arm64-efi" 101 + env: 102 + - GRUB_TARGETS="arm64-efi" 103 + - CROSS_TARGETS="aarch64-linux" 104 + # - name: "riscv32" 105 + # env: 106 + # - GRUB_TARGETS="riscv32-efi" 107 + # - CROSS_TARGETS="riscv32-linux" 108 + # - name: "riscv64" 109 + # env: 110 + # - GRUB_TARGETS="riscv64-efi" 111 + # - CROSS_TARGETS="riscv64-linux" 112 + -
-
-
-
-
-
1 + List of current GRUB maintainers and some basic information about the project 2 + ============================================================================= 3 + 4 + Here is the list of current GRUB maintainers: 5 + - Daniel Kiper <[email protected]> and <[email protected]>, 6 + - Alex Burmashev <[email protected]>, 7 + - Vladimir 'phcoder' Serbinenko <[email protected]>. 8 + 9 + The maintainers drive and overlook the GRUB development. 10 + 11 + If you found a security vulnerability in the GRUB please check the SECURITY 12 + file to get more information how to properly report this kind of bugs to 13 + the maintainers. 14 + 15 + The GRUB development happens on the grub-devel mailing list [1]. The latest 16 + GRUB source code is available at Savannah git repository [2]. 17 + 18 + Users can ask for help on the help-grub mailing list [3]. 19 + 20 + 21 + List of past GRUB maintainers and people who strongly contributed to the project 22 + ================================================================================ 23 + 24 + Here is the list, sorted alphabetically, of past GRUB maintainers and people who 25 + strongly contributed to the project: 26 + - Andrei Borzenkov, 27 + - Bryan Ford, 28 + - Erich Stefan Boleyn, 29 + - Gordon Matzigkeit, 30 + - Yoshinori K. Okuji. 31 + 32 + 33 + [1] https://lists.gnu.org/mailman/listinfo/grub-devel 34 + [2] https://git.savannah.gnu.org/gitweb/?p=grub.git&view=view+git+repository 35 + [3] https://lists.gnu.org/mailman/listinfo/help-grub 36 + -
1 + AUTOMAKE_OPTIONS = subdir-objects -Wno-portability 2 + 3 + DEPDIR = .deps-util 4 + SUBDIRS = grub-core/lib/gnulib . 5 + if COND_real_platform 6 + SUBDIRS += grub-core 7 + endif 8 + SUBDIRS += po docs util/bash-completion.d 9 + 10 + include $(top_srcdir)/conf/Makefile.common 11 + include $(top_srcdir)/conf/Makefile.extra-dist 12 + 13 + AM_CFLAGS = $(HOST_CFLAGS) 14 + AM_LDFLAGS = $(HOST_LDFLAGS) 15 + AM_CPPFLAGS = $(HOST_CPPFLAGS) $(CPPFLAGS_DEFAULT) 16 + AM_CCASFLAGS = $(HOST_CCASFLAGS) $(CCASFLAGS_DEFAULT) 17 + 18 + ACLOCAL_AMFLAGS = -I m4 19 + 20 + CFLAGS_PROGRAM += $(CFLAGS_GNULIB) 21 + LDFLAGS_PROGRAM += $(LDFLAGS_GNULIB) 22 + CPPFLAGS_PROGRAM += $(CPPFLAGS_GNULIB) 23 + CCASFLAGS_PROGRAM += $(CCASFLAGS_GNULIB) 24 + 25 + include $(srcdir)/Makefile.util.am 26 + 27 + check_SCRIPTS = $(check_SCRIPTS_native) $(check_SCRIPTS_nonnative) 28 + check_PROGRAMS = $(check_PROGRAMS_native) $(check_PROGRAMS_nonnative) 29 + TESTS = $(check_SCRIPTS) $(check_PROGRAMS) 30 + 31 + check-native: 32 + $(MAKE) TESTS="$(check_PROGRAMS_native) $(check_SCRIPTS_native)" check 33 + check-nonnative: 34 + $(MAKE) TESTS="$(check_PROGRAMS_nonnative) $(check_SCRIPTS_nonnative)" check 35 + 36 + # XXX Use Automake's LEX & YACC support 37 + grub_script.tab.h: $(top_srcdir)/grub-core/script/parser.y 38 + $(YACC) -d -p grub_script_yy -b grub_script $(top_srcdir)/grub-core/script/parser.y 39 + grub_script.tab.c: grub_script.tab.h 40 + CLEANFILES += grub_script.tab.c grub_script.tab.h 41 + 42 + # For the lexer. 43 + grub_script.yy.h: $(top_srcdir)/grub-core/script/yylex.l 44 + $(LEX) -o grub_script.yy.c --header-file=grub_script.yy.h $(top_srcdir)/grub-core/script/yylex.l 45 + grub_script.yy.c: grub_script.yy.h 46 + CLEANFILES += grub_script.yy.c grub_script.yy.h 47 + 48 + # For libgrub.a 49 + libgrub.pp: config-util.h grub_script.tab.h grub_script.yy.h $(libgrubmods_a_SOURCES) $(libgrubkern_a_SOURCES) 50 + $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) \ 51 + -D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1) 52 + CLEANFILES += libgrub.pp 53 + 54 + libgrub_a_init.lst: libgrub.pp 55 + cat $< | grep '^@MARKER@' | sed 's/@MARKER@\(.*\)@/\1/g' | sort -u > $@ || (rm -f $@; exit 1) 56 + CLEANFILES += libgrub_a_init.lst 57 + 58 + libgrub_a_init.c: libgrub_a_init.lst $(top_srcdir)/geninit.sh 59 + sh $(top_srcdir)/geninit.sh `cat $<` > $@ || (rm -f $@; exit 1) 60 + CLEANFILES += libgrub_a_init.c 61 + 62 + # For grub-fstest 63 + grub_fstest.pp: $(grub_fstest_SOURCES) 64 + $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) \ 65 + -D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1) 66 + CLEANFILES += grub_fstest.pp 67 + 68 + grub_fstest_init.lst: libgrub.pp grub_fstest.pp 69 + cat $^ | grep '^@MARKER@' | sed 's/@MARKER@\(.*\)@/\1/g' | sort -u > $@ || (rm -f $@; exit 1) 70 + CLEANFILES += grub_fstest_init.lst 71 + 72 + grub_fstest_init.c: grub_fstest_init.lst $(top_srcdir)/geninit.sh 73 + sh $(top_srcdir)/geninit.sh `cat $<` > $@ || (rm -f $@; exit 1) 74 + CLEANFILES += grub_fstest_init.c 75 + 76 + if COND_HAVE_FONT_SOURCE 77 + pkgdata_DATA += unicode.pf2 ascii.pf2 euro.pf2 ascii.h widthspec.h 78 + endif 79 + 80 + starfield_theme_files = $(srcdir)/themes/starfield/blob_w.png $(srcdir)/themes/starfield/boot_menu_c.png $(srcdir)/themes/starfield/boot_menu_e.png $(srcdir)/themes/starfield/boot_menu_ne.png $(srcdir)/themes/starfield/boot_menu_n.png $(srcdir)/themes/starfield/boot_menu_nw.png $(srcdir)/themes/starfield/boot_menu_se.png $(srcdir)/themes/starfield/boot_menu_s.png $(srcdir)/themes/starfield/boot_menu_sw.png $(srcdir)/themes/starfield/boot_menu_w.png $(srcdir)/themes/starfield/slider_c.png $(srcdir)/themes/starfield/slider_n.png $(srcdir)/themes/starfield/slider_s.png $(srcdir)/themes/starfield/starfield.png $(srcdir)/themes/starfield/terminal_box_c.png $(srcdir)/themes/starfield/terminal_box_e.png $(srcdir)/themes/starfield/terminal_box_ne.png $(srcdir)/themes/starfield/terminal_box_n.png $(srcdir)/themes/starfield/terminal_box_nw.png $(srcdir)/themes/starfield/terminal_box_se.png $(srcdir)/themes/starfield/terminal_box_s.png $(srcdir)/themes/starfield/terminal_box_sw.png $(srcdir)/themes/starfield/terminal_box_w.png $(srcdir)/themes/starfield/theme.txt $(srcdir)/themes/starfield/README $(srcdir)/themes/starfield/COPYING.CC-BY-SA-3.0 81 + 82 + build-grub-mkfont$(BUILD_EXEEXT): util/grub-mkfont.c grub-core/unidata.c grub-core/kern/emu/misc.c util/misc.c 83 + $(BUILD_CC) -o $@ -I$(top_srcdir)/include $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $(BUILD_LDFLAGS) -DGRUB_MKFONT=1 -DGRUB_BUILD=1 -DGRUB_UTIL=1 -DGRUB_BUILD_PROGRAM_NAME=\"build-grub-mkfont\" $^ $(BUILD_FREETYPE_CFLAGS) $(BUILD_FREETYPE_LIBS) 84 + CLEANFILES += build-grub-mkfont$(BUILD_EXEEXT) 85 + 86 + garbage-gen$(BUILD_EXEEXT): util/garbage-gen.c 87 + $(BUILD_CC) -o $@ $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $(BUILD_LDFLAGS) $^ 88 + CLEANFILES += garbage-gen$(BUILD_EXEEXT) 89 + EXTRA_DIST += util/garbage-gen.c 90 + 91 + build-grub-gen-asciih$(BUILD_EXEEXT): util/grub-gen-asciih.c 92 + $(BUILD_CC) -o $@ -I$(top_srcdir)/include $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $(BUILD_LDFLAGS) -DGRUB_MKFONT=1 -DGRUB_BUILD=1 -DGRUB_UTIL=1 $^ $(BUILD_FREETYPE_CFLAGS) $(BUILD_FREETYPE_LIBS) -Wall -Werror 93 + CLEANFILES += build-grub-gen-asciih$(BUILD_EXEEXT) 94 + 95 + build-grub-gen-widthspec$(BUILD_EXEEXT): util/grub-gen-widthspec.c 96 + $(BUILD_CC) -o $@ -I$(top_srcdir)/include $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $(BUILD_LDFLAGS) -DGRUB_MKFONT=1 -DGRUB_BUILD=1 -DGRUB_UTIL=1 $^ $(BUILD_FREETYPE_CFLAGS) $(BUILD_FREETYPE_LIBS) -Wall -Werror 97 + CLEANFILES += build-grub-gen-widthspec$(BUILD_EXEEXT) 98 + 99 + if COND_STARFIELD 100 + starfield_DATA = dejavu_10.pf2 dejavu_12.pf2 dejavu_bold_14.pf2 dejavu_14.pf2 dejavu_16.pf2 $(starfield_theme_files) 101 + dejavu_10.pf2: $(DJVU_FONT_SOURCE) build-grub-mkfont$(BUILD_EXEEXT) 102 + ./build-grub-mkfont$(BUILD_EXEEXT) -s 10 -o $@ $(DJVU_FONT_SOURCE) 103 + CLEANFILES += dejavu_10.pf2 104 + dejavu_12.pf2: $(DJVU_FONT_SOURCE) build-grub-mkfont$(BUILD_EXEEXT) 105 + ./build-grub-mkfont$(BUILD_EXEEXT) -s 12 -o $@ $(DJVU_FONT_SOURCE) 106 + CLEANFILES += dejavu_12.pf2 107 + dejavu_14.pf2: $(DJVU_FONT_SOURCE) build-grub-mkfont$(BUILD_EXEEXT) 108 + ./build-grub-mkfont$(BUILD_EXEEXT) -s 14 -o $@ $(DJVU_FONT_SOURCE) 109 + CLEANFILES += dejavu_14.pf2 110 + dejavu_bold_14.pf2: $(DJVU_FONT_SOURCE) build-grub-mkfont$(BUILD_EXEEXT) 111 + ./build-grub-mkfont$(BUILD_EXEEXT) -b -s 14 -o $@ $(DJVU_FONT_SOURCE) 112 + CLEANFILES += dejavu_bold_14.pf2 113 + dejavu_16.pf2: $(DJVU_FONT_SOURCE) build-grub-mkfont$(BUILD_EXEEXT) 114 + ./build-grub-mkfont$(BUILD_EXEEXT) -s 16 -o $@ $(DJVU_FONT_SOURCE) 115 + CLEANFILES += dejavu_16.pf2 116 + else 117 + starfield_DATA = 118 + endif 119 + 120 + EXTRA_DIST += $(starfield_theme_files) 121 + EXTRA_DIST += $(srcdir)/themes/starfield/src/slider_s.xcf $(srcdir)/themes/starfield/src/slider_n.xcf $(srcdir)/themes/starfield/src/slider_c.xcf $(srcdir)/themes/starfield/src/blob_nw.xcf $(srcdir)/themes/starfield/src/bootmenu/center.xcf $(srcdir)/themes/starfield/src/bootmenu/corner.xcf $(srcdir)/themes/starfield/src/bootmenu/side.xcf $(srcdir)/themes/starfield/src/terminalbox/side.xcf $(srcdir)/themes/starfield/src/terminalbox/corner.xcf $(srcdir)/themes/starfield/src/terminalbox/center.xcf 122 + 123 + unicode.pf2: $(FONT_SOURCE) build-grub-mkfont$(BUILD_EXEEXT) 124 + ./build-grub-mkfont$(BUILD_EXEEXT) -o $@ $(FONT_SOURCE) || (rm -f $@; exit 1) 125 + CLEANFILES += unicode.pf2 126 + 127 + # Arrows and lines are needed to draw the menu, so always include them 128 + UNICODE_ARROWS=0x2190-0x2193 129 + UNICODE_LINES=0x2501-0x251B 130 + 131 + ascii.pf2: $(FONT_SOURCE) build-grub-mkfont$(BUILD_EXEEXT) 132 + ./build-grub-mkfont$(BUILD_EXEEXT) -o $@ $(FONT_SOURCE) -r 0x0-0x7f,$(UNICODE_ARROWS),$(UNICODE_LINES) || (rm -f $@; exit 1) 133 + CLEANFILES += ascii.pf2 134 + 135 + euro.pf2: $(FONT_SOURCE) build-grub-mkfont$(BUILD_EXEEXT) 136 + ./build-grub-mkfont$(BUILD_EXEEXT) -o $@ $(FONT_SOURCE) -r 0x0-0x4ff,0x1e00-0x1fff,$(UNICODE_ARROWS),$(UNICODE_LINES) || (rm -f $@; exit 1) 137 + CLEANFILES += euro.pf2 138 + 139 + ascii.h: $(FONT_SOURCE) build-grub-gen-asciih$(BUILD_EXEEXT) 140 + ./build-grub-gen-asciih$(BUILD_EXEEXT) $(FONT_SOURCE) $@ || (rm -f $@; exit 1) 141 + CLEANFILES += ascii.h 142 + 143 + widthspec.h: $(FONT_SOURCE) build-grub-gen-widthspec$(BUILD_EXEEXT) 144 + ./build-grub-gen-widthspec$(BUILD_EXEEXT) $(FONT_SOURCE) $@ || (rm -f $@; exit 1) 145 + CLEANFILES += widthspec.h 146 + 147 + # Install config.h into platformdir 148 + nodist_platform_HEADERS = config.h 149 + 150 + pkgdata_DATA += grub-mkconfig_lib 151 + 152 + 153 + if COND_real_platform 154 + 155 + if COND_i386_coreboot 156 + QEMU32=qemu-system-i386 157 + MINIMUM_CPU_LINUX=pentium2 158 + endif 159 + 160 + if COND_i386_multiboot 161 + QEMU32=qemu-system-i386 162 + MINIMUM_CPU_LINUX=pentium2 163 + endif 164 + 165 + if COND_i386_ieee1275 166 + QEMU32=qemu-system-i386 167 + MINIMUM_CPU_LINUX=pentium2 168 + endif 169 + 170 + if COND_i386_qemu 171 + QEMU32=qemu-system-i386 172 + MINIMUM_CPU_LINUX=pentium2 173 + endif 174 + 175 + if COND_i386_pc 176 + QEMU32=qemu-system-i386 177 + MINIMUM_CPU_LINUX=pentium2 178 + endif 179 + 180 + if COND_i386_efi 181 + QEMU32=qemu-system-i386 182 + MINIMUM_CPU_LINUX=pentium2 183 + endif 184 + 185 + if COND_x86_64_efi 186 + QEMU32=qemu-system-x86_64 187 + MINIMUM_CPU_LINUX=core2duo 188 + endif 189 + 190 + linux.init.x86_64: $(srcdir)/grub-core/tests/boot/linux.init-x86_64.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 191 + $(TARGET_CC) -o $@ $< -static -m64 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" 192 + 193 + linux.init.i386: $(srcdir)/grub-core/tests/boot/linux.init-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 194 + $(TARGET_CC) -o $@ $< -static -m32 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" 195 + 196 + linux.init.mips: $(srcdir)/grub-core/tests/boot/linux.init-mips.S 197 + $(TARGET_CC) -o $@ $< -static -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" 198 + 199 + linux.init.ppc: $(srcdir)/grub-core/tests/boot/linux.init-ppc.S 200 + $(TARGET_CC) -o $@ $< -static -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" 201 + 202 + linux.init.mipsel: $(srcdir)/grub-core/tests/boot/linux.init-mips.S 203 + $(TARGET_CC) -o $@ $< -static -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" 204 + 205 + linux.init.loongson: $(srcdir)/grub-core/tests/boot/linux.init-mips.S 206 + $(TARGET_CC) -o $@ $< -static -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -DREBOOT=1 207 + 208 + multiboot.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 209 + $(TARGET_CC) -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -static -ffreestanding -nostdlib -nostdinc -DTARGET_MULTIBOOT=1 -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include 210 + 211 + kfreebsd.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 212 + $(TARGET_CC) -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -static -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include 213 + 214 + kfreebsd.aout: kfreebsd.elf 215 + $(TARGET_OBJCOPY) -O a.out-i386-linux $< $@ -j .text 216 + 217 + pc-chainloader.elf: $(srcdir)/grub-core/tests/boot/kernel-8086.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 218 + $(TARGET_CC) -o $@ $< -static -DTARGET_CHAINLOADER=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x7c00 -m32 219 + 220 + pc-chainloader.bin: pc-chainloader.elf 221 + $(TARGET_OBJCOPY) -O binary --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn -R .note.gnu.gold-version $< $@; 222 + 223 + ntldr.elf: $(srcdir)/grub-core/tests/boot/kernel-8086.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 224 + $(TARGET_CC) -o $@ $< -DTARGET_NTLDR=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -static -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0 -m32 225 + 226 + ntldr.bin: ntldr.elf 227 + $(TARGET_OBJCOPY) -O binary --strip-unneeded -j .text $< $@; 228 + 229 + multiboot2.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 230 + $(TARGET_CC) -static -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include -DTARGET_MULTIBOOT2=1 231 + 232 + kfreebsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kfreebsd.init-x86_64.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 233 + $(TARGET_CC) -o $@ $< -m64 -static -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" && freebsd-brandelf -t FreeBSD $@ 234 + 235 + kfreebsd.init.i386: $(srcdir)/grub-core/tests/boot/kfreebsd.init-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 236 + $(TARGET_CC) -o $@ $< -m32 -static -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" && freebsd-brandelf -t FreeBSD $@ 237 + 238 + knetbsd.init.i386: $(srcdir)/grub-core/tests/boot/kbsd.init-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 239 + $(TARGET_CC) -o $@ $< -m32 -static -nostdlib -nostdinc -DTARGET_NETBSD=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" 240 + 241 + kopenbsd.init.i386: $(srcdir)/grub-core/tests/boot/kbsd.init-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 242 + $(TARGET_CC) -o $@ $< -m32 -static -nostdlib -nostdinc -DTARGET_OPENBSD=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" 243 + 244 + knetbsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kbsd.init-x86_64.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 245 + $(TARGET_CC) -o $@ $< -m64 -DTARGET_NETBSD=1 -static -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" 246 + 247 + kopenbsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kbsd.init-x86_64.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S 248 + $(TARGET_CC) -o $@ $< -m64 -DTARGET_OPENBSD=1 -static -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" 249 + 250 + linux-initramfs.mips: linux.init.mips Makefile 251 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio -R 0:0 --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR 252 + 253 + linux-initramfs.ppc: linux.init.ppc Makefile 254 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio -R 0:0 --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR 255 + 256 + linux-initramfs.mipsel: linux.init.mipsel Makefile 257 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio -R 0:0 --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR 258 + 259 + linux-initramfs.loongson: linux.init.loongson Makefile 260 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio -R 0:0 --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR 261 + 262 + linux-initramfs.i386: linux.init.i386 Makefile 263 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio -R 0:0 --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR 264 + 265 + linux-initramfs.x86_64: linux.init.x86_64 Makefile 266 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio -R 0:0 --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR 267 + 268 + kfreebsd-mfsroot.i386.img: kfreebsd.init.i386 Makefile 269 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -t ffs -s 30m -f 1000 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR 270 + 271 + knetbsd.image.i386: knetbsd.init.i386 $(srcdir)/grub-core/tests/boot/kbsd.spec.txt 272 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 64k -f 10 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR 273 + 274 + kopenbsd.image.i386: kopenbsd.init.i386 $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt 275 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 128k -f 10 -o minfree=0,version=1 $@ $$TDIR && bsdlabel -f -R $@ $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt && rm -rf $$TDIR || rm -f $@ 276 + 277 + kopenbsd.image.x86_64: kopenbsd.init.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt 278 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 128k -f 10 -o minfree=0,version=1 $@ $$TDIR && bsdlabel -f -R $@ $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt && rm -rf $$TDIR || rm -f $@ 279 + 280 + knetbsd.miniroot-image.i386.img: knetbsd.image.i386 $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.i386 281 + $(TARGET_OBJCOPY) --add-section=miniroot=$< $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.i386 $@ 282 + 283 + kfreebsd-mfsroot.x86_64.img: kfreebsd.init.x86_64 Makefile 284 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -t ffs -s 30m -f 1000 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR 285 + 286 + knetbsd.image.x86_64: knetbsd.init.x86_64 $(srcdir)/grub-core/tests/boot/kbsd.spec.txt 287 + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 64k -f 10 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR 288 + 289 + knetbsd.miniroot-image.x86_64.img: knetbsd.image.x86_64 $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.x86_64 290 + $(TARGET_OBJCOPY) --add-section=miniroot=$< $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.x86_64 $@ 291 + 292 + CLEANFILES += linux.init.i386 kfreebsd.init.i386 linux.init.x86_64 linux-initramfs.i386 linux-initramfs.x86_64 293 + 294 + kfreebsd-mfsroot.i386.gz: kfreebsd-mfsroot.i386.img 295 + gzip < $< > $@ 296 + 297 + bootcheck-kfreebsd-i386: kfreebsd-mfsroot.i386.gz $(GRUB_PAYLOADS_DIR)/kfreebsd.i386 $(GRUB_PAYLOADS_DIR)/kfreebsd_env.i386 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg grub-shell 298 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/mfsroot.gz=kfreebsd-mfsroot.i386.gz --files=/kfreebsd=$(GRUB_PAYLOADS_DIR)/kfreebsd.i386 --files=/kfreebsd_env=$(GRUB_PAYLOADS_DIR)/kfreebsd_env.i386 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 299 + 300 + kfreebsd-mfsroot.x86_64.gz: kfreebsd-mfsroot.x86_64.img 301 + gzip < $< > $@ 302 + 303 + bootcheck-kfreebsd-x86_64: kfreebsd-mfsroot.x86_64.gz $(GRUB_PAYLOADS_DIR)/kfreebsd.x86_64 $(GRUB_PAYLOADS_DIR)/kfreebsd_env.x86_64 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg grub-shell 304 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=qemu-system-x86_64 --files=/mfsroot.gz=kfreebsd-mfsroot.x86_64.gz --files=/kfreebsd=$(GRUB_PAYLOADS_DIR)/kfreebsd.x86_64 --files=/kfreebsd_env=$(GRUB_PAYLOADS_DIR)/kfreebsd_env.x86_64 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 305 + 306 + knetbsd.miniroot-image.i386.gz: knetbsd.miniroot-image.i386.img 307 + gzip < $< > $@ 308 + 309 + bootcheck-knetbsd-i386: knetbsd.miniroot-image.i386.gz $(GRUB_PAYLOADS_DIR)/knetbsd.i386 $(srcdir)/grub-core/tests/boot/knetbsd.cfg grub-shell 310 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/miniroot.gz=knetbsd.miniroot-image.i386.gz --files=/knetbsd=$(GRUB_PAYLOADS_DIR)/knetbsd.i386 $(srcdir)/grub-core/tests/boot/knetbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 311 + 312 + bootcheck-kopenbsd-i386: kopenbsd.image.i386 $(GRUB_PAYLOADS_DIR)/kopenbsd.i386 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg grub-shell 313 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/ramdisk=kopenbsd.image.i386 --files=/kopenbsd=$(GRUB_PAYLOADS_DIR)/kopenbsd.i386 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 314 + 315 + bootcheck-kopenbsd-x86_64: kopenbsd.image.x86_64 $(GRUB_PAYLOADS_DIR)/kopenbsd.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg grub-shell 316 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=qemu-system-x86_64 --files=/ramdisk=kopenbsd.image.x86_64 --files=/kopenbsd=$(GRUB_PAYLOADS_DIR)/kopenbsd.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 317 + 318 + knetbsd.miniroot-image.x86_64.gz: knetbsd.miniroot-image.x86_64.img 319 + gzip < $< > $@ 320 + 321 + bootcheck-knetbsd-x86_64: knetbsd.miniroot-image.x86_64.gz $(GRUB_PAYLOADS_DIR)/knetbsd.x86_64 $(srcdir)/grub-core/tests/boot/knetbsd.cfg grub-shell 322 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=qemu-system-x86_64 --files=/miniroot.gz=knetbsd.miniroot-image.x86_64.gz --files=/knetbsd=$(GRUB_PAYLOADS_DIR)/knetbsd.x86_64 $(srcdir)/grub-core/tests/boot/knetbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 323 + 324 + bootcheck-linux-i386: linux-initramfs.i386 $(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell 325 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/initrd=linux-initramfs.i386 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg --qemu-opts="-cpu $(MINIMUM_CPU_LINUX)" | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 326 + 327 + bootcheck-linux-x86_64: linux-initramfs.x86_64 $(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell 328 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=qemu-system-x86_64 --files=/initrd=linux-initramfs.x86_64 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 329 + 330 + bootcheck-linux-mips: linux-initramfs.mips $(GRUB_PAYLOADS_DIR)/linux.mips $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell 331 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --files=/initrd=linux-initramfs.mips --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.mips $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 332 + 333 + bootcheck-linux-ppc: linux-initramfs.ppc $(GRUB_PAYLOADS_DIR)/linux.ppc $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell 334 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --files=/initrd=linux-initramfs.ppc --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.ppc $(srcdir)/grub-core/tests/boot/linux-ppc.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 335 + 336 + bootcheck-linux-mipsel: linux-initramfs.mipsel $(GRUB_PAYLOADS_DIR)/linux.mipsel $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell 337 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --files=/initrd=linux-initramfs.mipsel --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.mipsel $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 338 + 339 + bootcheck-linux-loongson: linux-initramfs.loongson $(GRUB_PAYLOADS_DIR)/linux.loongson $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell 340 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --files=/initrd=linux-initramfs.loongson --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.loongson $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 341 + 342 + bootcheck-linux16-i386: linux-initramfs.i386 $(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell 343 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/initrd=linux-initramfs.i386 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux16.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 344 + 345 + bootcheck-linux16-x86_64: linux-initramfs.x86_64 $(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell 346 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=qemu-system-x86_64 --files=/initrd=linux-initramfs.x86_64 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux16.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 347 + 348 + bootcheck-multiboot: multiboot.elf $(srcdir)/grub-core/tests/boot/multiboot.cfg grub-shell 349 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/multiboot.elf=multiboot.elf $(srcdir)/grub-core/tests/boot/multiboot.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 350 + 351 + bootcheck-multiboot2: multiboot2.elf $(srcdir)/grub-core/tests/boot/multiboot2.cfg grub-shell 352 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/multiboot2.elf=multiboot2.elf $(srcdir)/grub-core/tests/boot/multiboot2.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 353 + 354 + bootcheck-kfreebsd-aout: kfreebsd.aout $(srcdir)/grub-core/tests/boot/kfreebsd-aout.cfg grub-shell 355 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/kfreebsd.aout=kfreebsd.aout $(srcdir)/grub-core/tests/boot/kfreebsd-aout.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 356 + 357 + bootcheck-pc-chainloader: pc-chainloader.bin $(srcdir)/grub-core/tests/boot/pc-chainloader.cfg grub-shell 358 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/pc-chainloader.bin=pc-chainloader.bin $(srcdir)/grub-core/tests/boot/pc-chainloader.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 359 + 360 + bootcheck-ntldr: ntldr.bin $(srcdir)/grub-core/tests/boot/ntldr.cfg grub-shell 361 + ./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/ntldr.bin=ntldr.bin $(srcdir)/grub-core/tests/boot/ntldr.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null 362 + 363 + if COND_i386_efi 364 + # NetBSD has no support for finding ACPI on EFI 365 + BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-kopenbsd-i386 bootcheck-kopenbsd-x86_64 bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 bootcheck-kfreebsd-x86_64 bootcheck-kfreebsd-i386 366 + endif 367 + 368 + if COND_x86_64_efi 369 + # NetBSD has no support for finding ACPI on EFI 370 + BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-kopenbsd-i386 bootcheck-kopenbsd-x86_64 bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 bootcheck-kfreebsd-x86_64 bootcheck-kfreebsd-i386 371 + endif 372 + 373 + if COND_i386_multiboot 374 + # *BSD requires ACPI 375 + BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 376 + endif 377 + 378 + 379 + if COND_i386_qemu 380 + # *BSD requires ACPI 381 + BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 382 + endif 383 + 384 + if COND_i386_coreboot 385 + BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-kopenbsd-i386 bootcheck-kopenbsd-x86_64 bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 bootcheck-knetbsd-x86_64 bootcheck-kfreebsd-x86_64 bootcheck-kfreebsd-i386 386 + endif 387 + 388 + if COND_i386_ieee1275 389 + # *BSD requires ACPI 390 + #legacy protocol (linux16) makes early BIOS calls. 391 + BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 392 + endif 393 + 394 + if COND_i386_pc 395 + #pc chainloader by definition is only for i386-pc 396 + #ntldr and bootmgr require BIOS. 397 + #legacy protocol (linux16) makes early BIOS calls. 398 + # 32-bit NetBSD crashes early on non-BIOS 399 + BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-kopenbsd-i386 bootcheck-kopenbsd-x86_64 bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 bootcheck-knetbsd-x86_64 bootcheck-kfreebsd-x86_64 bootcheck-kfreebsd-i386 bootcheck-pc-chainloader bootcheck-ntldr bootcheck-linux16-i386 bootcheck-linux16-x86_64 bootcheck-knetbsd-i386 400 + endif 401 + 402 + if COND_mips_loongson 403 + BOOTCHECKS = bootcheck-linux-loongson 404 + endif 405 + 406 + if COND_mipsel 407 + if COND_mips_qemu_mips 408 + BOOTCHECKS = bootcheck-linux-mipsel 409 + endif 410 + endif 411 + if COND_mipseb 412 + if COND_mips_qemu_mips 413 + BOOTCHECKS = bootcheck-linux-mips 414 + endif 415 + endif 416 + 417 + if COND_powerpc_ieee1275 418 + BOOTCHECKS = bootcheck-linux-ppc 419 + endif 420 + 421 + .PHONY: bootcheck-linux-i386 bootcheck-linux-x86_64 \ 422 + bootcheck-kfreebsd-i386 bootcheck-kfreebsd-x86_64 \ 423 + bootcheck-knetbsd-i386 bootcheck-knetbsd-x86_64 \ 424 + bootcheck-linux-mips FORCE 425 + 426 + # Randomly generated 427 + SUCCESSFUL_BOOT_STRING=3e49994fd5d82b7c9298d672d774080d 428 + # tianocore cd access is very slow 429 + BOOTCHECK_TIMEOUT=180 430 + 431 + bootcheck: $(BOOTCHECKS) 432 + 433 + if COND_i386_coreboot 434 + FS_PAYLOAD_MODULES ?= $(shell cat grub-core/fs.lst) 435 + default_payload.elf: grub-mkstandalone grub-mkimage FORCE 436 + test -f $@ && rm $@ || true 437 + pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o $@ --modules='ahci pata xhci ehci uhci ohci usb_keyboard usbms part_msdos ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs' --install-modules='ls linux search configfile normal cbtime cbls memrw iorw minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain test serial multiboot cbmemc linux16 gzio echo help syslinuxcfg xnu $(FS_PAYLOAD_MODULES) password_pbkdf2 $(EXTRA_PAYLOAD_MODULES)' --fonts= --themes= --locales= -d grub-core/ /boot/grub/grub.cfg=$(srcdir)/coreboot.cfg 438 + endif 439 + 440 + endif 441 + 442 + EXTRA_DIST += grub-core/tests/boot/kbsd.init-i386.S grub-core/tests/boot/kbsd.init-x86_64.S grub-core/tests/boot/kbsd.spec.txt grub-core/tests/boot/kernel-8086.S grub-core/tests/boot/kernel-i386.S grub-core/tests/boot/kfreebsd-aout.cfg grub-core/tests/boot/kfreebsd.cfg grub-core/tests/boot/kfreebsd.init-i386.S grub-core/tests/boot/kfreebsd.init-x86_64.S grub-core/tests/boot/knetbsd.cfg grub-core/tests/boot/kopenbsd.cfg grub-core/tests/boot/kopenbsdlabel.txt grub-core/tests/boot/linux16.cfg grub-core/tests/boot/linux.cfg grub-core/tests/boot/linux.init-i386.S grub-core/tests/boot/linux.init-mips.S grub-core/tests/boot/linux.init-ppc.S grub-core/tests/boot/linux.init-x86_64.S grub-core/tests/boot/linux-ppc.cfg grub-core/tests/boot/multiboot2.cfg grub-core/tests/boot/multiboot.cfg grub-core/tests/boot/ntldr.cfg grub-core/tests/boot/pc-chainloader.cfg grub-core/tests/boot/qemu-shutdown-x86.S 443 + 444 + windowsdir=$(top_builddir)/$(PACKAGE)-$(VERSION)-for-windows 445 + windowsdir: $(PROGRAMS) $(starfield_DATA) $(platform_DATA) 446 + test -d $(windowsdir) && rm -rf $(windowsdir) || true 447 + test -d $(windowsdir) || mkdir $(windowsdir) 448 + $(MAKE) -C po $(AM_MAKEFLAGS) windowsdir 449 + $(MAKE) -C grub-core $(AM_MAKEFLAGS) windowsdir 450 + test -d $(windowsdir)/themes || mkdir $(windowsdir)/themes 451 + test -d $(windowsdir)/themes/starfield || mkdir $(windowsdir)/themes/starfield 452 + for x in $(PROGRAMS); do \ 453 + if [ x$(STRIP) != x ]; then $(STRIP) $$x -o $(windowsdir)/$$x; \ 454 + else cp -fp $$x $(windowsdir)/$$x; fi; \ 455 + done 456 + for x in $(pkgdata_DATA); do \ 457 + cp -fp $$x $(windowsdir)/$$x; \ 458 + done 459 + for x in $(starfield_DATA); do \ 460 + cp -fp $$x $(windowsdir)/themes/starfield/$$(basename $$x); \ 461 + done 462 + for x in $(GRUB_WINDOWS_EXTRA_DIST); do \ 463 + cp -fp $$x $(windowsdir); \ 464 + done 465 + 466 + windowszip=$(top_builddir)/$(PACKAGE)-$(VERSION)-for-windows.zip 467 + windowszip: windowsdir 468 + test -f $(windowszip) && rm $(windowszip) || true 469 + zip -r $(windowszip) $(windowsdir) 470 + rm -rf $(windowsdir) 471 + 472 + EXTRA_DIST += linguas.sh 473 + 474 + changelog_start_date = 2015-01-23 475 + gitlog_to_changelog = $(top_srcdir)/build-aux/gitlog-to-changelog 476 + 477 + ChangeLog: FORCE 478 + if test -d $(top_srcdir)/.git; then \ 479 + $(gitlog_to_changelog) --srcdir=$(top_srcdir) --since=$(changelog_start_date) > '[email protected]'; \ 480 + rm -f '$@'; mv '[email protected]' '$@'; \ 481 + else \ 482 + touch $@; \ 483 + fi 484 + 485 + syslinux_test: $(top_builddir)/config.status tests/syslinux/ubuntu10.04_grub.cfg 486 + 487 + # Mimic simplify_filename from grub-core/lib/syslinux_parse.c, so that we 488 + # can predict its behaviour in tests. We have to pre-substitute this before 489 + # calling config.status, as config.status offers no reliable way to hook in 490 + # a command between setting ac_abs_top_srcdir and emitting output files. 491 + tests/syslinux/ubuntu10.04_grub.cfg: $(top_builddir)/config.status tests/syslinux/ubuntu10.04_grub.cfg.in 492 + simplified_abs_top_srcdir=`echo "$(abs_top_srcdir)" | sed 's,//,/,g; s,/\./,/,g; :loop; s,/[^/][^/]*/\.\.\(/\|$$\),\1,; t loop'`; \ 493 + sed "s,@simplified_abs_top_srcdir@,$$simplified_abs_top_srcdir,g" $(srcdir)/tests/syslinux/ubuntu10.04_grub.cfg.in | $(top_builddir)/config.status --file=$@:- 494 + CLEANFILES += tests/syslinux/ubuntu10.04_grub.cfg 495 + -
-
-
-
-
1 + Security Policy 2 + =============== 3 + 4 + To report a vulnerability see "Reporting a Vulnerability" below. 5 + 6 + 7 + Security Incident Policy 8 + ======================== 9 + 10 + Security bug reports are treated with special attention and are handled 11 + differently from normal bugs. In particular, security sensitive bugs are not 12 + handled in public but in private. Information about the bug and access to it 13 + is restricted to people in the security group, the individual engineers that 14 + work on fixing it, and any other person who needs to be involved for organisational 15 + reasons. The process is handled by the security team, which decides on the people 16 + involved in order to fix the issue. It is also guaranteed that the person reporting 17 + the issue has visibility into the process of fixing it. Any security issue gets 18 + prioritized according to its security rating. The issue is opened up to the public 19 + in coordination with the release schedule and the reporter. 20 + 21 + 22 + Disclosure Policy 23 + ================= 24 + 25 + Everyone involved in the handling of a security issue - including the reporter - 26 + is required to adhere to the following policy. Any information related to 27 + a security issue must be treated as confidential and only shared with trusted 28 + partners if necessary, for example to coordinate a release or manage exposure 29 + of clients to the issue. No information must be disclosed to the public before 30 + the embargo ends. The embargo time is agreed upon by all involved parties. It 31 + should be as short as possible without putting any users at risk. 32 + 33 + 34 + Supported Versions 35 + ================== 36 + 37 + Only the most recent version of the GRUB is supported. 38 + 39 + 40 + Reporting a Vulnerability 41 + ========================= 42 + 43 + The security report should be encrypted with the PGP keys and sent to ALL email 44 + addresses listed below. Every vulnerability report will be assessed within 45 + 72 hours of receiving it. If the outcome of the assessment is that the report 46 + describes a security issue, the report will be transferred into an issue on the 47 + internal vulnerability project for further processing. The reporter is updated 48 + on each step of the process. 49 + 50 + While there's currently no bug bounty program we appreciate every report. 51 + 52 + * Contact: Daniel Kiper <[email protected]> and 53 + Daniel Kiper <[email protected]> 54 + * PGP Key Fingerprint: BE5C 2320 9ACD DACE B20D B0A2 8C81 89F1 988C 2166 55 + 56 + * Contact: Alex Burmashev <[email protected]> 57 + * PGP Key Fingerprint: 50A4 EC06 EF7E B84D 67E0 3BB6 2AE2 C87E 28EF 2E6E 58 + 59 + * Contact: Vladimir 'phcoder' Serbinenko <[email protected]> 60 + * PGP Key Fingerprint: E53D 497F 3FA4 2AD8 C9B4 D1E8 35A9 3B74 E82E 4209 61 + -
1 + GRUB 2 would not be what it is today without the invaluable help of 2 + everybody who was kind enough to spend time testing it and reporting 3 + bugs. 4 + 5 + The following people made especially gracious contributions of their 6 + time and energy in helping to track down bugs, add new features, and 7 + generally assist in the GRUB 2 maintainership process: 8 + 9 + Andrey Shuvikov <[email protected]> 10 + Bibo Mao <[email protected]> 11 + David Miller <[email protected]> 12 + Guillem Jover <[email protected]> 13 + Harley D. Eades III <[email protected]> 14 + Hitoshi Ozeki <[email protected]> 15 + Hollis Blanchard <[email protected]> 16 + Jeroen Dekkers <[email protected]> 17 + Johan Rydberg <[email protected]> 18 + Marco Gerards <[email protected]> 19 + Michael Guntsche <[email protected]> 20 + NIIBE Yutaka <[email protected]> 21 + Omniflux <[email protected]> 22 + Robert Bihlmeyer <[email protected]> 23 + Roger Leigh <[email protected]> 24 + Ruslan Nikolaev <[email protected]> 25 + Timothy Baldwin <[email protected]> 26 + Tomas Ebenlendr <[email protected]> 27 + Tristan Gingold <[email protected]> 28 + Tsuneyoshi Yasuo <[email protected]> 29 + Vesa Jaaskelainen <[email protected]> 30 + Vincent Guffens <[email protected]> 31 + Vincent Pelletier <[email protected]> 32 + Vladimir Serbinenko <[email protected]> 33 + 34 + Also, we thank the projects GNU Automake and LZMA. Some code 35 + was stolen from them. 36 + 37 + This project was supported by Information-technology Promotion Agency, 38 + Japan. 39 + -
1 + 2 + Before working on improving GRUB, it's very important that you 3 + make contact with the core GRUB developers. Things herein might be 4 + slightly out of date or otherwise not easy to understand at first 5 + glance. So write to <[email protected]> first. 6 + 7 + For bug tracking, refer to: 8 + 9 + http://savannah.gnu.org/bugs/?group=grub 10 + -
-
-