mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 17:23:36 +02:00
defs.mk: Move PKG_FORMAT definition into platform.mk
PKG_FORMAT is now more straightforward to get with from the revised
jw-pkg.py distro info --format '%{cascade}', so do that, and do it in
the context where all the other variables are set from the output of
that command.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
6f9905a3d5
commit
e93338872f
2 changed files with 9 additions and 20 deletions
|
|
@ -175,12 +175,6 @@ PKG_VENDOR ?= janware GmbH
|
|||
|
||||
# ----- packaging variables
|
||||
|
||||
ifneq ($(findstring $(OS_NAME),debian ubuntu),)
|
||||
PKG_FORMAT ?= debian
|
||||
else
|
||||
PKG_FORMAT ?= rpm
|
||||
endif
|
||||
|
||||
PKG_SH_EXE := /bin/bash $(JWB_SCRIPT_DIR)/pkg.sh
|
||||
LOG_INSTALL_SH := $(PKG_SH_EXE) log-install -f $(PKG_FORMAT)
|
||||
UPDATE_REPO_SH := /opt/packager-server/bin/packager-server schedule-rebuild
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue