OnWorks favicon

mockchain - Online in the Cloud

Run mockchain in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mockchain that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



mockchain - chain package builder.


mockchain -r chroot_config [options] [package...]


mockchain builds a series of srpms in mock one at a time. After each successful build of a
package it adds the resulting packages to a local repo which are available to the next
package to satisfy buildreqs.


This does not try to sort the packages by build order b/c that is too much effort and not
obviously doable with the buildreq information we have.

The build process when you use -l is idempotent so a package which has already been
successfully built will not be built again.

If you want to force the rebuild of a package which has been built successfully simply
remove the 'success' file from the directory for the package in the localrepo path.


-a REPOS, --addrepo=REPOS
add this repo baseurl to the yumconfig for the buildroot. This can be specified
multiple times. Let's you point to multiple paths beyond the default to pull build
deps from.

-c, --continue
if a pkg fails to build, continue to the next one, default is to stop

-l LOCALREPO, --localrepo=PATH
set the path to put the results/repo in. This path needs to be somewhere accessible
to users other than you for reading as the mock process doesn't run as you. Will
make a tempdir if not set.

log to the file named by this option, defaults to not logging

-r CHROOT, --root=CHROOT
chroot config name to use in the mock build

build all pkgs, record the failures and try to rebuild them again and again until
everything gets built (or until the set of pkgs failing to build are the same over)
sets --continue


Seth Vidal <[email protected]>

Use mockchain online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 2
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 3
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 4
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    Download VBA-M (Archived - Now on Github)
  • 5
    Linux System Optimizer and Monitoring
    Github Repository:
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • 6
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    Download OrangeFox
  • More »

Linux commands