M images/alpine/functions => images/alpine/functions +2 -0
@@ 54,6 54,8 @@ sanity_check() {
guest_ssh -p 8022 build@localhost sudo apk add htop
echo "Testing git..."
guest_ssh -p 8022 build@localhost git --version
+ echo "Testing mercurial..."
+ guest_ssh -p 8022 build@localhost hg --version
echo "Everything works!"
guest_ssh -p 8022 build@localhost sudo poweroff || true
}
M images/alpine/genimg => images/alpine/genimg +1 -1
@@ 50,7 50,7 @@ apk add -U -X http://dl-cdn.alpinelinux.org/alpine/$release/main/ \
--arch="$arch" \
--root=/mnt \
--initdb \
- acct alpine-base alpine-conf alpine-sdk linux-vanilla git openssh \
+ acct alpine-base alpine-conf alpine-sdk linux-vanilla git mercurial openssh \
sudo syslinux tzdata gnupg haveged bash
mount --bind /dev /mnt/dev
M images/archlinux/functions => images/archlinux/functions +2 -0
@@ 46,6 46,8 @@ sanity_check() {
guest_ssh -p 8022 build@localhost sudo pacman -Syu --noconfirm
echo "Testing git..."
guest_ssh -p 8022 build@localhost git --version
+ echo "Testing mercurial..."
+ guest_ssh -p 8022 build@localhost hg --version
echo "Testing AUR packages..."
install 8022 brightnessctl
echo "Everything works!"
M images/archlinux/genimg => images/archlinux/genimg +1 -1
@@ 20,7 20,7 @@ mkdir -p "$root"
mkfs.ext4 /dev/nbd0
mount /dev/nbd0 "$root"
-pacstrap root base base-devel git openssh
+pacstrap root base base-devel git mercurial openssh
run_root() {
local cmd="$@"
M images/debian/functions => images/debian/functions +2 -0
@@ 67,6 67,8 @@ sanity_check() {
guest_ssh -p 8022 build@localhost curl https://example.org
echo "Testing git..."
guest_ssh -p 8022 build@localhost git --version
+ echo "Testing mercurial..."
+ guest_ssh -p 8022 build@localhost hg --version
echo "Everything works!"
guest_ssh -p 8022 build@localhost sudo systemctl poweroff || true
}
M images/debian/genimg => images/debian/genimg +1 -1
@@ 99,7 99,7 @@ run_root apt-get update
run_root apt-get -y install locales
run_root apt-get -y install linux-image-$arch
run_root apt-get -y install \
- build-essential git ssh sudo dirmngr apt-transport-https extlinux
+ build-essential git mercurial ssh sudo dirmngr apt-transport-https extlinux
if [ "$arch" = "amd64" ]
then
M images/fedora/functions => images/fedora/functions +2 -0
@@ 42,6 42,8 @@ sanity_check() {
guest_ssh -p 8022 build@localhost sudo dnf -y install htop
echo "Testing git..."
guest_ssh -p 8022 build@localhost git --version
+ echo "Testing mercurial..."
+ guest_ssh -p 8022 build@localhost hg --version
echo "Everything works!"
guest_ssh -p 8022 build@localhost sudo systemctl poweroff || true
}
M images/fedora/genimg => images/fedora/genimg +1 -1
@@ 85,7 85,7 @@ run_root systemctl enable systemd-networkd.service
run_root systemctl enable systemd-timesyncd.service
run_root dnf -y install kernel
-run_root dnf -y install @development-tools git openssh-server sudo \
+run_root dnf -y install @development-tools git mercurial openssh-server sudo \
syslinux syslinux-extlinux
if [ "$arch" = "x86_64" ]
M images/ubuntu/functions => images/ubuntu/functions +2 -0
@@ 67,6 67,8 @@ sanity_check() {
guest_ssh -p 8022 build@localhost curl https://example.org
echo "Testing git..."
guest_ssh -p 8022 build@localhost git --version
+ echo "Testing mercurial..."
+ guest_ssh -p 8022 build@localhost hg --version
echo "Everything works!"
guest_ssh -p 8022 build@localhost sudo systemctl poweroff || true
}
M images/ubuntu/genimg => images/ubuntu/genimg +1 -1
@@ 107,7 107,7 @@ run_root apt-get update
run_root apt-get -y install locales
run_root apt-get -y install linux-image-generic
run_root apt-get -y install \
- build-essential git ssh sudo dirmngr
+ build-essential git mercurial ssh sudo dirmngr
if [ "$arch" = "amd64" ]
then