Compare commits
No commits in common. "aa67146dab4953066b85586110f8f37e78f73f83" and "fafb2b344836865ac72b71e7b2f2571e943d5dc8" have entirely different histories.
aa67146dab
...
fafb2b3448
@ -203,9 +203,6 @@ If you have an rsync password and need to authenticate with an rsync server, thi
|
|||||||
#### post_hook
|
#### post_hook
|
||||||
Any hooks to call after a successful sync, define here. If you are using jigdo, the hook is `jigdo_hook`.
|
Any hooks to call after a successful sync, define here. If you are using jigdo, the hook is `jigdo_hook`.
|
||||||
|
|
||||||
#### jigdo_pkg_repo
|
|
||||||
If you are using jigdo to build ISO images, you need to define the path to the repo of packages.
|
|
||||||
|
|
||||||
#### arch_configurations
|
#### arch_configurations
|
||||||
Information for trace files on what architectures are synchronized to this mirror.
|
Information for trace files on what architectures are synchronized to this mirror.
|
||||||
|
|
||||||
@ -240,7 +237,6 @@ example_timestamp="/home/mirror/timestamp/example"
|
|||||||
example_source="rsync://rsync.example.org/module/"
|
example_source="rsync://rsync.example.org/module/"
|
||||||
example_options="--exclude '.~tmp~' --exclude '*.iso'"
|
example_options="--exclude '.~tmp~' --exclude '*.iso'"
|
||||||
example_pre_stage2_hook="jigdo_hook"
|
example_pre_stage2_hook="jigdo_hook"
|
||||||
example_jigdo_pkg_repo="/home/mirror/http/debian/"
|
|
||||||
example_options_stage2="--exclude '.~tmp~'"
|
example_options_stage2="--exclude '.~tmp~'"
|
||||||
example_type="iso"
|
example_type="iso"
|
||||||
```
|
```
|
||||||
|
@ -437,7 +437,7 @@ jigdo_hook() {
|
|||||||
cat >"${jigdoConf:?}.${arch}.${s}" <<EOF
|
cat >"${jigdoConf:?}.${arch}.${s}" <<EOF
|
||||||
LOGROTATE=14
|
LOGROTATE=14
|
||||||
jigdoFile="$JIGDO_FILE_BIN --cache=\$tmpDir/jigdo-cache.db --cache-expiry=1w --report=noprogress --no-check-files"
|
jigdoFile="$JIGDO_FILE_BIN --cache=\$tmpDir/jigdo-cache.db --cache-expiry=1w --report=noprogress --no-check-files"
|
||||||
debianMirror="file:${jigdo_pkg_repo:-}"
|
debianMirror="file:${repo}"
|
||||||
nonusMirror="file:/tmp"
|
nonusMirror="file:/tmp"
|
||||||
include='.' # include all files,
|
include='.' # include all files,
|
||||||
exclude='^$' # then exclude none
|
exclude='^$' # then exclude none
|
||||||
@ -633,7 +633,6 @@ rsync_sync() {
|
|||||||
export RSYNC_PASSWORD
|
export RSYNC_PASSWORD
|
||||||
fi
|
fi
|
||||||
eval post_hook="\$${MODULE}_post_hook"
|
eval post_hook="\$${MODULE}_post_hook"
|
||||||
eval jigdo_pkg_repo="\$${MODULE}_jigdo_pkg_repo"
|
|
||||||
eval arch_configurations="\$${MODULE}_arch_configurations"
|
eval arch_configurations="\$${MODULE}_arch_configurations"
|
||||||
eval repo_type="\$${MODULE}_type"
|
eval repo_type="\$${MODULE}_type"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user