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

From: Marius Vollmer marius.vollmer at nokia.com
Date: Wed Nov 4 17:25:40 EET 2009
ext Ed Bartosh <bartosh at gmail.com> writes:

> 2009/11/3 Marius Vollmer <marius.vollmer at nokia.com>:
>
>> 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?)
>
> rootstrap is used as a build-essentials by sbdmock. The initial idea
> was to put maemo-optify in there, but now we're trying to avoid that.

Hmm, the rootstrap contains the "build-essential" package.  If we put a
newer version of the build-essential package into extras-devel, then
that newer version will be installed by 'apt-get upgrade'.

If apt-get upgrade does indeed run during a build.  I no longer think it
actually does.  Checking the build log of maemo-optify certainly shows
no signs of running apt-get upgrade.

    https://garage.maemo.org/builder/fremantle/maemo-optify_0.1/i386.root.log.OK.txt

>>>> 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.
>>
> The only problem left is were to put 'apt-get install' :)

Which apt-get install?  We just add a dependency on maemo-optify to
build-essential and apt-get upgrade does the rest.  No?

I'll put a newer version of build-essential into extras-devel and see
what happens, fingers crossed.
More information about the maemo-developers mailing list