Mailinglist Archive: opensuse-buildservice (245 mails)

< Previous Next >
Re: [opensuse-buildservice] Ubuntu 10.10 Repository on build.opensuse.org
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Wed, 20 Oct 2010 16:42:44 +0200
  • Message-id: <201010201642.44577.ludwig.nussel@xxxxxxx>
Fritz Elfert wrote:
a) sysctl processing in a chrooted env is quite useless - if not
dangerous for the real system.
b) Most other postinstall scripts silently ignore start failures.
(the cmd in the postinstall usually reads: "start <service> || :")

So bad behavior of the Ubuntu package.

So, this leaves a few questions:

1. Is it possible to ignore postinstall exit codes for specific
packages in OBS?

Not in general. SUSE packages simply avoid certain actions that are
dangerous or will fail in a chroot if YAST_IS_RUNNING is set to
'instsys', which is what the build script uses. On other distros you
can only BuildIgnore or Substitute problematic packages atm. It
wouldn't be hard to introduce extra prjconf options to make the
build script pass e.g. --noscripts to rpm (and whatever else is
needed for dpkg) though.

2. Is there any chance to get a virtualized build done on any other
host distro than OpenSuSE (In this case: FC13)? If so: any hints.

Sure, why not? I don't know how to help though. UTSL :-) Maybe you
just need to prepare your initrd in a special way, like e.g.
including the correct storage drivers (virtio!?).

cu
Ludwig

--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups