From b3fe689f304aadb4c0b3e5fddad88a219953eeb5 Mon Sep 17 00:00:00 2001 From: Artem Yevsiukov Date: Fri, 19 Jan 2024 13:18:30 +0200 Subject: [PATCH] Add `postgis` extension symlinks --- rockcraft.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/rockcraft.yaml b/rockcraft.yaml index 773255d..191828b 100644 --- a/rockcraft.yaml +++ b/rockcraft.yaml @@ -66,3 +66,20 @@ parts: dpkg-query -W -f "${dpkg_ops}\n" \ --root=${CRAFT_PROJECT_DIR}/../parts/postgresql-snap/layer/ \ >> $CRAFT_PRIME/usr/share/rocks/dpkg.query + ln $CRAFT_PRIME/usr/share/postgresql/14/extension/postgis.control \ + $CRAFT_PRIME/usr/share/postgresql/14/extension/postgis-3.control + ln $CRAFT_PRIME/usr/share/postgresql/14/extension/ \ + address_standardizer.control $CRAFT_PRIME/usr/share/postgresql/ \ + 14/extension/address_standardizer-3.control + ln $CRAFT_PRIME/usr/share/postgresql/14/extension/ \ + address_standardizer_data_us.control $CRAFT_PRIME/usr/share/ \ + postgresql/14/extension/address_standardizer_data_us-3.control + ln $CRAFT_PRIME/usr/share/postgresql/14/extension/ \ + postgis_raster.control $CRAFT_PRIME/usr/share/postgresql/14/ \ + extension/postgis_raster-3.control + ln $CRAFT_PRIME/usr/share/postgresql/14/extension/ \ + postgis_tiger_geocoder.control $CRAFT_PRIME/usr/share/ \ + postgresql/14/extension/postgis_tiger_geocoder-3.control + ln $CRAFT_PRIME/usr/share/postgresql/14/extension/ \ + postgis_topology.control $CRAFT_PRIME/usr/share/ \ + postgresql/14/extension/postgis_topology-3.control