Mailinglist Archive: opensuse-buildservice (251 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] build: improve local debian builds
- From: Marcus Hüwe <suse-tux@xxxxxx>
- Date: Tue, 14 Sep 2010 11:25:39 +0200
- Message-id: <20100914092539.GA4197@linux>
On 2010-09-14 01:16:09 +0200, Marcus Hüwe wrote:
file (for an installed package we can use
/var/lib/dpkg/info/<pkg>.md5sums) as a buildtime indicator.
If we use this approach it would really simplify the code - the only
"problem" is that this check will fail if a package has no files (so
an already installed package might be installed again).
Any opinions?:)
Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
currently the build script doesn't maintain a "clean" chrootI just realized that we could also use the mtime of the "md5sums"
for local debian builds because it never removes unused packages
from old builds. So I wrote a small patch which should fix it.
The code is similar to the existing rpm implementation except
that it is a bit more difficult to get a "unique" id from a package
(for rpm the buildtime is used but debian doesn't provide something
like that (or at least I didn't find anything:) )).
file (for an installed package we can use
/var/lib/dpkg/info/<pkg>.md5sums) as a buildtime indicator.
If we use this approach it would really simplify the code - the only
"problem" is that this check will fail if a package has no files (so
an already installed package might be installed again).
Any opinions?:)
Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |