Print this page
PSARC 2008/766 native zones p2v
6667924 physical to virtual utility for native zones
@@ -18,22 +18,32 @@
#
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
+ETCBRANDDIR= $(ROOT)/etc/brand/native
+ETCUSER= $(USERFILES:%=$(ETCBRANDDIR)/%)
+$(ETCUSER) := FILEMODE = 644
+$(ETCUSER) := OWNER = root
+$(ETCUSER) := GROUP = sys
+
+$(ETCBRANDDIR)/%: %
+ $(INS.file)
+
PROG= sw_support
BRAND= native
-PROGS= attach_update $(PROG)
-XMLDOCS= config.xml platform.xml
+PROGS= attach_update image_install p2v $(PROG)
+XMLDOCS= config.xml platform.xml smf_disable.lst pkgrm.lst
+USERFILES= smf_disable.conf pkgrm.conf
+SHARED= common.ksh
TEMPLATES= SUNWdefault.xml SUNWblank.xml
-CLOBBERFILES= $(ROOTPROGS) $(ROOTXMLDOCS) $(ROOTTEMPLATES)
+CLOBBERFILES= $(ROOTPROGS) $(ROOTXMLDOCS) $(ROOTTEMPLATES) $(ROOTSHARED) \
+ $(ETCUSER)
all: $(PROGS)
include $(SRC)/cmd/Makefile.cmd
include ../../Makefile.brand
@@ -50,11 +60,12 @@
_msg: $(MSGDOMAINPOFILE)
lint: lint_PROG
-install: $(PROGS) $(ROOTPROGS) $(ROOTXMLDOCS) $(ROOTTEMPLATES)
+install: $(PROGS) $(ROOTPROGS) $(ROOTXMLDOCS) $(ROOTTEMPLATES) $(ROOTSHARED) \
+ $(ETCUSER)
clean:
-$(RM) $(PROGS)
include $(SRC)/Makefile.msg.targ