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
ee7a36e5
Commit
ee7a36e5
authored
Mar 30, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
always set APTCONF and HASHERDIR
parent
90deaef1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
common
share/eterbuild/functions/common
+3
-2
config
share/eterbuild/functions/config
+0
-2
hasher
share/eterbuild/functions/hasher
+3
-3
No files found.
share/eterbuild/functions/common
View file @
ee7a36e5
...
@@ -125,12 +125,13 @@ VENDOR=`distr_vendor -s`
...
@@ -125,12 +125,13 @@ VENDOR=`distr_vendor -s`
RPMVENDOR
=
`
distr_vendor
-n
`
RPMVENDOR
=
`
distr_vendor
-n
`
if
[
"
$VENDOR
"
=
"alt"
]
&&
[
-n
"
$MENV
"
]
;
then
if
[
"
$VENDOR
"
=
"alt"
]
&&
[
-n
"
$MENV
"
]
;
then
[
-n
"
$APTCONF
"
]
||
APTCONF
=
${
APTCONFBASE
/.SS
}
.
$MENV
#[ -n "$APTCONF" ] && fatal "Internal error: APTCONF already defined as $APTCONF for $MENV"
APTCONF
=
${
APTCONFBASE
/.SS
}
.
$MENV
[
-n
"
$VERBOSE
"
]
&&
echog
"Target ALT Linux system:
`
get_altdistr_version
$MENV
`
, use
\$
APTCONF"
[
-n
"
$VERBOSE
"
]
&&
echog
"Target ALT Linux system:
`
get_altdistr_version
$MENV
`
, use
\$
APTCONF"
MENVARG
=
"-
$MENV
"
MENVARG
=
"-
$MENV
"
else
else
# FIXME: echog break
e
s vars
# FIXME: echog breaks vars
echog
"Distribution:
\$
DISTRNAME (
\$
VENDOR) (target package:
\$
TARGET)"
echog
"Distribution:
\$
DISTRNAME (
\$
VENDOR) (target package:
\$
TARGET)"
fi
fi
}
}
...
...
share/eterbuild/functions/config
View file @
ee7a36e5
...
@@ -40,8 +40,6 @@ COMPANYFTP=etersoft.ru
...
@@ -40,8 +40,6 @@ COMPANYFTP=etersoft.ru
TARGETFTPBASE
=
"/var/ftp"
TARGETFTPBASE
=
"/var/ftp"
LOGDIR
=
"
$RPMDIR
/log"
LOGDIR
=
"
$RPMDIR
/log"
HASHERBASEDIR
=
"
$HOME
/hasher"
HASHERBASEDIR
=
"
$HOME
/hasher"
# fill it in set_hasher_dir
HASHERDIR
=
""
HASHER_NOCHECK
=
nvr,gpg,packager,buildtime
HASHER_NOCHECK
=
nvr,gpg,packager,buildtime
HASHERARG
=
""
HASHERARG
=
""
...
...
share/eterbuild/functions/hasher
View file @
ee7a36e5
...
@@ -12,9 +12,9 @@ set_hasherdir()
...
@@ -12,9 +12,9 @@ set_hasherdir()
fatal
"Please install hasher package before use it"
fatal
"Please install hasher package before use it"
fi
fi
if
[
-n
"
$HASHERDIR
"
]
;
then
#
if [ -n "$HASHERDIR" ] ; then
fatal
"Possible HASHERBASEDIR is not set correctly. Please replace HASHERDIR with HASHERBASEDIR in the config file"
#
fatal "Possible HASHERBASEDIR is not set correctly. Please replace HASHERDIR with HASHERBASEDIR in the config file"
fi
#
fi
HASHERDIR
=
$HASHERBASEDIR$MENVARG
HASHERDIR
=
$HASHERBASEDIR$MENVARG
if
[
"
$DEFAULTARCH
"
=
"x86_64"
]
;
then
if
[
"
$DEFAULTARCH
"
=
"x86_64"
]
;
then
HASHERDIR
=
"
$HASHERDIR
-64"
HASHERDIR
=
"
$HASHERDIR
-64"
...
...
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