supabase-postgres.git / summary / log / commit / refs
commit c4feab7c7c8e23d09d8f8398b035ea127990482d
Author: Div Arora <root@darora.com>
Commit: Div Arora <darora@users.noreply.github.com>
Date: Thu Sep 25 23:02:24 2025 +0000
fix: adjust the qemu vars filename
ebssurrogate/scripts/qemu-bootstrap-nix.sh | 4 ++--
qemu_artifact.md | 8 +++-----
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/ebssurrogate/scripts/qemu-bootstrap-nix.sh b/ebssurrogate/scripts/qemu-bootstrap-nix.sh
index 81bd1322..0b21959c 100755
--- a/ebssurrogate/scripts/qemu-bootstrap-nix.sh
+++ b/ebssurrogate/scripts/qemu-bootstrap-nix.sh
@@ -40,7 +40,7 @@ EOF
--extra-vars "postgresql_major_version=${POSTGRES_MAJOR_VERSION}" \
--extra-vars "postgresql_major=${POSTGRES_MAJOR_VERSION}" \
--extra-vars "psql_version=psql_${POSTGRES_MAJOR_VERSION}" \
- --extra-vars @./ansible/qemu-vars.yml
+ --extra-vars @./ansible/qemu-vars.yaml
}
function setup_postgesql_env {
@@ -103,7 +103,7 @@ EOF
--extra-vars "postgresql_major_version=${POSTGRES_MAJOR_VERSION}" \
--extra-vars "postgresql_major=${POSTGRES_MAJOR_VERSION}" \
--extra-vars "psql_version=psql_${POSTGRES_MAJOR_VERSION}" \
- --extra-vars @./ansible/qemu-vars.yml
+ --extra-vars @./ansible/qemu-vars.yaml
}
function clean_legacy_things {
diff --git a/qemu_artifact.md b/qemu_artifact.md
index 20a33f5c..bc71d700 100644
--- a/qemu_artifact.md
+++ b/qemu_artifact.md
@@ -45,11 +45,9 @@ For faster iteration, it's more convenient to build the image on an ubuntu bare-
list of packages installed on the EKS to build images:
```
- apt-get install -y git emacs ripgrep vim-tiny byobu build-essential
- wget -O - https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(grep -oP '(?<=UBUNTU_CODENAME=).*' /etc/os-release || lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
- apt-cache update
- apt-get install -y qemu-system qemu-system-arm qemu-utils qemu-efi-aarch64 libvirt-clients libvirt-daemon libqcow-utils software-properties-common git make libnbd-bin nbdkit fuse2fs cloud-image-utils awscli packer=1.11.2-1
+ apt-get install -y git emacs ripgrep vim-tiny byobu build-essential unzip
+ curl -L "https://releases.hashicorp.com/packer/1.14.1/packer_1.14.1_linux_$(dpkg --print-architecture).zip" -o packer.zip && unzip packer.zip && rm -f packer.zip && sudo mv packer /usr/local/bin/
+ apt-get install -y qemu-system qemu-system-arm qemu-utils qemu-efi-aarch64 libvirt-clients libvirt-daemon libqcow-utils software-properties-common git make libnbd-bin nbdkit fuse2fs cloud-image-utils
```
### Dependencies note
[parent: beede0b69c2e]