From 44015df450cb1ba935b874bdcc19e6bfac0d3d3e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 15 Jan 2016 00:33:59 +0100 Subject: [PATCH] Add devel-kernel-past to preconfigured channels list --- openmamba-smart-devel.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/openmamba-smart-devel.py b/openmamba-smart-devel.py index af1a9aa..16c771f 100644 --- a/openmamba-smart-devel.py +++ b/openmamba-smart-devel.py @@ -177,13 +177,26 @@ if not sysconf.get(("channels", "devel-contrib")): "manual": "yes", "disabled": "yes"}) +# +# openmamba devel-kernel-past channel configuration for Smart Package Manager +# +if not sysconf.get(("channels", "devel-kernel-past")): + sysconf.set(("channels", "devel-kernel-past"), + {"alias": "devel-kernel-past", + "type": "apt-rpm", + "name": "previous kernel release [unstable]", + "baseurl": "http://cdn.openmamba.org/pub/openmamba/devel-kernel-past", + "components": "%ARCH%", + "disabled": "yes"}) + import os import sys release=os.popen("openmamba-release -c").read() #if release.startswith('devel'): for r in ["devel","devel-games","devel-kde4","devel-kernel","devel-xorg","devel-makedist","devel-gnome",\ - "devel-misc","devel-java","devel-embedded","devel-autodist","devel-future","devel-past"]: + "devel-misc","devel-java","devel-embedded","devel-autodist","devel-future","devel-past", + "devel-contrib","devel-kernel-past"]: channel=sysconf.get(("channels", r)) if channel: if channel['baseurl'].startswith('http://www.openmamba.org/'):