Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
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
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
abuild
Commits
f5eb69a5
Commit
f5eb69a5
authored
Mar 11, 2018
by
Sören Tempel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: add postcheck for -openrc subpackage
parent
45529e54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
abuild.in
abuild.in
+10
-0
No files found.
abuild.in
View file @
f5eb69a5
...
...
@@ -671,6 +671,11 @@ postcheck() {
error
"Found /usr/lib/charset.alias"
return
1
fi
#
look
for
/
etc
/
init
.
d
and
/
etc
/
conf
.
d
if
[
-
e
"$dir"
/
etc
/
init
.
d
-
o
-
e
"$dir"
/
etc
/
conf
.
d
]
\
&&
! is_openrc_pkg "$name"; then
warning
"Found OpenRC directory (/etc/conf.d or /etc/init.d) but name doesn't end with -openrc"
fi
#
look
for
/
usr
/
share
/
doc
if
[
-
e
"$dir"
/
usr
/
share
/
doc
]
\
&&
! is_doc_pkg "$name"; then
...
...
@@ -1072,6 +1077,11 @@ is_doc_pkg() {
test
"${1%-doc}"
!= "$1"
}
#
returns
true
if
this
is
the
-
openrc
package
is_openrc_pkg
()
{
test
"${1%-openrc}"
!= "$1"
}
#
check
that
noarch
is
set
if
needed
archcheck
()
{
options_has
"!archcheck"
&&
return
0
...
...
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