jigdo
Debian CD/DVD image assembly using rsync and jigdo-mirror. The sync runs in four
phases: phase 1 fetches jigdo template files (excluding ISOs), phase 2 runs
jigdo-mirror to assemble ISO images from a Debian package mirror, and phase 3
syncs selected final ISO files with --size-only. Phase 4 writes the trace file.
Options
Option |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
string |
(none) |
Yes |
rsync URL or path to the jigdo-file index used in phase 1. A |
|
string |
(none) |
Yes |
Debian package mirror URL passed to |
|
int |
|
No |
rsync |
|
bool |
|
No |
Write a trace file on successful sync. |
|
string |
|
No |
Relative subdirectory under |
|
list of string |
|
No |
Phase 1 exclude patterns. Prevents ISO files from being downloaded before assembly. |
|
list of string |
|
No |
Phase 3 include patterns that select which assembled ISOs to sync. |
|
list of string |
|
No |
Extra rsync flags appended to both phase 1 and phase 3 rsync invocations. |
|
string |
|
No |
Path or name of the rsync binary. |
|
string |
|
No |
Path or name of the |
|
string |
mirror hostname |
No |
Override the hostname used in rsync exclude patterns. Defaults to the global mirror hostname, then falls back to |
|
string |
|
No |
rsync username. Sets the |
|
string |
|
No |
rsync password. Sets the |
Example
This entry is ready to place inside the top-level packages object:
"debian-iso-amd64": {
"name": "Debian ISO amd64",
"id": "debian-iso-amd64",
"href": "/debian-cd",
"synctype": "jigdo",
"syncrate": "P1D",
"link": [{ "rel": "HOME", "href": "https://www.debian.org/CD/" }],
"settings": {
"hidden": false,
"src": "rsync://cdimage.debian.org/debian-cd/current/",
"dst": "/srv/mirror/debian-cd",
"options": {
"jigdo_file": "rsync://cdimage.debian.org/debian-cd/current/amd64/jigdo-cd/",
"debian_mirror": "http://deb.debian.org/debian",
"user": "mirror",
"password": "secret",
"timeout": 7200,
"trace": true,
"trace_path": "project/trace",
"template_excludes": ["*.iso"],
"final_includes": ["*businesscard*.iso", "*netinst*.iso", "i386/**.iso"],
"extra_rsync_args": ["--bwlimit=100000"],
"rsync_bin": "rsync",
"jigdo_mirror_bin": "jigdo-mirror"
}
}
}
Full reference
See the Configuration reference (section 4) for the authoritative narrative.