Date: Wed, 9 Nov 2005 01:08:44 GMT From: soc-andrew <soc-andrew@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 86498 for review Message-ID: <200511090108.jA918iAn055140@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=86498 Change 86498 by soc-andrew@soc-andrew_serv on 2005/11/09 01:07:48 Allow the ports tree to be installed Affected files ... .. //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/backend/lua/install/500_install_os.lua#4 edit .. //depot/projects/soc2005/bsdinstaller/src/libexec/bsdinstaller/inst/431_ports.lua#1 add .. //depot/projects/soc2005/bsdinstaller/src/libexec/bsdinstaller/inst/Makefile#5 edit Differences ... ==== //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/backend/lua/install/500_install_os.lua#4 (text+ko) ==== @@ -83,6 +83,18 @@ -- App.state.target:cmds_install_srcs(cmds, App.conf.install_items) + if App.conf.install_ports == true then + cmds:add{ + cmdline = "${root}${TAR} -x " .. + "-f ${root}usr/${uname}/ports/ports.tgz ".. + "-C ${root}${base}/usr", + replacements = { + base = base, + uname = posix.uname("%r") + } + } + end + -- -- Remove any databases that might have been copied over but -- will no longer be accurate, e.g. the installed-package database. ==== //depot/projects/soc2005/bsdinstaller/src/libexec/bsdinstaller/inst/Makefile#5 (text+ko) ==== @@ -10,7 +10,7 @@ 900_reboot.lua main.lua # Local scripts -FILES+= 430_select_dists.lua +FILES+= 430_select_dists.lua 431_ports.lua FILESDIR= ${INST_DIR}/install
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511090108.jA918iAn055140>