Browse Source

Add local grub

master
Mathieu Maret 3 years ago
parent
commit
2e66bb5fbe
5 changed files with 3 additions and 3 deletions
  1. +1
    -1
      Makefile
  2. BIN
      grub/grub
  3. BIN
      grub/stage1
  4. BIN
      grub/stage2
  5. +2
    -2
      support/build_image.sh

+ 1
- 1
Makefile View File

@ -58,7 +58,7 @@ PWD := $(shell pwd | sed 's/"/\\\"/g;s/\$$/\\\$$/g')
all: $(MULTIBOOT_IMAGE)
$(MULTIBOOT_IMAGE): $(KERNEL_LOAD)
./support/build_image.sh $@ $<
./support/build_image.sh $@ $< ""
$(KERNEL_LOAD): $(KERNEL_OBJ)
$(CP) $< $<.strip && $(STRIP) -sx -R .comment $<.strip


BIN
grub/grub View File


BIN
grub/stage1 View File


BIN
grub/stage2 View File


+ 2
- 2
support/build_image.sh View File

@ -49,8 +49,8 @@ print_usage () {
exit 1
}
grub_dirs_common="/usr/local/share/grub/i386-freebsd /usr/local/share/grub/i386-pc /usr/share/grub/i386-pc /usr/lib/grub/i386-pc /usr/local/grub /usr/share/grub/i386-redhat /usr/local/src/grub-0.5.94 $HOME/share/grub/i386-pc/ /usr/lib/grub/x86_64-unknown"
sbin_grub_path="/usr/local/sbin /usr/sbin /sbin $HOME/sbin"
grub_dirs_common="$PWD/grub /usr/local/share/grub/i386-freebsd /usr/local/share/grub/i386-pc /usr/share/grub/i386-pc /usr/lib/grub/i386-pc /usr/local/grub /usr/share/grub/i386-redhat /usr/local/src/grub-0.5.94 $HOME/share/grub/i386-pc/ /usr/lib/grub/x86_64-unknown"
sbin_grub_path="/usr/local/sbin /usr/sbin /sbin $HOME/sbin $PWD/grub"
PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin
export PATH


Loading…
Cancel
Save