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
f712dc13
Commit
f712dc13
authored
Jul 20, 2008
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add support for APTCONF in /etc/eterbuild
add initial support for apt/sources.list in the source tree
parent
411fd55c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
2 deletions
+21
-2
rpmunmets
etersoft-build-utils/bin/rpmunmets
+1
-1
config
etersoft-build-utils/share/eterbuild/functions/config
+4
-1
hasher
etersoft-build-utils/share/eterbuild/functions/hasher
+8
-0
test_aptconf.sh
etersoft-build-utils/tests/test_aptconf.sh
+8
-0
No files found.
etersoft-build-utils/bin/rpmunmets
View file @
f712dc13
...
...
@@ -75,7 +75,7 @@ TESTINGAPTCONF=$OURTMPDIR/apt.conf
# Hack: subst patch to sources.list
cat
$ORDINALAPTCONF
|
\
sed
-e
"s|
\"
/etc/
apt/
.*
\"
|
\"
$OURTMPDIR
/sources.list
\"
|g"
>
$TESTINGAPTCONF
sed
-e
"s|
\"
/etc/
.*apt/sources
.*
\"
|
\"
$OURTMPDIR
/sources.list
\"
|g"
>
$TESTINGAPTCONF
cat
$ETERBUILDETC
/apt/sources.list.
$MENV
>
$OURTMPDIR
/sources.list
||
fatal
""
HASHERDIR
=
$HASHERDIR$MENVARG
...
...
etersoft-build-utils/share/eterbuild/functions/config
View file @
f712dc13
...
...
@@ -32,7 +32,10 @@ is_git()
}
RPMDIR
=
"
$HOME
/RPM"
[
-n
"
$APTCONF
"
]
||
APTCONF
=
$ETERBUILDETC
/apt/apt.conf
# apt.conf.SS is exists by default
[
-n
"
$APTCONF
"
]
||
APTCONF
=
$ETERBUILDETC
/apt/apt.conf.SS
#OWNERMAIL=`grep "^%packager" ~/.rpmmacros | head -n 1 | sed -e "s/%packager[ \t]*//g"`
OWNERMAIL
=
`
rpm
--eval
%packager
`
...
...
etersoft-build-utils/share/eterbuild/functions/hasher
View file @
f712dc13
...
...
@@ -21,3 +21,11 @@ check_locking()
fi
}
# workaround about hard coded path to source.list in apt.conf
print_tmp_aptconf
()
{
test
-r
"
$1
"
||
fatal
"
$1
is missed"
# Note: /etc/apt and /etc/eterbuild/apt is supported
cat
"
$1
"
|
\
sed
-e
"s|
\"
/etc/.*apt/sources.list|
\"
$ETERBUILDETC
/apt/sources.list|g"
}
etersoft-build-utils/tests/test_aptconf.sh
0 → 100755
View file @
f712dc13
#!/bin/sh
.
`
dirname
$0
`
/../share/eterbuild/functions/common
.
$ETERBUILDDIR
/functions/hasher
print_tmp_aptconf
$APTCONF
echo
"-------------------------------"
print_tmp_aptconf /etc/apt/apt.conf.SS
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