Print this page
PSARC 2008/766 native zones p2v
6667924 physical to virtual utility for native zones
*** 18,39 ****
#
# CDDL HEADER END
#
#
! # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
- # ident "%Z%%M% %I% %E% SMI"
- #
PROG= sw_support
BRAND= native
! PROGS= attach_update $(PROG)
! XMLDOCS= config.xml platform.xml
TEMPLATES= SUNWdefault.xml SUNWblank.xml
! CLOBBERFILES= $(ROOTPROGS) $(ROOTXMLDOCS) $(ROOTTEMPLATES)
all: $(PROGS)
include $(SRC)/cmd/Makefile.cmd
include ../../Makefile.brand
--- 18,49 ----
#
# CDDL HEADER END
#
#
! # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ 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 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) $(ROOTSHARED) \
! $(ETCUSER)
all: $(PROGS)
include $(SRC)/cmd/Makefile.cmd
include ../../Makefile.brand
*** 50,60 ****
_msg: $(MSGDOMAINPOFILE)
lint: lint_PROG
! install: $(PROGS) $(ROOTPROGS) $(ROOTXMLDOCS) $(ROOTTEMPLATES)
clean:
-$(RM) $(PROGS)
include $(SRC)/Makefile.msg.targ
--- 60,71 ----
_msg: $(MSGDOMAINPOFILE)
lint: lint_PROG
! install: $(PROGS) $(ROOTPROGS) $(ROOTXMLDOCS) $(ROOTTEMPLATES) $(ROOTSHARED) \
! $(ETCUSER)
clean:
-$(RM) $(PROGS)
include $(SRC)/Makefile.msg.targ