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,17 +18,18 @@
#
# CDDL HEADER END
#
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#
-# Copyright 2010 Nexenta Systems, Inc. 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,11 +46,11 @@
$(PROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
-install: all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS)
+install: all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS) $(ROOTETCDEFAULTFILES)
clean:
$(RM) $(OBJS)
lint: lint_SRCS