Hi all,

after discussing with some of my coworkers who were adding a few paches
to their local package builds, we figured that in their case the SUBVERS
field was not being updated as doing so was quite painful. I realized
that we simply reached exactly the same situation as the linux kernel
where the subversion got filled automatically and it required to append
the local version into another string!

In order to simplify this, I added a new EXTRAVERSION variable so that
you can simply do this if you're dealing with a local patch queue:

   $ make TARGET=foo EXTRAVERSION=+$(quilt applied|wc -l)

and get:

   2.3-dev5-5018aa-15+1

It could also be used to indicate a feature set (e.g. -debug, etc).

Since the patch is trivial (it mechanically adds $(EXTRAVERSION) after
all $(SUBVERS)), I was wondering if there's any interest for distro
maintainers in it being backported, and if so, how far. Those interested,
please just let me know.

Willy

Reply via email to