diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2011-09-09 06:10:01 -0700 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2011-09-09 06:10:01 -0700 |
commit | 2b3aa69e85c199f756aaf5f6afe387f8d0f4a16a (patch) | |
tree | 8a8cace33a76f76488d5096752c782345dbda6cb /usr/src/grub | |
parent | 8552d099feffb73c0cab9c3a1897d2e29cc8ea14 (diff) | |
download | illumos-joyent-2b3aa69e85c199f756aaf5f6afe387f8d0f4a16a.tar.gz |
OS-558 need a way to install grub on a PCFS USB memory key
Diffstat (limited to 'usr/src/grub')
-rw-r--r-- | usr/src/grub/Makefile | 6 | ||||
-rw-r--r-- | usr/src/grub/Makefile.grub | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/grub/Makefile b/usr/src/grub/Makefile index 28c2eca2ff..c31e9a802c 100644 --- a/usr/src/grub/Makefile +++ b/usr/src/grub/Makefile @@ -29,6 +29,7 @@ INST_TARGETS += $(ROOT_BOOT_GRUB)/$(GRUB_MENU) INST_TARGETS += $(ROOT_BOOT_GRUB)/$(INSTALL_MENU) INST_TARGETS += $(ROOT_BOOT_GRUB)/$(GRUB_DEFAULT) INST_TARGETS += $(ROOT_BOOT_GRUB)/$(CAPABILITY) +INST_TARGETS += $(ROOT_USR_SBIN)/grub $(ROOT_BOOT_GRUB)/$(GRUB_DEFAULT) := FILEMODE = 444 $(ROOT_BOOT_GRUB)/$(CAPABILITY) := FILEMODE = 444 @@ -45,9 +46,14 @@ $(GRUB): FRC $(ROOT_BOOT_GRUB)/%: $(ROOT_BOOT_GRUB) % $(INS.file) +$(ROOT_USR_SBIN)/%: $(GRUB)/grub/grub $(ROOT_USR_SBIN) + $(INS.file) + $(ROOT_BOOT_GRUB): $(INS.dir) +$(ROOT_USR_SBIN): + $(INS.dir) clean clobber: $(SUBDIRS) diff --git a/usr/src/grub/Makefile.grub b/usr/src/grub/Makefile.grub index 18354324ae..99942fa2ed 100644 --- a/usr/src/grub/Makefile.grub +++ b/usr/src/grub/Makefile.grub @@ -10,3 +10,4 @@ PLATFORM = i86pc ROOT_BOOT_GRUB = $(ROOT)/boot/grub ROOT_PLAT_GRUB = $(ROOT)/platform/$(PLATFORM)/boot/grub ROOT_SRC = $(ROOT)/usr/share/src/grub +ROOT_USR_SBIN = $(ROOT)/usr/sbin |