aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTurbo Fredriksson <[email protected]>2013-04-13 18:59:19 +0200
committerBrian Behlendorf <[email protected]>2013-04-24 16:18:53 -0700
commit1a33036df9de8f95aea38ec0d9e483106d1abaa4 (patch)
tree5c812e1d5e435dae8bcedb19df802e62414676b0
parentd012ba3832e11511451ff71c1c45f4f64c3b759c (diff)
Add --bump=0 to alien
Preserve the release field when creating Debian packages. The --keep-version option was not used because it results in a failure when the git '<commit>_<hash>' syntax is used for the release. The '_' is a valid character for RPM packages but not for DEBs. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Turbo Fredriksson <[email protected]> Issue #1402 Issue #928
-rw-r--r--config/deb.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/deb.am b/config/deb.am
index 078dd0c7a..78b01f0a2 100644
--- a/config/deb.am
+++ b/config/deb.am
@@ -20,7 +20,7 @@ if CONFIG_KERNEL
version=${VERSION}-${RELEASE}; \
arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \
pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \
- fakeroot $(ALIEN) --scripts --to-deb $$pkg1; \
+ fakeroot $(ALIEN) --bump=0 --scripts --to-deb $$pkg1; \
$(RM) $$pkg1
endif
@@ -33,7 +33,7 @@ if CONFIG_USER
pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
pkg3=$${name}-test-$${version}.$${arch}.rpm; \
pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \
- fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
+ fakeroot $(ALIEN) --bump=0 --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
$(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4
endif