diff --git a/make/smart-selection.mk b/make/smart-selection.mk index 23c425e1..144c3dc6 100644 --- a/make/smart-selection.mk +++ b/make/smart-selection.mk @@ -44,7 +44,8 @@ rpm-install-smart.done: if ! rpm -q smart >/dev/null 2>&1 ; then \ wget ftp.jannet.de:/pub/packages/linux/$(DISTRIBUTOR)/$(DISTRO_RELEASE)/inst-source/rpm/i686/smart.rpm; \ sudo rpm -U smart.rpm; \ - sudo smart update -y; \ + sudo smart update; \ + sudo smart channel --remove-all; \ fi touch $@ @@ -52,6 +53,10 @@ smart-update.done: smart update || exit 0 touch $@ -%-install: smart-update.done - cat $* | xargs sudo smart install -y +%-packages.txt-install: smart-update.done + cat $*-packages.txt | xargs sudo smart install -y + +%-channels.txt-replace: smart-update.done + sudo smart channel --remove-all -y + sudo smart channel --add -y $*-channels.txt