summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorDan McDonald <danmcd@omniti.com>2015-10-15 07:51:53 -0400
committerDan McDonald <danmcd@omniti.com>2015-10-15 10:20:55 -0400
commit495a25e757699e05ac57407a3f80f6ee235eee2d (patch)
treea94a07be871f1a22a27ce8d5284785ba43562228 /usr/src
parent54d34259930c76758a7e9e03732cb1e37f9a6ba9 (diff)
downloadillumos-joyent-495a25e757699e05ac57407a3f80f6ee235eee2d.tar.gz
6326 Eliminate unused filesystems from GRUB's stage 2 to bring back free memory
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Gordon Ross <gordon.ross@nexenta.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/grub/capability2
-rw-r--r--usr/src/grub/grub-0.97/stage2/Makefile.solaris15
2 files changed, 8 insertions, 9 deletions
diff --git a/usr/src/grub/capability b/usr/src/grub/capability
index 72f4bf9b83..884d019d8c 100644
--- a/usr/src/grub/capability
+++ b/usr/src/grub/capability
@@ -30,7 +30,7 @@
# GRUB necessitating that the boot blocks be reinstalled for that fix or
# enhancement to take effect.
#
-VERSION=26
+VERSION=27
dboot
xVM
zfs
diff --git a/usr/src/grub/grub-0.97/stage2/Makefile.solaris b/usr/src/grub/grub-0.97/stage2/Makefile.solaris
index bb737888cd..a9440da2b8 100644
--- a/usr/src/grub/grub-0.97/stage2/Makefile.solaris
+++ b/usr/src/grub/grub-0.97/stage2/Makefile.solaris
@@ -2,6 +2,7 @@
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
+# Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
#
include ../../Makefile.grub
include ../Makefile.solaris.defs
@@ -16,25 +17,23 @@ include ../Makefile.solaris.defs
INCLUDES = -I. -I.. -I../stage1 -I../net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E2_CFLAGS) -DNO_DECOMPRESSION=1 -DSTAGE1_5=1
STAGE2_CFLAGS = -Os -fno-builtin -nostdinc \