diff --git a/distribution/packages/src/deb/debian/postinst b/distribution/packages/src/deb/debian/postinst index ea061504683d1..5204d7b58ce73 100644 --- a/distribution/packages/src/deb/debian/postinst +++ b/distribution/packages/src/deb/debian/postinst @@ -65,14 +65,6 @@ echo " sudo systemctl enable wazuh-indexer.service" echo "### You can start wazuh-indexer service by executing" echo " sudo systemctl start wazuh-indexer.service" -if [ -d ${product_dir}/plugins/opensearch-security ]; then - echo "### Create wazuh-indexer demo certificates in ${config_dir}/" - echo " See demo certs creation log in ${log_dir}/install_demo_configuration.log" -fi -echo "### Upcoming breaking change in packaging" -echo " In a future release of Wazuh Indexer, we plan to change the permissions associated with access to installed files" -echo " If you are configuring tools that require read access to the Wazuh Indexer configuration files, we recommend you add the user that runs these tools to the 'wazuh-indexer' group" -echo " For more information, see https://github.com/opensearch-project/opensearch-build/pull/4043" exit 0 diff --git a/scripts/README.md b/scripts/README.md index 8c98f8206cab5..7c17b6e827c69 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -98,7 +98,14 @@ The script will: |-- etc |-- usr |-- var - `-- wazuh-indexer-min_4.9.0_amd64.deb + |-- wazuh-indexer-min_4.9.0_amd64.deb + `-- debian/ + | -- control + | -- copyright + | -- rules + | -- preinst + | -- prerm + | -- postinst ``` ### Running in Act diff --git a/scripts/assemble.sh b/scripts/assemble.sh index 9f25c304808b4..06f639a8e52c3 100755 --- a/scripts/assemble.sh +++ b/scripts/assemble.sh @@ -312,6 +312,7 @@ function assemble_deb() { # Copy spec cp "distribution/packages/src/deb/Makefile" "${TMP_DIR}" cp "distribution/packages/src/deb/debmake_install.sh" "${TMP_DIR}" + cp -r "distribution/packages/src/deb/debian" "${TMP_DIR}" chmod a+x "${TMP_DIR}/debmake_install.sh" # Copy performance analyzer service file enable_performance_analyzer