Skip to content

Commit

Permalink
Copy packages to correct location on DVD/USB media
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Nov 21, 2013
1 parent 0b20556 commit 7446c92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/9.3.makedvd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ echo "Copying dist files.."
cp ${DISTDIR}/* ${ISODISTDIR}/
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'`"
Expand All @@ -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.