Issue when rsync debian-ports only riscv64 with ftpsync
Bo YU <[email protected]> Sun, 17 Apr 2022 23:38:16 +0800
| Newsgroups | gmane.linux.debian.user.mirrors |
|---|---|
| Message-ID | <CAKq8=3KiYiAhWPcJ_uZYy1RhmHu-=9SEwmm3xB7-aykLnGt2Ng@mail.gmail.com> |
hi, I am syncing the Debian-ports mirror with archvsync[0] and followed its instructions in README. And the etc/ftpsync-ports.conf is: ``` MIRRORNAME=`hostname -f` TO="/home/debian_sync/mirrors/debian/" # MAILTO="$LOGNAME" # HUB=false ######################################################################## ## Connection options ######################################################################## RSYNC_HOST=ftp.de.debian.org RSYNC_PATH=debian-ports # RSYNC_USER= # RSYNC_PASSWORD= ######################################################################## ## Mirror information options ######################################################################## ... ######################################################################## ## Include and exclude options ######################################################################## ARCH_INCLUDE="pool-riscv64 source" #ARCH_EXCLUDE="pool-alpha pool-hppa pool-hurd-i386 pool-ia64 pool-m68k pool-powerpc pool-ppc64 pool-sh4 pool-sparc64 pool-x32 pool-kfreebsd-amd64 pool-kfreebsd-i386" ... # LOGDIR= ``` As the title described, I want to sync riscv64 mirror only in order to deduce the resources. But I enable the `$ARCH_INCLUDE` or "$ARCH_EXCLUDE". It seems does not work, the log file hint it will sync other arch debs, such pool-alpha and so on. So, there are some wrong with me? The ftpsync cmd is `debian_sync@dev:~$ ./bin/ftpsync sync:archive:ports`. I think the Debian official release arch is ok. Eg, `$ARCH_INCLUDE="amd64 source"`. The config will enable ftpsync rsync amd64 arch deb packages only. Thanks, Bo [0]: https://salsa.debian.org/mirror-team/archvsync