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
eb0a7d08
Commit
eb0a7d08
authored
Aug 05, 2017
by
Ariadne Conill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: prepare_metafiles: use new /bin/sh virtual instead of hardcoded busybox dependency
parent
a74359e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
abuild.in
abuild.in
+3
-3
No files found.
abuild.in
View file @
eb0a7d08
...
...
@@ -894,13 +894,13 @@ prepare_metafiles() {
EOF
local
i
deps
deps
=
"$depends"
if
[
"$pkgname"
!= "busybox" ] && ! depends_has busybox; then
if
[
"$pkgname"
!= "busybox" ] && ! depends_has busybox
&& ! depends_has /bin/sh
; then
for
i
in
$
install
$
triggers
;
do
local
s
=${
i
%=*}
[
"$name"
!= "${s%.*}" ] && continue
if
head
-
n
1
"$startdir/$s"
|
grep
'^#!/bin/sh'
>/
dev
/
null
;
then
msg
"Script found.
busybox
added as a dependency for $pkg"
deps
=
"$deps
busybox
"
msg
"Script found.
/bin/sh
added as a dependency for $pkg"
deps
=
"$deps
/bin/sh
"
break
fi
done
...
...
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