Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Brasz
aports
Commits
a7e15158
Commit
a7e15158
authored
6 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
==== snapshot 3.10_alpha20190227 ====
parent
4e2cd040
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/alpine-base/APKBUILD
+11
-4
11 additions, 4 deletions
main/alpine-base/APKBUILD
with
11 additions
and
4 deletions
main/alpine-base/APKBUILD
+
11
−
4
View file @
a7e15158
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
alpine-base
pkgver
=
3.
9.0
pkgver
=
3.
10_alpha20190227
pkgrel
=
0
pkgdesc
=
"Meta package for minimal alpine base"
url
=
"http://alpinelinux.org"
...
...
@@ -23,21 +23,28 @@ package() {
mkdir
-p
"
$pkgdir
"
/etc
# create /etc/alpine-release
echo
$pkgver
>
"
$pkgdir
"
/etc/alpine-release
local
_ver
=
"
$(
echo
"
$pkgver
"
|
grep
-E
-o
'^[0-9]+\.[0-9]+'
)
"
local
_rel
=
"v
$_ver
"
case
"
$pkgver
"
in
*
_alpha
*
|
*
_beta
*
|
*
_pre
*
)
_ver
=
"
$pkgver
(edge)"
_rel
=
"edge"
;;
esac
# create /etc/issue
cat
>
"
$pkgdir
"
/etc/issue
<<
EOF
Welcome to Alpine Linux
$
{
pkgver
%.*
}
Welcome to Alpine Linux
$
_ver
Kernel
\\
r on an
\\
m (
\\
l)
EOF
_ver
=
"
$(
echo
"
$pkgver
"
|
grep
-E
-o
'^[0-9]+\.[0-9]+'
)
"
# create os-release
cat
>
"
$pkgdir
"
/etc/os-release
<<
EOF
NAME="Alpine Linux"
ID=alpine
VERSION_ID=
$pkgver
PRETTY_NAME="Alpine Linux
v
$_
ver
"
PRETTY_NAME="Alpine Linux
$_
rel
"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
EOF
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment