mirror of
https://github.com/containers/podman.git
synced 2025-10-26 02:35:43 +08:00
Add podman icon to installer
Update Makefile per review comments Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
15
Makefile
15
Makefile
@ -83,8 +83,7 @@ LIBSECCOMP_COMMIT := release-2.3
|
|||||||
GINKGOTIMEOUT ?= -timeout=90m
|
GINKGOTIMEOUT ?= -timeout=90m
|
||||||
|
|
||||||
RELEASE_VERSION ?= $(shell hack/get_release_info.sh VERSION)
|
RELEASE_VERSION ?= $(shell hack/get_release_info.sh VERSION)
|
||||||
RELEASE_NUMBER ?= $(shell hack/get_release_info.sh NUMBER)
|
RELEASE_NUMBER ?= $(shell hack/get_release_info.sh NUMBER|sed -e 's/^v\(.*\)/\1/')
|
||||||
RELEASE_NUMERIC = $(shell echo $(RELEASE_NUMBER) |sed -e 's/^v\(.*\)/\1/')
|
|
||||||
RELEASE_DIST ?= $(shell hack/get_release_info.sh DIST)
|
RELEASE_DIST ?= $(shell hack/get_release_info.sh DIST)
|
||||||
RELEASE_DIST_VER ?= $(shell hack/get_release_info.sh DIST_VER)
|
RELEASE_DIST_VER ?= $(shell hack/get_release_info.sh DIST_VER)
|
||||||
RELEASE_ARCH ?= $(shell hack/get_release_info.sh ARCH)
|
RELEASE_ARCH ?= $(shell hack/get_release_info.sh ARCH)
|
||||||
@ -167,7 +166,7 @@ podman-remote: .gopathok $(PODMAN_VARLINK_DEPENDENCIES) ## Build with podman on
|
|||||||
|
|
||||||
.PHONY: podman.msi
|
.PHONY: podman.msi
|
||||||
podman.msi: podman-remote-windows ## Will always rebuild exe as there is no podman-remote-windows.exe target to verify timestamp
|
podman.msi: podman-remote-windows ## Will always rebuild exe as there is no podman-remote-windows.exe target to verify timestamp
|
||||||
wixl -D VERSION=$(RELEASE_NUMERIC) -o bin/podman-$(RELEASE_NUMBER).msi contrib/msi/podman.wxs
|
wixl -D VERSION=$(RELEASE_NUMBER) -o bin/podman-v$(RELEASE_NUMBER).msi contrib/msi/podman.wxs
|
||||||
|
|
||||||
podman-remote-%: .gopathok $(PODMAN_VARLINK_DEPENDENCIES) ## Build podman for a specific GOOS
|
podman-remote-%: .gopathok $(PODMAN_VARLINK_DEPENDENCIES) ## Build podman for a specific GOOS
|
||||||
$(eval BINSFX := $(shell test "$*" != "windows" || echo ".exe"))
|
$(eval BINSFX := $(shell test "$*" != "windows" || echo ".exe"))
|
||||||
@ -333,9 +332,9 @@ release.txt:
|
|||||||
echo -n " $$field"; done >> "$@"
|
echo -n " $$field"; done >> "$@"
|
||||||
echo "" >> "$@"
|
echo "" >> "$@"
|
||||||
|
|
||||||
podman-$(RELEASE_NUMBER).tar.gz: binaries docs release.txt
|
podman-v$(RELEASE_NUMBER).tar.gz: binaries docs release.txt
|
||||||
$(eval TMPDIR := $(shell mktemp -d -p '' podman_XXXX))
|
$(eval TMPDIR := $(shell mktemp -d -p '' podman_XXXX))
|
||||||
$(eval SUBDIR := podman-$(RELEASE_NUMBER))
|
$(eval SUBDIR := podman-v$(RELEASE_NUMBER))
|
||||||
mkdir -p "$(TMPDIR)/$(SUBDIR)"
|
mkdir -p "$(TMPDIR)/$(SUBDIR)"
|
||||||
$(MAKE) install.bin install.man install.cni install.systemd "DESTDIR=$(TMPDIR)/$(SUBDIR)" "PREFIX=/usr"
|
$(MAKE) install.bin install.man install.cni install.systemd "DESTDIR=$(TMPDIR)/$(SUBDIR)" "PREFIX=/usr"
|
||||||
# release.txt location and content depended upon by automated tooling
|
# release.txt location and content depended upon by automated tooling
|
||||||
@ -344,7 +343,7 @@ podman-$(RELEASE_NUMBER).tar.gz: binaries docs release.txt
|
|||||||
-rm -rf "$(TMPDIR)"
|
-rm -rf "$(TMPDIR)"
|
||||||
|
|
||||||
# Must call make in-line: Dependency-spec. w/ wild-card also consumes variable value.
|
# Must call make in-line: Dependency-spec. w/ wild-card also consumes variable value.
|
||||||
podman-remote-$(RELEASE_NUMBER)-%.zip:
|
podman-remote-v$(RELEASE_NUMBER)-%.zip:
|
||||||
$(MAKE) podman-remote-$* install-podman-remote-docs release.txt \
|
$(MAKE) podman-remote-$* install-podman-remote-docs release.txt \
|
||||||
RELEASE_BASENAME=$(shell hack/get_release_info.sh REMOTENAME) \
|
RELEASE_BASENAME=$(shell hack/get_release_info.sh REMOTENAME) \
|
||||||
RELEASE_DIST=$* RELEASE_DIST_VER="-"
|
RELEASE_DIST=$* RELEASE_DIST_VER="-"
|
||||||
@ -369,12 +368,12 @@ podman-remote-$(RELEASE_NUMBER)-%.zip:
|
|||||||
.PHONY: podman-release
|
.PHONY: podman-release
|
||||||
podman-release:
|
podman-release:
|
||||||
rm -f release.txt
|
rm -f release.txt
|
||||||
$(MAKE) podman-$(RELEASE_NUMBER).tar.gz
|
$(MAKE) podman-v$(RELEASE_NUMBER).tar.gz
|
||||||
|
|
||||||
.PHONY: podman-remote-%-release
|
.PHONY: podman-remote-%-release
|
||||||
podman-remote-%-release:
|
podman-remote-%-release:
|
||||||
rm -f release.txt
|
rm -f release.txt
|
||||||
$(MAKE) podman-remote-$(RELEASE_NUMBER)-$*.zip
|
$(MAKE) podman-remote-v$(RELEASE_NUMBER)-$*.zip
|
||||||
|
|
||||||
docker-docs: docs
|
docker-docs: docs
|
||||||
(cd docs; ./dckrman.sh *.1)
|
(cd docs; ./dckrman.sh *.1)
|
||||||
|
|||||||
BIN
contrib/msi/podman-logo.ico
Normal file
BIN
contrib/msi/podman-logo.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@ -36,6 +36,9 @@
|
|||||||
<ComponentRef Id="MainExecutable"/>
|
<ComponentRef Id="MainExecutable"/>
|
||||||
</Feature>
|
</Feature>
|
||||||
|
|
||||||
|
<Icon Id="podman.ico" SourceFile="contrib/msi/podman-logo.ico"/>
|
||||||
|
<Property Id="ARPPRODUCTICON" Value="podman.ico"/>
|
||||||
|
|
||||||
<InstallExecuteSequence>
|
<InstallExecuteSequence>
|
||||||
<RemoveExistingProducts Before="InstallInitialize"/>
|
<RemoveExistingProducts Before="InstallInitialize"/>
|
||||||
<Custom Action="ChangePath" After="InstallServices">NOT Installed</Custom>
|
<Custom Action="ChangePath" After="InstallServices">NOT Installed</Custom>
|
||||||
|
|||||||
Reference in New Issue
Block a user