[PC-BSD Commits] r8111 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Wed Dec 1 07:24:36 PST 2010


Author: kris
Date: 2010-12-01 07:24:36 -0800 (Wed, 01 Dec 2010)
New Revision: 8111

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Make sure the outdir exists when making the final pbi file in chroot



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-12-01 10:04:35 UTC (rev 8110)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-12-01 15:24:36 UTC (rev 8111)
@@ -2626,7 +2626,7 @@
 			if [ -z "$src" -o -z "$tar" ] ; then continue ; fi
 
 			if [ ! -e "${PBI_STAGEDIR}/$src" ] ; then
-				echo "WARN: external_link target: \"$src\" does not exist!"
+				echo "WARN: external_link target: \"$src -> $tar $act\" does not exist!"
 				continue
 			fi
 
@@ -4754,6 +4754,10 @@
 	cp ${PBI_CHROOTDIR}/usr/local/sbin/pbi_makeport ${PBI_CHROOTDIR}/usr/local/sbin/pbi_makeport_chroot
 	chmod 755 ${PBI_CHROOTDIR}/usr/local/sbin/pbi_*
 
+	# Make sure the outgoing dir is created
+	mkdir -p ${PBI_CHROOTDIR}/pbiout
+
+	# Copy over the PBI DB
 	mkdir -p ${PBI_CHROOTDIR}/var/db
 	cp -r ${PBI_DBDIR} ${PBI_CHROOTDIR}${PBI_DBDIR}
 	



More information about the Commits mailing list