MOCK-HERMETIC-REPO(1)
π MOCK-HERMETIC-REPO(1) π
okay bestie, gather round, because this little cutie (mock-hermetic-repo, that's her name, she's a manual page girly) is about to make your hermetic builds look effortless β¨
β¨ NAME β¨
mock-hermetic-repo β that's the whole name, no notes, she's iconic like that π
π SYNOPSIS π
mock-hermetic-repo [-h] --lockfile LOCKFILE --output-repo OUTPUT_REPO
[--client-cert-for HOST CERT [KEY] [HOST CERT [KEY] ...]]
π¦ DESCRIPTION π¦
so here's the vibe: this tool gets a repository all prepped and pretty for a mock --hermetic-build build πΈ
you hand her a Mock buildroot "lockfile", and she:
- creates an output repo directory π
- downloads and places all the necessary RPM files in there π¦
- creates a local RPM repository right there (she runs
createrepo) π§ - dumps the previously used bootstrap image in there too, as a tarball ποΈ
now, about that lockfile: it's a buildroot_lock.json file, straight out of Mock's result directory π
it's a JSON file, and it gets generated by the --calculate-build-dependencies option slash buildroot_lock plugin β iykyk π«Ά
π OPTIONS π
--lockfileLOCKFILE β pick whichbuildroot_lock.jsonfilename lives on your system. typically she's chilling in Mock's result directory, and she shows up there once you've run the--calculate-build-dependenciesmode ποΈ--output-repoOUTPUT_REPO β all the RPMs get downloaded into this directory, and then/bin/createrepo_cgets run right there to populate the RPM repo metadata β--client-cert-forHOST CERT [KEY] [HOST CERT [KEY] ...] β registers a client certificate (plus an optional key) for one specific host. repeatable, so stack as many as you want π usage:
--client-cert-for HOST CERT [KEY]
π«Ά quick heads up, bestie: -h is in the synopsis up there, and that's all this page says about it β so no spoilers from me, no cap π
and that's the whole page!! it's giving "short but essential", it's giving "read me before you build" π§
this one was brought to you by mock-hermetic-repo, dated 2026-10-01 π take care of her, she takes care of your repo πβ¨π
π¦ where this page comes from
- epel 10: mock 6.9-1.el10_3 Β· GPL-2.0-or-later
- epel 9: mock 6.9-1.el9 Β· GPL-2.0-or-later
- fedora 44: mock 6.9-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms