mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
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-%
This commit is contained in:
parent
71fe2cd51f
commit
b2a1d50c83
1 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue