Print this page
NEX-13095 Create a configuration file to control switching the boot loader /etc/default/be
Reviewed by: Jean Mccormack<jean.mccormack@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
        
*** 18,34 ****
  #
  # CDDL HEADER END
  #
  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  #
! # Copyright 2010 Nexenta Systems, Inc. All rights reserved.
  #
  
  PROG=           beadm
  OBJS=           beadm.o
  SRCS=           $(OBJS:%.o=%.c)
  POFILE=         beadm.po
  
  include ../Makefile.cmd
  
  LDLIBS += -lnvpair -lbe -lcmdutils
  CERRWARN += -_gcc=-Wno-parentheses
--- 18,35 ----
  #
  # CDDL HEADER END
  #
  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  #
! # Copyright 2017 Nexenta Systems, Inc.
  #
  
  PROG=           beadm
  OBJS=           beadm.o
  SRCS=           $(OBJS:%.o=%.c)
  POFILE=         beadm.po
+ DEFAULTFILES=   be.dfl
  
  include ../Makefile.cmd
  
  LDLIBS += -lnvpair -lbe -lcmdutils
  CERRWARN += -_gcc=-Wno-parentheses
*** 45,55 ****
  
  $(PROG): $(OBJS)
          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
          $(POST_PROCESS)
  
! install: all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS)
  
  clean:
          $(RM) $(OBJS)
  
  lint:   lint_SRCS
--- 46,56 ----
  
  $(PROG): $(OBJS)
          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
          $(POST_PROCESS)
  
! install: all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS) $(ROOTETCDEFAULTFILES)
  
  clean:
          $(RM) $(OBJS)
  
  lint:   lint_SRCS