Skip to content

Commit fac5791

Browse files
committed
Attempt nr.2 to fix #277 (#280)
* Testy test test * Update artifact name Skip lintian * Update Mantainers for Debian package metadata
1 parent 7d6e274 commit fac5791

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

distribution/packages/src/deb/debian/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Source: wazuh-indexer
99
Section: web
1010
Priority: optional
11-
Maintainer: Wazuh Indexer Team <[email protected]>
11+
Maintainer: Wazuh, Inc <[email protected]>
1212
Build-Depends: debhelper-compat (= 12)
1313
Standards-Version: 4.5.0
1414
Homepage: https://www.wazuh.com/

packaging_scripts/assemble.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ function assemble_deb() {
359359

360360
# Configure debmake to only generate binaries
361361
echo 'DEBUILD_DPKG_BUILDPACKAGE_OPTS="-us -uc -ui -b"' >~/.devscripts
362+
# Configure debuild to skip lintian
363+
echo 'DEBUILD_LINTIAN_OPTS="--no-lintian"' >>~/.devscripts
362364

363365
# Generate final package
364366
debmake \
@@ -368,11 +370,11 @@ function assemble_deb() {
368370
--package wazuh-indexer \
369371
--native \
370372
--revision "${REVISION}" \
371-
--upstreamversion "${version}"
373+
--upstreamversion "${version}-${REVISION}"
372374

373375
# Move to the root folder, copy the package and clean.
374376
cd ../../..
375-
package_name="wazuh-indexer_${version}_${SUFFIX}.${EXT}"
377+
package_name="wazuh-indexer_${version}-${REVISION}_${SUFFIX}.${EXT}"
376378
# debmake creates the package one level above
377379
cp "${TMP_DIR}/../${package_name}" "${OUTPUT}/dist/$ARTIFACT_PACKAGE_NAME"
378380

0 commit comments

Comments
 (0)