Browse files

Copy packages to correct location on DVD/USB media

  • Loading branch information...
1 parent 0b20556 commit 7446c92082b9f56b66d470c50d2bd621e5918715 @kmoore134 kmoore134 committed Nov 21, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/
@@ -30,8 +30,8 @@ echo "Copying dist files.."
cp /usr/ports.txz ${ISODISTDIR}/ 2>/dev/null
-mkdir ${ISODISTDIR}/packages
-mount_nullfs ${METAPKGDIR} ${ISODISTDIR}/packages
+rc_halt "mkdir -p ${ISODISTDIR}/packages/All"
+rc_halt "mount_nullfs ${METAPKGDIR} ${ISODISTDIR}/packages/All"
# Set the file-date
fDate="-`date '+%m-%d-%Y'`"
@@ -56,6 +56,6 @@ md5 -q ${bFile}-DVD-USB.iso >${bFile}-DVD-USB.iso.md5
sha256 -q ${bFile}-DVD-USB.iso >${bFile}-DVD-USB.iso.sha256
ln -s ${bFile}-DVD-USB.iso latest.iso
-umount ${ISODISTDIR}/packages
+rc_halt "umount ${ISODISTDIR}/packages/All"
exit 0

0 comments on commit 7446c92

Please sign in to comment.