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

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

> 2009/11/3 Marius Vollmer <marius.vollmer at nokia.com>:
>> 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.
> May be. But not as desperate as calling apt-get install from
> dpkg-buildpackage :)

Yeah, I have to agree, actually.

Luckily, with apt-get upgrade being run during build, we don't need to
change dpkg-checkbuilddeps and we can just update build-essential.
(Unless I am missing something.  Do I?)

>> 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.
> What if developer doesn't have internet connection open during the
> build? Remember, we're going to put this into devkit, so not only
> autobuilder will use it.

Yes, good point.

>> (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?
> Yes it is.

Cool, then that's our ticket to get maemo-optify into the build
environment, I would say.
More information about the maemo-developers mailing list