mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Install devel/git from packages if NOPORTS is set in the release.sh
configuration file. Reported by: Michael Butler Sponsored by: Rubicon Communications, LLC (netgate.com)
This commit is contained in:
parent
b8d2d479cd
commit
8f82b5d4e3
1 changed files with 5 additions and 0 deletions
|
|
@ -282,6 +282,11 @@ extra_chroot_setup() {
|
|||
WRKDIRPREFIX=/tmp/ports \
|
||||
DISTDIR=/tmp/distfiles \
|
||||
install clean distclean
|
||||
else
|
||||
eval chroot ${CHROOTDIR} env ASSUME_ALWAYS_YES=yes \
|
||||
pkg install -y devel/git
|
||||
eval chroot ${CHROOTDIR} env ASSUME_ALWAYS_YES=yes \
|
||||
pkg clean -y
|
||||
fi
|
||||
if [ -d ${CHROOTDIR}/usr/ports ]; then
|
||||
# Trick the ports 'run-autotools-fixup' target to do the right
|
||||
|
|
|
|||
Loading…
Reference in a new issue