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
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
651
Issues
651
List
Boards
Labels
Service Desk
Milestones
Merge Requests
216
Merge Requests
216
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
3ac77156
Commit
3ac77156
authored
Oct 27, 2010
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/linux-vserver: fix localversion
parent
b0050a9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
main/linux-vserver/APKBUILD
main/linux-vserver/APKBUILD
+4
-2
main/linux-vserver/setlocalversion.patch
main/linux-vserver/setlocalversion.patch
+11
-0
No files found.
main/linux-vserver/APKBUILD
View file @
3ac77156
...
@@ -5,7 +5,7 @@ pkgname=linux-${_flavor}
...
@@ -5,7 +5,7 @@ pkgname=linux-${_flavor}
pkgver
=
2.6.35.7
pkgver
=
2.6.35.7
_kernver
=
2.6.35
_kernver
=
2.6.35
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Linux kernel with vserver"
pkgdesc
=
"Linux kernel with vserver"
url
=
"http://linux-vserver.org/"
url
=
"http://linux-vserver.org/"
depends
=
"mkinitfs linux-firmware"
depends
=
"mkinitfs linux-firmware"
...
@@ -16,6 +16,7 @@ install=
...
@@ -16,6 +16,7 @@ install=
source
=
"ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-
$_kernver
.tar.bz2
source
=
"ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-
$_kernver
.tar.bz2
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-
$pkgver
.bz2
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-
$pkgver
.bz2
http://vserver.13thfloor.at/Experimental/patch-2.6.35.7-vs2.3.0.36.33.diff
http://vserver.13thfloor.at/Experimental/patch-2.6.35.7-vs2.3.0.36.33.diff
setlocalversion.patch
kernelconfig.x86
kernelconfig.x86
"
"
subpackages
=
"
$pkgname
-dev"
subpackages
=
"
$pkgname
-dev"
...
@@ -35,7 +36,7 @@ prepare() {
...
@@ -35,7 +36,7 @@ prepare() {
case
$i
in
case
$i
in
*
.patch|
*
.diff
)
*
.patch|
*
.diff
)
msg
"Applying
$i
..."
msg
"Applying
$i
..."
patch
-s
-p1
-
N
<
"
$srcdir
"
/
$i
||
return
1
patch
-s
-p1
-
i
"
$srcdir
"
/
$i
||
return
1
;;
;;
esac
esac
done
done
...
@@ -125,4 +126,5 @@ dev() {
...
@@ -125,4 +126,5 @@ dev() {
md5sums
=
"091abeb4684ce03d1d936851618687b6 linux-2.6.35.tar.bz2
md5sums
=
"091abeb4684ce03d1d936851618687b6 linux-2.6.35.tar.bz2
6a00ec267b0100f20a3fa900b97a5b7f patch-2.6.35.7.bz2
6a00ec267b0100f20a3fa900b97a5b7f patch-2.6.35.7.bz2
87f2232a85a8e5542c7933f2614d3622 patch-2.6.35.7-vs2.3.0.36.33.diff
87f2232a85a8e5542c7933f2614d3622 patch-2.6.35.7-vs2.3.0.36.33.diff
8c224ba0cdf0aa572c7eb50379435be4 setlocalversion.patch
10b1e713ce4422e69e1c96ba78feb7a9 kernelconfig.x86"
10b1e713ce4422e69e1c96ba78feb7a9 kernelconfig.x86"
main/linux-vserver/setlocalversion.patch
0 → 100644
View file @
3ac77156
--- ./scripts/setlocalversion.orig
+++ ./scripts/setlocalversion
@@ -43,7 +43,7 @@
fi
# Check for git and a git repo.
- if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
+ if [ -d "$srctree"/.git ] && head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
# If we are at a tagged commit (like "v2.6.30-rc6"), we ignore
# it, because this version is defined in the top level Makefile.
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