File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
BASE_WORKDIR != reggae get-config BASE_WORKDIR
2
2
PKG_PROXY != reggae get-config PKG_PROXY
3
+ DHCP ?= dhclient
3
4
MKJAIL_OPTIONS =
4
5
5
6
.if exists(${EXTRA_FSTAB})
@@ -75,6 +76,10 @@ setup:
75
76
.endif
76
77
.if !exists(${BASE_WORKDIR}/${SERVICE})
77
78
@sudo env PRESTART="${PRESTART}" POSTSTART="${POSTSTART}" PRESTOP="${PRESTOP}" POSTSTOP="${POSTSTOP}" OS_VERSION="${VERSION}" reggae mkjail ${MKJAIL_OPTIONS} ${SERVICE}
79
+ .if ${DHCP} == "dhcpcd"
80
+ @sudo chroot ${BASE_WORKDIR}/${SERVICE} pkg install -y dhcpcd
81
+ @echo dhclient_program="/usr/local/sbin/dhcpcd" | sudo tee -a ${BASE_WORKDIR}/${SERVICE}/etc/rc.conf >/dev/null
82
+ .endif
78
83
.endif
79
84
.if ${DEVEL_MODE} == "YES"
80
85
-@sudo mount -t nullfs ${PWD} ${BASE_WORKDIR}/${SERVICE}/usr/src >/dev/null 2>&1
You can’t perform that action at this time.
0 commit comments