diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2026-07-27 20:25:14 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-07-27 20:25:14 +0300 |
| commit | 8348425ca716e9d20ec3ddb9d1d39425a778530d (patch) | |
| tree | 8fa3b80fad5d2a5597a27bca90d3977f6b761ce4 /roles/host/templates/usr_local_bin_update_ports.sh.j2 | |
| parent | 73202ab15e3ff44678cbb646b69d647441303c55 (diff) | |
Use poudriere built packages, upgrade to 15.1
Diffstat (limited to 'roles/host/templates/usr_local_bin_update_ports.sh.j2')
| -rw-r--r-- | roles/host/templates/usr_local_bin_update_ports.sh.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/host/templates/usr_local_bin_update_ports.sh.j2 b/roles/host/templates/usr_local_bin_update_ports.sh.j2 index ad4102d..7063652 100644 --- a/roles/host/templates/usr_local_bin_update_ports.sh.j2 +++ b/roles/host/templates/usr_local_bin_update_ports.sh.j2 @@ -53,6 +53,13 @@ custom) rm -rf "${BASEDIR}/custom" git clone "$REMOTE_CUSTOM" "${BASEDIR}/custom" fi + + # Regenerate poudriere pkglist from all ports in the overlay + echo "Regenerating poudriere pkglist..." + find "${BASEDIR}/custom" -name Makefile -mindepth 3 -maxdepth 3 | \ + sed "s|${BASEDIR}/custom/||; s|/Makefile||" | \ + sort > /usr/local/etc/poudriere-pkglist + echo "Pkglist updated: $(wc -l < /usr/local/etc/poudriere-pkglist) ports." echo "Done. Custom ports overlay updated." ;; *) |
