Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Adélie Linux
abuild
Commits
036557c8
Commit
036557c8
authored
Oct 24, 2009
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: make it possible override fakeroot
parent
f1500271
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
abuild.in
abuild.in
+6
-4
No files found.
abuild.in
View file @
036557c8
...
...
@@ -19,6 +19,7 @@ abuild_path=$(readlink -f $0)
# defaults
BUILD_BASE
=
"build-base"
SUDO
=
${
SUDO
:-
"sudo"
}
FAKEROOT
=
${
FAKEROOT
:-
"fakeroot"
}
# read config
ABUILD_CONF
=
${
ABUILD_CONF
:-
"
$sysconfdir
/abuild.conf"
}
...
...
@@ -329,7 +330,7 @@ prepare_metafiles() {
echo
"# Generated by
$(
basename
$0
)
$abuild_ver
"
>
"
$pkginfo
"
if
[
-n
"
$FAKEROOTKEY
"
]
;
then
echo
"# using
$(
fakeroot
-v
)
"
>>
"
$pkginfo
"
echo
"# using
$(
$FAKEROOT
-v
)
"
>>
"
$pkginfo
"
fi
echo
"#
$(
date
-u
)
"
>>
"
$pkginfo
"
cat
>>
"
$pkginfo
"
<<
EOF
...
...
@@ -622,13 +623,14 @@ rootpkg() {
local
do_build
=
build
cd
"
$startdir
"
if
is_function package
;
then
msg
"Building without fakeroot"
build
||
return
1
do_build
=
package
fi
cd
"
$startdir
"
msg
"Entering fakeroot..."
fakeroot
"
$abuild_path
"
$do_build
prepare_subpackages prepare_package
\
[
-n
"
$FAKEROOT
"
]
&&
msg
"Entering fakeroot..."
$FAKEROOT
"
$abuild_path
"
$do_build
\
prepare_subpackages
\
prepare_package
\
create_apks
}
...
...
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