mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
rpmdist.mk: Add targets rpm-remote-install and rpm-remote-install-run
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
95c5b57d55
commit
85c988b4da
1 changed files with 8 additions and 0 deletions
|
|
@ -303,3 +303,11 @@ rpm-release: rpm-release-reinstall
|
|||
rpm-release-reinstall: update
|
||||
$(BUILD_PACKAGE_SH) release
|
||||
|
||||
ifneq ($(TARGET_HOST),)
|
||||
rpm-remote-install:
|
||||
scp $(addprefix dist/pckg/,$(PCKG_RPM_RUN_I386) $(PCKG_RPM_DEVEL_I386)) root@$(TARGET_HOST):/tmp/
|
||||
ssh -l root $(TARGET_HOST) rpm -U --force $(addprefix /tmp/,$(PCKG_RPM_RUN_I386) $(PCKG_RPM_DEVEL_I386))
|
||||
rpm-remote-install-run: rpm-install-remote.done
|
||||
scp $(addprefix dist/pckg/,$(PCKG_RPM_RUN_I386)) root@$(TARGET_HOST):/tmp/
|
||||
ssh -l root $(TARGET_HOST) rpm -U --force $(addprefix /tmp/,$(PCKG_RPM_RUN_I386))
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue