Changeset 833 for rpmbuild-bot
- Timestamp:
- Aug 8, 2016, 3:57:12 PM (9 years ago)
- Location:
- rpmbuild-bot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
rpmbuild-bot/rpmbuild-bot-env.sh
r724 r833 59 59 RPMBUILD_BOT_ARCH_LIST="pentium4 i686" 60 60 61 # Overrides of RPM arch list for specific packages. 62 RPMBUILD_BOT_ARCH_LIST_libc="i686" # Binary build -> no other archs. 63 61 64 # Basic RPM repository layout for this distribution channel. 62 65 RPMBUILD_BOT_UPLOAD_REPO_LAYOUT_rpm="\$base/i386/\$arch" -
rpmbuild-bot/rpmbuild-bot.sh
r830 r833 333 333 build_cmd() 334 334 { 335 local base_arch="${RPMBUILD_BOT_ARCH_LIST##* }" 335 eval local arch_list="\${RPMBUILD_BOT_ARCH_LIST_${spec_name}}" 336 [ -z "$arch_list" ] && arch_list="${RPMBUILD_BOT_ARCH_LIST}" 337 338 local base_arch="${arch_list##* }" 336 339 337 340 echo "Spec file: $spec_full" 338 echo "Targets: $ RPMBUILD_BOT_ARCH_LIST+ SRPM + ZIP ($base_arch)"341 echo "Targets: $arch_list + SRPM + ZIP ($base_arch)" 339 342 340 343 sync_aux_src … … 365 368 366 369 # Generate RPMs. 367 for arch in $ RPMBUILD_BOT_ARCH_LIST; do370 for arch in $arch_list ; do 368 371 echo "Creating RPMs for '$arch' target (logging to $log_base.$arch.log)..." 369 372 start_time=$(date +%s) … … 429 432 done 430 433 # Save other arch RPMs. 431 for arch in ${ RPMBUILD_BOT_ARCH_LIST%${base_arch}} ; do434 for arch in ${arch_list%${base_arch}} ; do 432 435 rpms="`grep "^Wrote: \+.*\.$arch\.rpm$" "$log_base.$arch.log" | sed -e "s#^Wrote: \+##g"`" 433 436 [ -n "$rpms" ] || die "Cannot find .$arch.rpm file names in '$log_base.arch.log'."
Note:
See TracChangeset
for help on using the changeset viewer.