Commit 10002c22 authored by Franco Fichtner's avatar Franco Fichtner

pkg: auto-mounting the repo taints pkg(8) setups

Move the config files out of the way, but still install them properly.
parent c2d2fe4b
......@@ -14,6 +14,12 @@ install:
# move all sources to their destination and...
@mkdir -p ${DESTDIR}/usr/local
@cp -r ${.CURDIR}/src/* ${DESTDIR}/usr/local
# bootstrap pkg(8) files that are not in sources
@mkdir -p ${DESTDIR}/usr/local/etc/pkg/repos
@cp ${.CURDIR}/pkg/OPNsense.conf ${DESTDIR}/usr/local/etc/pkg/repos
@echo /usr/local/etc/pkg/repos/OPNsense.conf
@cp ${.CURDIR}/pkg/pkg.conf ${DESTDIR}/usr/local/etc
@echo /usr/local/etc/pkg.conf
# ... pretty-print a list of files present
@(cd ${.CURDIR}/src; find * -type f) | \
xargs -n1 printf "/usr/local/%s\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment