integ/kubernetes/chartmuseum/debian/deb_folder/rules
Yue Tao dcf936d360 chartmuseum: update meta_data.yaml to remove dl_hook
"dl_path" replaces the ${CM_SOURCE} in dl_hook
"dl_files" replaces the ${CM_EXEC} in dl_hook

debrepack extracts the "dl_path" automatically and
copies the "dl_files" to build directory, so no longer
need the dl_hook, and remove the untar operation in
debian/rules.

Test Plan:
Pass: successfully build test

Story: 2009101
Task: 43715

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: Id11fa62cc510808899ba79f5f2a44cd65bd97109
2021-12-07 17:41:11 +08:00

20 lines
364 B
Makefile
Executable File

#!/usr/bin/make -f
# export DH_VERBOSE = 1
export CHARTMUSEUM_VERSION = 0.12.0
export ROOT = debian/tmp
export BINDIR = $(ROOT)/usr/bin
%:
dh $@
override_dh_auto_build:
override_dh_auto_clean:
override_dh_auto_install:
install -d -m 755 $(BINDIR)
install -p -D -m 755 chartmuseum-v$(CHARTMUSEUM_VERSION)-amd64 $(BINDIR)/chartmuseum
override_dh_auto_test: