Skip to content

Commit

Permalink
Merge branch '14-22.04' into update-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Feb 28, 2024
2 parents d514fc1 + 52cf184 commit 1b22c60
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# PostgreSQL ROCK
# Charmed PostgreSQL ROCK
[![Publish ROCK](https://github.com/canonical/charmed-postgresql-rock/actions/workflows/publish.yaml/badge.svg)](https://github.com/canonical/charmed-postgresql-rock/actions/workflows/publish.yaml)

This repository contains the packaging metadata for creating a ROCK of PostgreSQL built from the official Ubuntu repositories. For more information on ROCKs, visit the [rockcraft Github](https://github.com/canonical/rockcraft).

## Building the ROCK
Expand Down
18 changes: 18 additions & 0 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ parts:
- ca-certificates
- tzdata
- logrotate
- libfreetype6
- libjson-c5
- libssh-4
- liblapack3
- libedit2
non-root-user:
plugin: nil
after: [postgresql-snap]
Expand Down Expand Up @@ -66,3 +71,16 @@ parts:
dpkg-query -W -f "${dpkg_ops}\n" \
--root=${CRAFT_PROJECT_DIR}/../parts/postgresql-snap/layer/ \
>> $CRAFT_PRIME/usr/share/rocks/dpkg.query
# PostgreSQL extensions
pushd "${CRAFT_PRIME}/usr/share/postgresql/14/extension"
ln -f postgis-3.control postgis.control
ln -f address_standardizer-3.control \
address_standardizer.control
ln -f address_standardizer_data_us-3.control \
address_standardizer_data_us.control
ln -f postgis_raster-3.control postgis_raster.control
ln -f postgis_tiger_geocoder-3.control \
postgis_tiger_geocoder.control
ln -f postgis_topology-3.control postgis_topology.control
ln -f postgis_topology-3.control postgis_topology.control
popd

0 comments on commit 1b22c60

Please sign in to comment.