summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-01 17:25:15 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-01 17:25:15 +0000
commitb43eb0e25e1a0778e81d682a0fbf0d298cdf0234 (patch)
tree0f7d8263a866062cde18ed4c63e8a527feecf36b /mdk-stage1
parent678075ce42f671b1ca356800607172a8b36925c1 (diff)
downloaddrakx-b43eb0e25e1a0778e81d682a0fbf0d298cdf0234.tar
drakx-b43eb0e25e1a0778e81d682a0fbf0d298cdf0234.tar.gz
drakx-b43eb0e25e1a0778e81d682a0fbf0d298cdf0234.tar.bz2
drakx-b43eb0e25e1a0778e81d682a0fbf0d298cdf0234.tar.xz
drakx-b43eb0e25e1a0778e81d682a0fbf0d298cdf0234.zip
disable (and thus hide) "KA server" option (mga#5944)
it's useless since we stripped donw stage1 anyway. KA needs specialized/bloated image also saves 2kb from stage1
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/Makefile6
-rw-r--r--mdk-stage1/NEWS1
2 files changed, 5 insertions, 2 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index adcf7c9e1..15453fbd0 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -63,6 +63,8 @@ ifneq (DIETLIBC, $(L))
INIT_DEFS += $(GLIBC_INCLUDES)
endif
+STAGE1_DEFS=-DDISABLE_KA
+
INITOBJS = $(subst .c,.o,$(INITSRC))
@@ -100,7 +102,7 @@ STAGE1SRC = stage1.c log.c utils.c params.c tools.c modules.c probing.c mount.c
CDROMSRC = cdrom.c
DISKSRC = disk.c directory.c partition.c
NETWORKSRC = network.c nfsmount.c dhcp.c url.c dns.c adsl.c directory.c wireless.c
-KASRC = ka.c
+#KASRC = ka.c
# use sort to remove duplicates
STAGE1_ALLSRC = $(sort $(STAGE1SRC) $(CDROMSRC) $(DISKSRC) $(NETWORKSRC) $(KASRC))
@@ -188,7 +190,7 @@ $(STAGE1OBJS-NETWORK-STANDALONE): %-NETWORK-STANDALONE.o: %.c
$(DIET) $(COMPILE) $(INCLUDES) $(NETWORK_STANDALONE_DEFS) $(USB_DEFS_GEN) -c $< -o $@
$(STAGE1OBJS-FULL): %-FULL.o: %.c
- $(DIET) $(COMPILE) $(INCLUDES) -DSPAWN_SHELL $(USB_DEFS_GEN) $(PCMCIA_DEFS) -DENABLE_BOOTSPLASH -c $< -o $@
+ $(DIET) $(COMPILE) $(INCLUDES) -DSPAWN_SHELL $(USB_DEFS_GEN) $(PCMCIA_DEFS) $(STAGE1_DEFS) -DENABLE_BOOTSPLASH -c $< -o $@
.c.o:
$(DIET) $(COMPILE) $(INCLUDES) -DENABLE_BOOTSPLASH -c $<
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index e9eaabd8b..ea4509ce3 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,5 +1,6 @@
- do not advice long dead pcmcia.img & network.img images (mga#5466)
- first attempt at supporting XenBlk discs
+- hide "KA server" option (mga#5944)
- switch from gethostbyname() to getaddrinfo() (mga#4056)
- switch from gethostbyaddr() to getnameinfo()