svn commit: r52722 - head/en_US.ISO8859-1/articles/nanobsd

Chris Rees <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: crees
Date: Mon Dec 24 19:45:39 2018
New Revision: 52722
URL: https://svnweb.freebsd.org/changeset/doc/52722

Log:
  Update for pkgng
  
  PR:		docs/207329

Modified:
  head/en_US.ISO8859-1/articles/nanobsd/article.xml

Modified: head/en_US.ISO8859-1/articles/nanobsd/article.xml
==============================================================================
--- head/en_US.ISO8859-1/articles/nanobsd/article.xml	Mon Dec 24 12:13:00 2018	(r52721)
+++ head/en_US.ISO8859-1/articles/nanobsd/article.xml	Mon Dec 24 19:45:39 2018	(r52722)
@@ -346,8 +346,9 @@ customize_cmd cust_etc_size</programlisting>
 	<programlisting>install_packages () (
 mkdir -p ${NANO_WORLDDIR}/packages
 cp /usr/src/tools/tools/nanobsd/packages/* ${NANO_WORLDDIR}/packages
-chroot ${NANO_WORLDDIR} sh -c 'cd packages; pkg_add -v *;cd ..;'
-rm -rf ${NANO_WORLDDIR}/packages
+cp $(which pkg-static) ${NANO_WORLDDIR}/
+chroot ${NANO_WORLDDIR} sh -c 'cd packages; /pkg-static add *;cd ..;'
+rm -rf ${NANO_WORLDDIR}/packages ${NANO_WORLDDIR}/pkg-static
 )
 customize_cmd install_packages</programlisting>
       </sect3>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.