summaryrefslogtreecommitdiffstats
path: root/release/Makefile
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2013-12-18 01:14:25 +0000
committergjb <gjb@FreeBSD.org>2013-12-18 01:14:25 +0000
commit4dddfdac356a3e7af5cf8e2b27a998f3060ef3f0 (patch)
treef376a426edbc24f3e6017f4d4e813dac6002095d /release/Makefile
parent2c4d831850847a741a27b6076afc0c9ee952ae0f (diff)
downloadFreeBSD-src-4dddfdac356a3e7af5cf8e2b27a998f3060ef3f0.zip
FreeBSD-src-4dddfdac356a3e7af5cf8e2b27a998f3060ef3f0.tar.gz
MFC r259426, r259427:
r259426: 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. r259427: Export 'REPOS_DIR' when the selected source medium for package installation is cdrom. This enables bsdconfig(8) to make use of the on-disc pkg(8) repository configuration, which fixes package selection and installation from the dvd installer. Sponsored by: The FreeBSD Foundation
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 f6af5dc..69e0fab 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
OpenPOWER on IntegriCloud