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
65fbf93e
Commit
65fbf93e
authored
Dec 04, 2008
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use prepare_aptconfig
parent
a598c0b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
rpmunmets
bin/rpmunmets
+5
-7
No files found.
bin/rpmunmets
View file @
65fbf93e
...
...
@@ -10,6 +10,7 @@
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod hasher
make_ordinalbox
()
{
...
...
@@ -71,12 +72,6 @@ ORDINALWORKDIR=$OURTMPDIR/WD1
TESTINGWORKDIR
=
$OURTMPDIR
/WD2
ORDINALAPTCONF
=
$APTCONF
TESTINGAPTCONF
=
$OURTMPDIR
/apt.conf
# Hack: subst patch to sources.list
cat
$ORDINALAPTCONF
|
\
sed
-e
"s|
\"
/etc/.*apt/sources.*
\"
|
\"
$OURTMPDIR
/sources.list
\"
|g"
>
$TESTINGAPTCONF
cat
$ETERBUILDETC
/apt/sources.list.
$MENV
>
$OURTMPDIR
/sources.list
||
fatal
""
HASHERDIR
=
$HASHERDIR$MENVARG
if
[
!
-d
$HASHERDIR
/repo
]
||
[
-n
"
$SKIPTST
"
]
;
then
...
...
@@ -89,7 +84,10 @@ if [ ! -d $HASHERDIR/repo ] || [ -n "$SKIPTST" ] ; then
exit
0
fi
echo
"rpm file:
$HASHERDIR
/repo/
$DEFAULTARCH
hasher"
>>
$OURTMPDIR
/sources.list
# Prepare our confdir
prepare_aptconfig
TESTINGAPTCONF
=
$OURAPTCONF
echo
"rpm file:
$HASHERDIR
/repo/
$DEFAULTARCH
hasher"
>>
$OURSOURCES
make_ordinalbox
make_testingbox
...
...
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