Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
5598114d
You need to sign in or sign up before continuing.
Commit
5598114d
authored
Nov 22, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
myhsh: add TODO build correct src.rpm via hasher
parent
d081d50f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
myhsh
bin/myhsh
+4
-2
No files found.
bin/myhsh
View file @
5598114d
...
...
@@ -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
:habp
n
clr 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
=
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment