
Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration. This commit will establish the package build for the flux CLI. A followup commit will be provided to include in the ISO when properly integrated with the application framework Test Plan: PASS: build-pkgs -e -c -p flux2 PASS: build-image success but no flux2 package included Change-Id: I008d007cb840ff39ad78d2189819f3c3f4083b1d Signed-off-by: wguy <wey-yi.guy@windriver.com>
23 lines
454 B
Makefile
Executable File
23 lines
454 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# export DH_VERBOSE = 1
|
|
|
|
export ROOT = debian/tmp
|
|
export SBINDIR = $(ROOT)/usr/local/bin
|
|
|
|
export FLUX_VERSION = 2.3.0
|
|
export FLUX_PKG = flux_$(FLUX_VERSION)_linux_amd64.tar.gz
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_build:
|
|
# Extract the third party flux-cli package downloaded in dl_hook.
|
|
tar xfz $(FLUX_PKG)
|
|
|
|
override_dh_auto_install:
|
|
install -d -m 755 $(SBINDIR)
|
|
install -d -m 755 $(ROOT)/usr/local/bin
|
|
|
|
override_dh_usrlocal:
|
|
# Do Nothing
|