remove default storage path variables from configuration and update log message for published repositories
This commit is contained in:
@@ -42,8 +42,6 @@ A comprehensive bash script to create and maintain aptly mirrors for Debian and
|
||||
|
||||
Key settings:
|
||||
- `ARCHITECTURES`: CPU architectures to mirror (e.g., `"amd64"` or `"amd64 arm64"`)
|
||||
- `APTLY_ROOT`: Where aptly stores its database and mirrors (default: `~/.aptly`)
|
||||
- `PUBLISH_ROOT`: Where published repos are served (default: `~/.aptly/public`)
|
||||
- `KEEP_SNAPSHOTS`: Number of old snapshot sets to retain (default: `2`)
|
||||
|
||||
4. **Make the script executable**:
|
||||
@@ -204,8 +202,6 @@ All settings are in `aptly-mirror.conf`. See the included example for detailed c
|
||||
| `DOWNLOAD_LIMIT` | `0` | Speed limit in KiB/s (0 = unlimited) |
|
||||
| `IGNORE_SIGNATURES` | `0` | Skip GPG verification (not recommended) |
|
||||
| `SKIP_SIGNING` | `0` | Skip GPG signing when publishing |
|
||||
| `APTLY_ROOT` | `~/.aptly` | Aptly database and mirrors location |
|
||||
| `PUBLISH_ROOT` | `~/.aptly/public` | Published repositories root |
|
||||
|
||||
### Logging
|
||||
|
||||
|
||||
@@ -28,19 +28,6 @@ DOWNLOAD_LIMIT=0
|
||||
# Set to 1 to skip GPG signing when publishing (useful if no GPG key configured)
|
||||
SKIP_SIGNING=0
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Storage paths
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Root directory for aptly data (mirrors, snapshots, db)
|
||||
# Leave empty to use aptly's default (~/.aptly)
|
||||
APTLY_ROOT=""
|
||||
|
||||
# Directory where published repositories are served from
|
||||
# Leave empty to use aptly's default (~/.aptly/public)
|
||||
PUBLISH_ROOT=""
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Debian mirrors
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
@@ -334,7 +334,7 @@ do_publish() {
|
||||
snapshot_and_publish_ubuntu
|
||||
log "=== Publish complete ==="
|
||||
log ""
|
||||
log "Repositories are published under ${PUBLISH_ROOT:-~/.aptly/public}/"
|
||||
log "Repositories are published under ~/.aptly/public/"
|
||||
log ""
|
||||
log "Client sources.list entries:"
|
||||
for codename in "${!DEBIAN_RELEASES[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user