Skip to contentSkip to conversation

package/systemd: add optional iptables dependency

PATCH New Fabrice Fontaine 3 participants 3 messages Feb 3, 2019 – Feb 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/systemd: add optional iptables dependency

---
 package/systemd/systemd.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/systemd/systemd.mk +7 -0
index 15db1969e5..f9df66b039 100644
@@ -64,6 +64,13 @@ else
 SYSTEMD_CONF_OPTS += -Delfutils=false
 endif
 
+ifeq ($(BR2_PACKAGE_IPTABLES),y)
+SYSTEMD_DEPENDENCIES += iptables
+SYSTEMD_CONF_OPTS += -Dlibiptc=true
+else
+SYSTEMD_CONF_OPTS += -Dlibiptc=false
+endif
+
 # Both options can't be selected at the same time so prefer libidn2
 ifeq ($(BR2_PACKAGE_LIBIDN2),y)
 SYSTEMD_DEPENDENCIES += libidn2
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 package/systemd: add optional iptables dependency

Fabrice, All,

On 2019-02-03 19:04 +0100, Fabrice Fontaine spake thusly:

Quoted 1 line

Regards,
Yann E. MORIN.

Quoted 25 lines
---
 package/systemd/systemd.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/systemd/systemd.mk +7 -0
index 15db1969e5..f9df66b039 100644
@@ -64,6 +64,13 @@ else
 SYSTEMD_CONF_OPTS += -Delfutils=false
 endif
 
+ifeq ($(BR2_PACKAGE_IPTABLES),y)
+SYSTEMD_DEPENDENCIES += iptables
+SYSTEMD_CONF_OPTS += -Dlibiptc=true
+else
+SYSTEMD_CONF_OPTS += -Dlibiptc=false
+endif
+
 # Both options can't be selected at the same time so prefer libidn2
 ifeq ($(BR2_PACKAGE_LIBIDN2),y)
 SYSTEMD_DEPENDENCIES += libidn2
Signature · 1 line
2.14.1
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 package/systemd: add optional iptables dependency

In reply to Fabrice Fontaine
Quoted 4 lines · On Sun, 3 Feb 2019 19:04:16 +0100 Fabrice Fontaine…
---
 package/systemd/systemd.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com