[opensuse-buildservice] KVM build type and dns resolving in a chroot
Hi all! At firsts i want to thank Stefan Seyfried for help with my previous problem with "badhost" thing. I have lost my creds of my previous mailbox, sorry :) So i have another question. Is there any info about workers setup using KVM as build VM type? Any requierements? Is qemu-kvm etc. would be enough or for example i need to generate initramfs for target distro? And another question - how to workaround situation when package require working dns resolver in a chroot while build process? For example libguestfs.spec wants to resolve libguestsfs.org name. I know that having /etc/resolv.conf in a chroot would be enough but how to autogenerate it? Maybe there some undocumented OBS features that allow to seed needed files in a chroot? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Jun 29 2018, Mitya Ivanov <ivan0ow@yandex.ru> wrote:
So i have another question. Is there any info about workers setup using KVM as build VM type? Any requierements? Is qemu-kvm etc. would be enough or for example i need to generate initramfs for target distro?
Nowadays,
And another question - how to workaround situation when package require working dns resolver in a chroot while build process? For example libguestfs.spec wants to resolve libguestsfs.org name. I know that having /etc/resolv.conf in a chroot would be enough but how to autogenerate it? Maybe there some undocumented OBS features that allow to seed needed files in a chroot?
Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Jun 29 2018, Mitya Ivanov <ivan0ow@yandex.ru> wrote:
So i have another question. Is there any info about workers setup using KVM as build VM type? Any requierements? Is qemu-kvm etc. would be enough or for example i need to generate initramfs for target distro?
Nowadays, kernel-obs-build is being use for kvm builds, containing the right kernel and initrd for the distro being built.
And another question - how to workaround situation when package require working dns resolver in a chroot while build process?
No networking is available. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am 29.06.2018 um 12:53 schrieb Andreas Schwab:
On Jun 29 2018, Mitya Ivanov <ivan0ow@yandex.ru> wrote:
So i have another question. Is there any info about workers setup using KVM as build VM type? Any requierements? Is qemu-kvm etc. would be enough or for example i need to generate initramfs for target distro?
Nowadays, kernel-obs-build is being use for kvm builds, containing the right kernel and initrd for the distro being built.
...but only for distributions that provide a kernel-obs-build... (!) Distributions that don't provide kernel-obs-build are: * SLES11-SPx * RHEL, CentOS (but see http://seifesrants.blogspot.com/2015/11/use-your-distros-kernel-in-obs.html how I built a kernel-obs-build for CentOS 7) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am 29.06.2018 um 10:02 schrieb Mitya Ivanov:
Hi all! At firsts i want to thank Stefan Seyfried for help with my previous problem with "badhost" thing. I have lost my creds of my previous mailbox, sorry :)
So i have another question. Is there any info about workers setup using KVM as build VM type? Any requierements? Is qemu-kvm etc. would be enough or for example i need to generate initramfs for target distro?
When I updated my workers to SLES12 (new dracut-based /boot/initrd), I had to add /etc/dracut.conf.d/99-obs.conf containing hostonly_cmdline="no" to skip the crazy distro default of always trying to resume from the swap device (and thus requiring that the swapdevice is present with the same name as on the host) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Mitya Ivanov
-
Stefan Seyfried