Kbuild: Fix deb-pkg target to work with kernel versions ending with -<text-without...
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 7 Feb 2008 16:18:51 +0000 (17:18 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 9 Feb 2008 09:51:47 +0000 (10:51 +0100)
commited2c9fa53b7a3e240a64e6e97494d72d0f80eed0
tree0eccb7dd44cbdd5af05f81dde8e5e76ea65b43e3
parentec7748b59e214e2c6b7d21ca5f26a760fd6e142b
Kbuild: Fix deb-pkg target to work with kernel versions ending with -<text-without-digit>

If CONIFIG_LOCALVERSION is set for example to -loop, the following error
message was generated.

dpkg-deb - error: Debian revision (`loop') doesn't contain any digits
dpkg-deb: 1 errors in control file

The patch solves this by adding a numeric revision to package version.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/package/builddeb