openmamba-release/openmamba-smart-multi-version-select.py

13 lines
794 B
Python
Raw Normal View History

pkgconf.setFlag("lock", "openmamba-release >= 1.99.4")
pkgconf.setFlag("lock", "rpm >= 5.2")
pkgconf.setFlag("lock", "smart >= 1.3")
if not sysconf.getReadOnly():
for kernelseries in ["kernel"]:
for flavour in ("-mamba", "-mamba-64GB", "-mamba-rt", "-mamba-64GB-rt", "-mamba-x86_64", "-mamba-xen"):
for kpkg in ("", "-headers", "-headers-sanitised", "-sound", "-sound-backport", \
"-source", "-wireless", "-wireless-backport", "-nongpl-fglrx", "-nongpl-wl", \
"-nongpl-hsfmodem", "-lirc", "-ndiswrapper", "-nongpl-nvidia_173xx", \
"-nongpl-nvidia_71xx", "-nongpl-nvidia_96xx", "-nongpl-nvidia", "-nongpl-slmodem", \
"-vboxdrv", "-cm2020", "-rtl8192se", "-stk11xx"):
pkgconf.setFlag("multi-version", "%s%s%s" % (kernelseries, flavour, kpkg))