nrelease: Install a default pkg.conf from pkg(8)

Operating Systems / DragonFlyBSD - Fran├žois Tigeot [wolfpond.org] - 1 August 2013 02:15 EDT

Do not hardcode the file contents anymore

###

diff --git a/nrelease/Makefile b/nrelease/Makefile
index 6866dcf..f86466e 100644
--- a/nrelease/Makefile
+++ b/nrelease/Makefile
@@ -308,7 +308,7 @@ customizeiso:
#
# Add a pkg.conf
#
- ${CHROOT_CMD} "echo PACKAGESITE: http://avalon.dragonflybsd.org/dports/$$\\{ABI\\}/RELEASE >/usr/local/etc/pkg.conf"
+ cp -p ${ISOROOT}/usr/local/etc/pkg.conf.sample ${ISOROOT}/usr/local/etc/pkg.conf
#
# Finally, update the locate(8) database
#

a01c761 nrelease: Install a default pkg.conf from pkg(8)
nrelease/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: gitweb.dragonflybsd.org


  • Share