[Build-common-hackers] CDBS and udebs

Colin Walters walters@verbum.org
Tue, 20 Jan 2004 17:08:46 -0500


--=-qvnmWh+I4K5+261Qn1GA
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2004-01-20 at 09:15, Stefan Hornburg wrote:
> Hello, CDBS hackers !
>=20
> Can someone tell me how to build udebs with CDBS ? I need to produce
> one for my jfsutils package (see #219878).

If the package name ends in -udeb, cdbs does this automatically.=20
Otherwise, you need to do something like this (a little hacky):

include /usr/share/cdbs/1/rules/buildvars.mk
DEB_PACKAGES :=3D $(filter-out foo, $(DEB_PACKAGES))
DEB_UDEB_PACKAGES +=3D foo
DEB_INDEP_REGULAR_PACKAGES :=3D $(filter-out foo, $(DEB_INDEP_REGULAR_PACKA=
GES))
DEB_ARCH_REGULAR_PACKAGES :=3D $(filter-out foo, $(DEB_ARCH_REGULAR_PACKAGE=
S))
include ...
include ...

# rules go here


[time passes]
Ok, I took a quick shot at hacking this so you can just set
DEB_UDEB_PACKAGES before including any rules, and it will DTRT.  This is
included in cdbs 0.4.17, just uploaded.


--=-qvnmWh+I4K5+261Qn1GA
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBADabuOIkJWWp2WGURAmr5AJ9t8V4Rgb9CK4h4/g1YXsbEm4SL+ACfUaGw
juJrFV75zWjY1ANfztlyaRo=
=oLAM
-----END PGP SIGNATURE-----

--=-qvnmWh+I4K5+261Qn1GA--