[Buildroot] [git commit branch/2022.02.x] package/i2pd: really install configuration files
Peter Korsgaard
peter at korsgaard.com
Tue Jan 10 21:48:28 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=cf8fb3c1f48a03d3a89a05d3e788d15f7135f837
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x
While applying [1] the commit "fffbd2c9f7 i2pd: new package"
unintentionally removed completely the post-install hooks, so
I2PD_INSTALL_CONFIGURATION_FILES is declared but never called.
Fix the install of configuration files by adding the defined symbol to
the post-install hooks.
[1] http://patchwork.ozlabs.org/project/buildroot/patch/20180327212401.5173-1-fontaine.fabrice@gmail.com/
Cc: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit fa581bb3e6b45da2b7a0cfb9e5d6f869a7cd9b05)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/i2pd/i2pd.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/i2pd/i2pd.mk b/package/i2pd/i2pd.mk
index 2b5c6a1f54..4c65c4ded2 100644
--- a/package/i2pd/i2pd.mk
+++ b/package/i2pd/i2pd.mk
@@ -44,6 +44,7 @@ define I2PD_INSTALL_CONFIGURATION_FILES
mkdir -p $(TARGET_DIR)/var/lib/i2pd
cp -a $(@D)/contrib/certificates $(TARGET_DIR)/var/lib/i2pd
endef
+I2PD_POST_INSTALL_TARGET_HOOKS += I2PD_INSTALL_CONFIGURATION_FILES
define I2PD_USERS
i2pd -1 i2pd -1 * /var/lib/i2pd - - I2P Daemon
More information about the buildroot
mailing list