Skip to content

Commit

Permalink
Attempt nr.2 to fix #277 (#280)
Browse files Browse the repository at this point in the history
* Testy test test

* Update artifact name

Skip lintian

* Update Mantainers for Debian package metadata
  • Loading branch information
AlexRuiz7 authored Jun 25, 2024
1 parent f327a41 commit 838e3ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion distribution/packages/src/deb/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Source: wazuh-indexer
Section: web
Priority: optional
Maintainer: Wazuh Indexer Team <[email protected]>
Maintainer: Wazuh, Inc <[email protected]>
Build-Depends: debhelper-compat (= 12)
Standards-Version: 4.5.0
Homepage: https://www.wazuh.com/
Expand Down
6 changes: 4 additions & 2 deletions packaging_scripts/assemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ function assemble_deb() {

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

# Generate final package
debmake \
Expand All @@ -368,11 +370,11 @@ function assemble_deb() {
--package wazuh-indexer \
--native \
--revision "${REVISION}" \
--upstreamversion "${version}"
--upstreamversion "${version}-${REVISION}"

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

Expand Down

0 comments on commit 838e3ff

Please sign in to comment.