summaryrefslogtreecommitdiff
path: root/usr/src/Makefile.psm.targ
diff options
context:
space:
mode:
authorjg <none@none>2008-03-29 19:24:05 -0700
committerjg <none@none>2008-03-29 19:24:05 -0700
commitd876c67df282cf8c0136415d482d92d16ee59a0b (patch)
tree1effae0c11570b325e07e52ed45ebe706b0cf39b /usr/src/Makefile.psm.targ
parent06bbe1e05e4f6fd0773ee85a50c0de7adfc4fa06 (diff)
downloadillumos-gate-d876c67df282cf8c0136415d482d92d16ee59a0b.tar.gz
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
Diffstat (limited to 'usr/src/Makefile.psm.targ')
-rw-r--r--usr/src/Makefile.psm.targ29
1 files changed, 25 insertions, 4 deletions
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)