Skip to content

Commit

Permalink
ODROID: add to parse epoch from version number
Browse files Browse the repository at this point in the history
Signed-off-by: Dongjin Kim <[email protected]>
  • Loading branch information
tobetter committed Apr 27, 2018
1 parent 1d84261 commit 9eb54c9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
linux (3.16.56-0) unstable; urgency=medium
linux (5:3.16.56-0) unstable; urgency=medium

* Initiate the build for Hardkernel's SBC ODROID

Expand Down
2 changes: 1 addition & 1 deletion debian/control.md5sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
a192684cc663f2effafc8fbdfc05c978 debian/bin/gencontrol.py
77ea849ab9566c07fe50d1b94f683af4 debian/changelog
240b399bc45af66e28db5e577b0d430c debian/changelog
09d1784f420650aa08f4df7f347285f9 debian/templates/control.main.in
338f1616874d5fe39915d8cf058c3cfd debian/templates/image.preinst.in
279db6c0dfdc22441b1ddfbf768c3de6 debian/templates/image.prerm.in
Expand Down
6 changes: 6 additions & 0 deletions debian/lib/python/debian_linux/debian.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ class Changelog(list):
)
\
\(
(?:
(?P<epoch>
\d+
)
:
)?
(?P<version>
[^\(\)\ \t]+
)
Expand Down
12 changes: 0 additions & 12 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,6 @@ DIR_ORIG = ../orig/$(SOURCE)-$(VERSION_UPSTREAM)
TAR_ORIG_NAME = $(SOURCE)_$(VERSION_UPSTREAM).orig.tar.xz
TAR_ORIG = $(firstword $(wildcard ../$(TAR_ORIG_NAME)) $(wildcard ../orig/$(TAR_ORIG_NAME)))

orig: $(DIR_ORIG)
rsync --delete --exclude /debian --exclude .svk --exclude .svn --exclude .git --link-dest=$(DIR_ORIG)/ -a $(DIR_ORIG)/ .
QUILT_PATCHES='$(CURDIR)/debian/patches' QUILT_PC=.pc quilt push --quiltrc - -a -q --fuzz=0

$(DIR_ORIG):
ifeq ($(TAR_ORIG),)
$(error Cannot find orig tarball $(TAR_ORIG_NAME))
else
mkdir -p ../orig
tar -C ../orig -xaf $(TAR_ORIG)
endif

maintainerclean:
rm -f debian/config.defines.dump debian/control debian/control.md5sum debian/linux-headers-* debian/linux-image-* debian/rules.gen
rm -rf $(filter-out debian .svk .svn .git, $(wildcard * .[^.]*))
Expand Down

0 comments on commit 9eb54c9

Please sign in to comment.