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
9b3d7f87
Commit
9b3d7f87
authored
Jul 09, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move build src.rpm to rpmbsh from myhsh, fix gear support
parent
68070d6c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
myhsh
bin/myhsh
+1
-8
rpmbsh
bin/rpmbsh
+10
-0
No files found.
bin/myhsh
View file @
9b3d7f87
...
@@ -22,8 +22,6 @@ phelp()
...
@@ -22,8 +22,6 @@ phelp()
echog
"
$Descr
"
echog
"
$Descr
"
echog
"
$Usage
"
echog
"
$Usage
"
echog
"Options:"
echog
"Options:"
echog
" -s - sign package(s)"
echog
" -u - sign and upload package(s) to Incoming"
echog
" -i - install built packages in test hasher"
echog
" -i - install built packages in test hasher"
echog
" -c - build without stuff (previous built packages)"
echog
" -c - build without stuff (previous built packages)"
}
}
...
@@ -134,12 +132,7 @@ if [ "$RESULT" = "0" -a -n "$TESTINSTALL" ] ; then
...
@@ -134,12 +132,7 @@ if [ "$RESULT" = "0" -a -n "$TESTINSTALL" ] ; then
test
-n
"
$BINPACKAGES
"
||
fatal
"Can't find binary packages for
$LASTPACKAGE
in
`
ls
-l
$HASHERDIR
/repo/
$DEFAULTARCH
/RPMS.hasher
`
"
test
-n
"
$BINPACKAGES
"
||
fatal
"Can't find binary packages for
$LASTPACKAGE
in
`
ls
-l
$HASHERDIR
/repo/
$DEFAULTARCH
/RPMS.hasher
`
"
echo
"List:
$BINPACKAGES
"
echo
"List:
$BINPACKAGES
"
echo
echo
loginhsh
-t
-i
$MENVARG
$BINPACKAGES
||
exit
1
$ETERBUILDBIN
/loginhsh
-t
-i
$MENVARG
$BINPACKAGES
||
exit
1
fi
# make src.rpm if need
if
[
"
$RESULT
"
=
"0"
]
;
then
test
-n
"
$LISTRPMARGS
"
&&
rpmbs
$MENVARG
$LISTRPMARGS
$LISTBUILTSH
fi
fi
exit
$RESULT
exit
$RESULT
bin/rpmbsh
View file @
9b3d7f87
...
@@ -96,6 +96,16 @@ if [ -n "$REMOTEBUILD" ] ; then
...
@@ -96,6 +96,16 @@ if [ -n "$REMOTEBUILD" ] ; then
else
else
cd
$RPMTOPDIR
/SRPMS
&&
time
$ETERBUILDBIN
/myhsh
$MENVARG
$LISTRPMARGS
$LISTBUILT
cd
$RPMTOPDIR
/SRPMS
&&
time
$ETERBUILDBIN
/myhsh
$MENVARG
$LISTRPMARGS
$LISTBUILT
RESULT
=
$?
RESULT
=
$?
# make src.rpm if build OK and we have options for rpmbs
if
[
"
$RESULT
"
=
"0"
]
&&
[
-n
"
$LISTRPMARGS
"
]
;
then
if
is_gear
$SPECDIR
;
then
$ETERBUILDBIN
/rpmbs
$MENVARG
$LISTRPMARGS
$LISTNAMES
else
$ETERBUILDBIN
/rpmbs
$MENVARG
$LISTRPMARGS
$LISTBUILT
fi
fi
date
date
echo
"-------------------------------"
echo
"-------------------------------"
fi
fi
...
...
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