Browse Source

Add local grub

master
Mathieu Maret 3 years ago
parent
commit
2e66bb5fbe
  1. 2
      Makefile
  2. BIN
      grub/grub
  3. BIN
      grub/stage1
  4. BIN
      grub/stage2
  5. 4
      support/build_image.sh

2
Makefile

@ -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

BIN
grub/stage1

BIN
grub/stage2

4
support/build_image.sh

@ -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