svn commit: r259426 - in head/release: . scripts

Glen Barber gjb at FreeBSD.org
Sun Dec 15 20:38:08 UTC 2013


Author: gjb
Date: Sun Dec 15 20:38:07 2013
New Revision: 259426
URL: http://svnweb.freebsd.org/changeset/base/259426

Log:
  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

Added:
  head/release/scripts/FreeBSD_install_cdrom.conf   (contents, props changed)
Modified:
  head/release/Makefile

Modified: head/release/Makefile
==============================================================================
--- head/release/Makefile	Sun Dec 15 19:18:18 2013	(r259425)
+++ head/release/Makefile	Sun Dec 15 20:38:07 2013	(r259426)
@@ -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

Added: head/release/scripts/FreeBSD_install_cdrom.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/release/scripts/FreeBSD_install_cdrom.conf	Sun Dec 15 20:38:07 2013	(r259426)
@@ -0,0 +1,12 @@
+#
+# $FreeBSD$
+#
+# The pkg(8) repository configuration file for the installation DVD.
+#
+
+FreeBSD_install_cdrom: {
+  url: "file:///dist/packages/${ABI}",
+  mirror_type: "none",
+  enabled: yes
+}
+


More information about the svn-src-all mailing list