From 445edc2018bdc76121f4b005028eacc89ce3a82f Mon Sep 17 00:00:00 2001 From: Mike Bonnet Date: Mon, 28 Sep 2009 14:53:44 -0400 Subject: [PATCH] put createLiveCD tasks in their own channel --- docs/schema.sql | 1 + hub/kojihub.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/schema.sql b/docs/schema.sql index 2c2eef33..d9e1932b 100644 --- a/docs/schema.sql +++ b/docs/schema.sql @@ -170,6 +170,7 @@ CREATE TABLE channels ( -- create default channel INSERT INTO channels (name) VALUES ('default'); INSERT INTO channels (name) VALUES ('createrepo'); +INSERT INTO channels (name) VALUES ('livecd'); -- Here we track the build machines -- each host has an entry in the users table also diff --git a/hub/kojihub.py b/hub/kojihub.py index 154e0d9e..5dda9edf 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -4709,7 +4709,7 @@ class RootExports(object): context.session.assertPerm('livecd') - taskOpts = {} + taskOpts = {'channel': 'livecd'} taskOpts['arch'] = arch if priority: if priority < 0: