hsh-rebuild(1)

HSH-REBUILD(1) User Commands HSH-REBUILD(1)

NAME

hsh-rebuild - rebuild source package in the chroot prepared by hsh-initroot

SYNOPSIS

hsh-rebuild [options] [<path-to-workdir>] <source-package>
hsh-rebuild [options] --workdir=DIR <source-package>

DESCRIPTION

hsh-rebuild - rebuild source package in chroot prepared by hsh-initroot.

<path-to-workdir> must be valid writable directory.

OPTIONS

--args=ARGS
a deprecated synonym for --rpmbuild-args;
--build-srpm-only
do not build binary packages, produce src.rpm only;
--excludedocs
do not install documentation files ($exclude_docs);
--hasher-priv-dir=DIR
hasher-priv directory ($def_hasher_priv_dir);
--install-only
do not build, stop after installing build dependencies;
--mountpoints=LIST
comma-separated list of known mount points ($known_mountpoints);
--repo-mountpoints=LIST
comma-separated list of mountpoints containing a repo used for image building ($repo_mountpoints);
--nodeps
ignore package dependencies (dangerous);
--no-sisyphus-check-in[=LIST]
do not run sisyphus_check input tests [specified in LIST] ($no_sisyphus_check_in);
--no-sisyphus-check[=LIST]
do not run sisyphus_check tests [specified in LIST] ($no_sisyphus_check);
--no-sisyphus-check-out[=LIST]
do not run sisyphus_check output tests [specified in LIST] ($no_sisyphus_check_out);
--number=NUMBER
subconfig identifier ($number);
--query-repackage
repackage the source before query for requirements (default) ($query_repackage);
--no-query-repackage
do not repackage the source before query for requirements;
--query-req-prog=FILE
program to run to query for requirements instead of autogenerated script ($prog_query_req);
--rebuild-prog=FILE
program to run for rebuild instead of autogenerated script ($prog_rebuild);
--repo=DIR
repository directory ($def_repo);
--repo-bin=DIR
binary packages destination directory, overriding --repo option for binary packages ($repo_bin);
--repo-src=DIR
source packages destination directory, overriding --repo option for source packages ($repo_src);
--images=DIR
image output directory ($def_images);
--rpmbuild-args=ARGS
extra arguments for rpmbuild ($rpmargs);
--source-only
do not build, stop after installing source package;
--target=ARCH
target architecture ($def_target);
--wait-lock
wait for workdir and hasher-priv locks ($lock_nowait);
--no-wait-lock
do not wait for workdir and hasher-priv locks ($lock_nowait);
--img-apt-config
path to a custom apt.conf file used for image building ($img_apt_config);
--without-stuff
do not generate apt index files ($no_stuff);
--with-stuff
generate apt index files ($no_stuff);
--workdir=DIR
path to workdir to use ($workdir);
-q, --quiet
try to be more quiet;
-v, --verbose
print a message for each action;
-V, --version
print program version and exit;
-h, --help
show this text and exit.

Correspondent config file variable, if any, is mentioned by dollar sign at the end of option description ($like_this).

AUTHOR

Written by Dmitry V. Levin <ldv@altlinux.org> et al.

REPORTING BUGS

Report bugs to https://bugzilla.altlinux.org/

COPYRIGHT

Copyright © 2003-2022 Dmitry V. Levin <ldv@altlinux.org>
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO

hsh(1), hsh-initroot(1).

August 2023 hasher 1.7.2