Print this page
Add zfd.c to zoneadmd's Makefile, a bit more not-yet ifdef-out.
OS-11 rcapd behaves poorly when under extreme load
        
*** 22,40 ****
  #
  
  #
  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  # Copyright 2014 Nexenta Systems, Inc. All rights reserved.
  #
  
  PROG= zoneadmd
  
  include ../Makefile.cmd
  
  ROOTCMDDIR=     $(ROOTLIB)/zones
  
! OBJS= zoneadmd.o zcons.o vplat.o
  SRCS = $(OBJS:.o=.c)
  POFILE=zoneadmd_all.po
  POFILES= $(OBJS:%.o=%.po)
  
  CFLAGS += $(CCVERBOSE)
--- 22,41 ----
  #
  
  #
  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  # Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+ # Copyright (c) 2011, Joyent, Inc. All rights reserved.
  #
  
  PROG= zoneadmd
  
  include ../Makefile.cmd
  
  ROOTCMDDIR=     $(ROOTLIB)/zones
  
! OBJS= zoneadmd.o zcons.o vplat.o mcap.o zfd.o
  SRCS = $(OBJS:.o=.c)
  POFILE=zoneadmd_all.po
  POFILES= $(OBJS:%.o=%.po)
  
  CFLAGS += $(CCVERBOSE)
*** 42,52 ****
  CERRWARN += -_gcc=-Wno-parentheses
  CERRWARN += -_gcc=-Wno-uninitialized
  
  LDLIBS += -lsocket -lzonecfg -lnsl -ldevinfo -ldevice -lnvpair \
          -lgen -lbsm -lcontract -lzfs -luuid -lbrand -ldladm -ltsnet -ltsol \
!         -linetutil -lscf
  XGETFLAGS += -a -x zoneadmd.xcl
  
  .KEEP_STATE:
  
  .PARALLEL:
--- 43,53 ----
  CERRWARN += -_gcc=-Wno-parentheses
  CERRWARN += -_gcc=-Wno-uninitialized
  
  LDLIBS += -lsocket -lzonecfg -lnsl -ldevinfo -ldevice -lnvpair \
          -lgen -lbsm -lcontract -lzfs -luuid -lbrand -ldladm -ltsnet -ltsol \
!         -linetutil -lscf -lproc
  XGETFLAGS += -a -x zoneadmd.xcl
  
  .KEEP_STATE:
  
  .PARALLEL: