~comcloudway/builds.sr.ht

0bf74bf9932836ca94207fa37c1ff4de42c54213 — Drew DeVault 5 years ago b15a3fe
Add Mercurial to *BSD images
2 files changed, 4 insertions(+), 4 deletions(-)

M images/freebsd/genimg
M images/netbsd/genimg
M images/freebsd/genimg => images/freebsd/genimg +1 -1
@@ 79,7 79,7 @@ fi

env ASSUME_ALWAYS_YES=YES pkg -c /mnt bootstrap -f
# TODO: remove bash
env ASSUME_ALWAYS_YES=YES pkg -c /mnt install git bash sudo curl
env ASSUME_ALWAYS_YES=YES pkg -c /mnt install git mercurial bash sudo curl

fetch -m -o "$dist_dir/ports.txz" "$ports_base/ports.txz"
tar -C /mnt -xJf "$dist_dir/ports.txz"

M images/netbsd/genimg => images/netbsd/genimg +3 -3
@@ 99,12 99,12 @@ then
	echo "$pkgin_dist" >/mnt/usr/pkg/etc/pkgin/repositories.conf
	run_root pkgin update
	# TODO: Remove bash
	run_root pkgin -y install sudo gnupg git-base moreutils \
		mozilla-rootcerts bash
	run_root pkgin -y install sudo gnupg git-base mercurial \
		moreutils mozilla-rootcerts bash
else
	# TODO: Remove bash
	for pkg in security/sudo security/gnupg devel/git-base misc/moreutils \
		security/mozilla-rootcerts shells/bash
		security/mozilla-rootcerts shells/bash devel/mercurial
	do
		pkgsrc_build "$pkg"
	done