]>
git.proxmox.com Git - mirror_spl-debian.git/commitdiff
projects
/
mirror_spl-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c168c73
)
Add KVERS
author
Aron Xu
<aron@debian.org>
Fri, 12 Jul 2013 18:48:42 +0000
(
02:48
+0800)
committer
Aron Xu
<aron@debian.org>
Fri, 12 Jul 2013 19:14:40 +0000
(
03:14
+0800)
debian/rules
patch
|
blob
|
blame
|
history
diff --git
a/debian/rules
b/debian/rules
index c8f0ec13de0c4ab0153756876c68065a1974a6af..3817cfa8c6fd973c15922f9585068968e4079b9f 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-11,6
+11,8
@@
ifndef DEB_HOST_ARCH
DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
endif
+KVERS=$(shell uname -r)
+
non_epoch_version=$(shell echo $(KVERS) | perl -pe 's/^\d+://')
PACKAGE=spl
pmodules = $(PACKAGE)-modules-$(non_epoch_version)-$(DEB_HOST_ARCH)