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
92391a51
Commit
92391a51
authored
Nov 28, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
introduce RPMTMPDIR and create link to it in RPM/tmp (in rpmbb script)
parent
3d746a59
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
rpmbb
bin/rpmbb
+1
-0
rpmbs
bin/rpmbs
+1
-0
config
share/eterbuild/functions/config
+2
-0
No files found.
bin/rpmbb
View file @
92391a51
...
...
@@ -75,6 +75,7 @@ mygetopts $LISTARGS
mkdir
-p
"
$LOGDIR
"
mkdir
-p
"
$RPMTOPDIR
/RPMS"
test
-L
"
$RPMTOPDIR
/tmp"
||
ln
-s
$RPMTMPDIR
$RPMTOPDIR
/tmp
test
-z
"
$LISTNAMES
"
&&
fatal
"Please run with spec(s) name"
test
-n
"
$LISTRPMARGS
"
&&
echog
"Run
$RPMBUILD
with options: '
$LISTRPMARGS
'"
...
...
bin/rpmbs
View file @
92391a51
...
...
@@ -333,6 +333,7 @@ cat $RPMDIR/uploaded.log.tmp | grep task | head -n2 | tail -n1 >> $RPMDIR/upload
for
i
in
$LISTBUILT
;
do
# FIXME: more general way
mkdir
-p
$LOGDIR
LOGFILE
=
"
$LOGDIR
/
`
basename
$i
.src.rpm
`
$MENVARG
.log"
echo
>>
$LOGFILE
date
>>
$LOGFILE
...
...
share/eterbuild/functions/config
View file @
92391a51
...
...
@@ -29,6 +29,8 @@ RPMBUILD=rpmbuild
# CHECKME: works only on ALT?
RPMDIR
=
`
rpm
--eval
%_topdir
`
RPMTMPDIR
=
`
rpm
--eval
%_tmppath
`
# Can be overrided in the scripts
[
-n
"
$RPMTOPDIR
"
]
||
RPMTOPDIR
=
"
$RPMDIR
"
...
...
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