PERFORCE change 86498 for review
soc-andrew
soc-andrew at FreeBSD.org
Tue Nov 8 17:08:46 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=86498
Change 86498 by soc-andrew at 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
More information about the p4-projects
mailing list