[maemo-developers] maemo-optify, autobuilder & /opt

From: Marius Vollmer marius.vollmer at nokia.com
Date: Tue Nov 3 11:08:41 EET 2009
ext Ed Bartosh <bartosh at gmail.com> writes:

> We can hack dpkg-checkbuilddeps to unconditionally add maemo-optify to
> the list of build dependencies.

Ouch.  That's very desperate.

What about changing dpkg-buildpackage to run "apt-get install
maemo-optify" if necessary?  That concentrates the hacks in one place
and is thus less magical.

(This wouldn't normally work since dpkg-buildpackage is not run as root,
but in Scratchbox, it does.)

>> So, does the auto-builder run apt-get upgrade?
> Nope. Sbdmock does it. Sbdmock is a separate tool, which is run from
> autobuilder.

Hmm, so is "apt-get upgrade" being executed at one point before calling
dpkg-buildpackage?  If so, that's enough; no need to change sbdmock.  If
not, I think it would be a good idea to do it in general, not just for
Maemo.  It's not really a hack to keep your build environment
up-to-date, or is it?
More information about the maemo-developers mailing list