core-vm-kernel-placeholder.spec 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. # We don't install kernel pkg in VM, but some other pkgs depends on it.
  2. # Done as separate subpackage because yum allows multiple versions of kernel
  3. # pkg installed simultaneusly - and of course we don't want multiple versions
  4. # of qubes-core-vm
  5. Name: qubes-core-vm-kernel-placeholder
  6. Summary: Placeholder for kernel package as it is managed by Dom0
  7. Version: 1.0
  8. Release: 2%{dist}
  9. Vendor: Invisible Things Lab
  10. License: GPL
  11. Group: Qubes
  12. URL: http://www.qubes-os.org
  13. # template released with 1.0-rc1 have kernel-debug installed by mistake. This
  14. # line is required to smooth upgrade.
  15. Obsoletes: kernel-debug
  16. # this driver require exact kernel-drm-nouveau version; as isn't needed in VM,
  17. # just remove it
  18. Obsoletes: xorg-x11-drv-nouveau
  19. Provides: xorg-x11-drv-nouveau
  20. # choose the oldest Qubes-supported VM kernel
  21. Provides: kernel = 3.7.4
  22. Provides: kernel-modules-extra
  23. %description
  24. Placeholder for kernel package as it is managed by Dom0.
  25. %install
  26. mkdir -p $RPM_BUILD_ROOT/lib/modules
  27. %files
  28. %if %{fedora} > 18
  29. %dir /lib/modules
  30. %endif