Skip to content

Commit

Permalink
Skip unneeded dh_fixperms stage in debian/rules
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland committed Jan 24, 2024
1 parent 49ec596 commit df04e5d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions distribution/packages/src/deb/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,18 @@
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

SHELL != sh -c "command -v /bin/bash"
.ONESHELL:

%:
dh $@

override_dh_strip_nondeterminism:
echo "Skipping dh_strip_nondeterminism"

override_dh_fixperms:
echo "Skipping dh_fixperms"

override_dh_builddeb:
dh_builddeb -- -Zgzip

Expand Down
3 changes: 3 additions & 0 deletions scripts/assemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ function assemble_deb() {
remove_unneeded_files
add_wazuh_tools "${version}"

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

# Generate final package
debmake \
--fullname "Wazuh Team" \
Expand Down

0 comments on commit df04e5d

Please sign in to comment.