From b2a1d50c835ff0345cc203d79a341a6109d1515c Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 14 Sep 2006 16:35:39 +0000 Subject: [PATCH] smart-selection.mk: Remove [rpm-sys] from channels - Punch out built-in channel [rpm-sys] on channel list generation - Change target install-packages to install-% --- make/smart-selection.mk | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/make/smart-selection.mk b/make/smart-selection.mk index c17c1622..d2797c57 100644 --- a/make/smart-selection.mk +++ b/make/smart-selection.mk @@ -32,7 +32,7 @@ selection.done: $(MODDIR)/make/smart-selection.mk touch $@ channels.done: $(MODDIR)/make/smart-selection.mk - smart channel --show > $(CHANNEL_LIST) + smart channel --show | sed '/\[rpm-sys\]/,/\[/ d' > $(CHANNEL_LIST) touch $@ upload.done: selection.done @@ -47,6 +47,10 @@ rpm-install-smart.done: fi touch $@ -install-packages: - cat $(SELECTION) | xargs sudo smart install -y +smart-update.done: + smart update + touch $@ + +install-%: smart-update.done + cat $* | xargs sudo smart install -y