Update package version to 0.4.0
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
make PREFIX=/usr SYSCONFDIR=/etc LOCALSTATEDIR=/var
|
||||
export GOFLAGS="-modcacherw"
|
||||
make PREFIX=/usr SYSCONFDIR=/etc LOCALSTATEDIR=/var VERSION="$BPM_PKG_VERSION"
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
@@ -15,7 +16,7 @@ package() {
|
||||
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc LOCALSTATEDIR=/var install-services
|
||||
|
||||
# Install default enabled services file
|
||||
install -Dm644 "$BPM_WORKDIR"/enabled_services "$BPM_OUTPUT"/etc/esvm/enabled_services
|
||||
install -Dm644 "$BPM_WORKDIR"/enabled-services.yml "$BPM_OUTPUT"/etc/esvm/enabled-services.yml
|
||||
|
||||
# Create shortcut scripts for ectl power commands
|
||||
for cmd in shutdown poweroff halt reboot restart; do
|
||||
|
||||
Reference in New Issue
Block a user