Mailinglist Archive: opensuse-buildservice (95 mails)

< Previous Next >
Re: [opensuse-buildservice] importing a new distro
On Thu, Jun 04, 2015 at 01:57:44PM -0700, Janne Karhunen wrote:

What is the scheduler trying to tell me with 'no build type defined or
detected' while importing a new distro and trying to start a first

Distro is rpm based and prjconf 'Preinstall:' is adequate to get the
rpm running. Binaries are imported OK. Repotype is defined as well as
few mandatory rpm macros in the prjconf. Hmm?

If the prjconf does not define a build type, the code in
tries to guess it from the preinstall packages:

if (grep {$_ eq 'rpm'} @{$config->{'preinstall'} || []}) {
$config->{'type'} = 'spec';
} elsif (grep {$_ eq 'debianutils'} @{$config->{'preinstall'} || []}) {
$config->{'type'} = 'dsc';
} elsif (grep {$_ eq 'pacman'} @{$config->{'preinstall'} || []}) {
$config->{'type'} = 'arch';
} else {
$config->{'type'} = 'UNDEFINED';

So your preinstall definition does not seem to include 'rpm' itself.


Michael Schroeder mls@xxxxxxx
SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups