Commit 5598114d authored by Vitaly Lipatov's avatar Vitaly Lipatov

myhsh: add TODO build correct src.rpm via hasher

parent d081d50f
......@@ -25,6 +25,7 @@ phelp()
echo
echog "Options:"
echog " -c build without stuff (without previous built packages)"
echog " -n build src.rpm only"
echog " -r remove packages from test hasher"
echog " -p print binary packages by built list"
echog " -l lazy cleanup (before build, not after)"
......@@ -32,11 +33,12 @@ phelp()
echog " -b REPONAME binary repository name (p6, t6, c7, p8 and so on)"
}
while getopts :habpclr opt; do
while getopts :habpnclr opt; do
case $opt in
h) phelp; exit 0;;
p) PRINTBINPKG=1;;
b) BINARYREPONAME=$OPTARG ;;
n) BUILDSRCRPM="--build-srpm-only";;
r) REMOVEPKG=1;;
a) REPACKAGE="--query-repackage";;
l) HASHERARG="$HASHERARG --lazy-cleanup";;
......@@ -124,7 +126,7 @@ prepare_aptconfig
# TODO: for add $LISTRPMARGS we need skip function for delete "our" params
# we do not need check cases for mount points, thanks ldv@
HASHERARG="--no-sisyphus-check=$HASHER_NOCHECK --apt-config=$OURAPTCONF --target $BUILDARCH $HASHERARG"
HASHERARG="--mountpoints=/proc,/dev/pts $HASHERARG $REPACKAGE"
HASHERARG="--mountpoints=/proc,/dev/pts $HASHERARG $REPACKAGE $BUILDSRCRPM"
BUILDARGS=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment