Update package version to 0.4.0

This commit is contained in:
2025-12-08 21:37:54 +02:00
parent 6b460529bd
commit 3a8c7a7e60
4 changed files with 17 additions and 10 deletions
+3 -2
View File
@@ -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