From d876c67df282cf8c0136415d482d92d16ee59a0b Mon Sep 17 00:00:00 2001 From: jg Date: Sat, 29 Mar 2008 19:24:05 -0700 Subject: PSARC 2008/213 Bootadm: managing a diskless client 6625247 NBS: diskless client setup scripts don't work with newboot sparc 6678886 building a boot archive must not require access to other than root --- usr/src/Makefile.psm.targ | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'usr/src/Makefile.psm.targ') diff --git a/usr/src/Makefile.psm.targ b/usr/src/Makefile.psm.targ index 5c23e3ca43..f571d1f6d8 100644 --- a/usr/src/Makefile.psm.targ +++ b/usr/src/Makefile.psm.targ @@ -19,7 +19,7 @@ # CDDL HEADER END # # -# Copyright 2007 Sun Microsystems, Inc. All rights reserved. +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -114,6 +114,27 @@ $(ROOT_PSM_PCBE_DIR)/%: $(OBJS_DIR)/% $(ROOT_PSM_PCBE_DIR) FRC $(ROOT_PSM_BRAND_DIR)/%: $(OBJS_DIR)/% $(ROOT_PSM_BRAND_DIR) FRC $(INS.file) +$(ROOT_PSM_LIB_FS_DIR): $(ROOT_PSM_LIB_DIR) + -$(INS.dir.root.bin) + +$(ROOT_PSM_LIB_UFS_DIR) \ +$(ROOT_PSM_LIB_NFS_DIR) \ +$(ROOT_PSM_LIB_HSFS_DIR) \ +$(ROOT_PSM_LIB_ZFS_DIR): $(ROOT_PSM_LIB_FS_DIR) + $(INS.dir.root.bin) + +$(ROOT_PSM_LIB_UFS_DIR)/%: % $(ROOT_PSM_LIB_UFS_DIR) + $(INS.file) + +$(ROOT_PSM_LIB_NFS_DIR)/%: % $(ROOT_PSM_LIB_NFS_DIR) + $(INS.file) + +$(ROOT_PSM_LIB_HSFS_DIR)/%: % $(ROOT_PSM_LIB_HSFS_DIR) + $(INS.file) + +$(ROOT_PSM_LIB_ZFS_DIR)/%: % $(ROOT_PSM_LIB_ZFS_DIR) + $(INS.file) + # # # @@ -166,16 +187,16 @@ $(USR_PSM_LIB64_DIR)/%: % $(USR_PSM_LIB64_DIR) $(INS.file) $(USR_PSM_LIB_UFS_DIR)/%: % $(USR_PSM_LIB_UFS_DIR) - $(INS.file) + $(RM) -r $@ ; $(SYMLINK) $(BOOTBLK_LINK) $@ $(CHOWNLINK) $(CHGRPLINK) $(USR_PSM_LIB_NFS_DIR)/%: % $(USR_PSM_LIB_NFS_DIR) $(INS.file) $(USR_PSM_LIB_HSFS_DIR)/%: % $(USR_PSM_LIB_HSFS_DIR) - $(INS.file) + $(RM) -r $@ ; $(SYMLINK) $(BOOTBLK_LINK) $@ $(CHOWNLINK) $(CHGRPLINK) $(USR_PSM_LIB_ZFS_DIR)/%: % $(USR_PSM_LIB_ZFS_DIR) - $(INS.file) + $(RM) -r $@ ; $(SYMLINK) $(BOOTBLK_LINK) $@ $(CHOWNLINK) $(CHGRPLINK) $(USR_PSM_MOD_DIR)/%: % $(USR_PSM_MOD_DIR) $(INS.file) -- cgit v1.2.3