Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#14631 - [kvm] Simplify KVM PKGBUILD
Attached to Project:
Arch Linux
Opened by Damjan Georgievski (damjan) - Friday, 08 May 2009, 13:02 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 21 May 2009, 17:10 GMT
Opened by Damjan Georgievski (damjan) - Friday, 08 May 2009, 13:02 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 21 May 2009, 17:10 GMT
|
DetailsI've successfully made a KVM package with the following steps:
{ cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --audio-drv-list=alsa,sdl,oss,esd --with-patched-kernel make make DESTDIR=${pkgdir} install # symbolic link for backwards compatibility ln -s qemu-system-x86_64 ${pkgdir}/usr/bin/qemu-kvm # install udev rule install -D -m644 ${srcdir}/65-kvm.rules \ ${pkgdir}/lib/udev/rules.d/65-kvm.rules } so a lot of the cruft (I guess it accumulated over the years) is not needed. The changes are: - add "--with-patched-kernel" so that it doesn't try to compile the kernel module - just use make and make install, they work just ok - remove the fix for sdl compilation - not needed - remove kqemu rules file - kvm doesn't support kqemu anyway also, the zlib and e2fsprogs dependencies seem to not be needed acording to namcap. Attached is the whole revised PKGBUILD file |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Thursday, 21 May 2009, 17:10 GMT
Reason for closing: Fixed
Additional comments about closing: kvm-86
Thursday, 21 May 2009, 17:10 GMT
Reason for closing: Fixed
Additional comments about closing: kvm-86
PKGBUILD
so:
make || return 1
make install DESTDIR=${pkgdir} || return 1