Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
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