aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2013-12-15 20:38:07 +0000
committerGlen Barber <gjb@FreeBSD.org>2013-12-15 20:38:07 +0000
commit0d0e89b794030dab6be40975fd848e51f55261bb (patch)
tree84f98af26bb67a16d1f52de4c8fd8ebd7ab96879 /release/Makefile
parent2773bfa99a0f4abd8403871e689a7612aabea9de (diff)
downloadsrc-0d0e89b794030dab6be40975fd848e51f55261bb.tar.gz
src-0d0e89b794030dab6be40975fd848e51f55261bb.zip
Add a pkg(8) repository configuration file for cdrom-based package
installation. As part of the 'pkg-stage' target, copy the configuration file to the 'packages/repos/' directory on the DVD filesystem. MFC after: 3 days X-MFC-Before: -RC3 Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=259426
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index f6af5dc80f21..69e0fab08c0a 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -225,7 +225,11 @@ pkg-stage:
.if !defined(NOPKG) && exists(${.CURDIR}/${TARGET}/pkg-stage.conf)
sh ${.CURDIR}/scripts/pkg-stage.sh ${.CURDIR}/${TARGET}/pkg-stage.conf \
${REVISION}
+ mkdir -p ${.OBJDIR}/dvd/packages/repos/
+ cp ${.CURDIR}/scripts/FreeBSD_install_cdrom.conf \
+ ${.OBJDIR}/dvd/packages/repos/
.endif
+ touch ${.TARGET}
cdrom: disc1.iso bootonly.iso
dvdrom: dvd1.iso