mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
pkg: auto-mounting the repo taints pkg(8) setups
Move the config files out of the way, but still install them properly.
This commit is contained in:
parent
c2d2fe4b90
commit
10002c2278
6
Makefile
6
Makefile
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user