[Scratchbox-users] Patch to add release numbers to toolchains

Matt Hoosier matt.hoosier at gmail.com
Thu Dec 7 15:58:11 EET 2006


Hi,

I often find that I need to make refinements to the packaging of
foreign Scratchbox toolchains that are already deployed as Debian
packages. This is a bit of a pain with sb-toolchain-extras, because
the Debian packages generated have no release number and thus an
updated toolchain package doesn't look newer to dpkg.

The attached patch allows one to define a RELEASE variable in the
toolchain .conf file, and this will be appended to the final binary
package's version. Example:

  COMPILER_NAME = arm-linux-2006q3-27
  COMPILER_PACKAGE = scratchbox-toolchain-arm-linux-2006q3-27
  ALIEN_TC = yes

  RELEASE = 2

  CC_VER = 4.1
  ...

--Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sb-toolchain-extras_releasenum.patch
Type: text/x-patch
Size: 598 bytes
Desc: not available
Url : http://lists.scratchbox.org/pipermail/scratchbox-users/attachments/20061207/bd5daf24/sb-toolchain-extras_releasenum.bin


More information about the Scratchbox-users mailing list