Skip to contentSkip to conversation

ifplugd: add --with-initdir= to config command

PATCH New Shawn J. Goff 2 participants 6 messages Aug 18, 2012 – Aug 24, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ifplugd: add --with-initdir= to config command

From: "Shawn J. Goff" <[email protected]>

ifplugd refuses to configure without this set.

---
 package/ifplugd/ifplugd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/ifplugd/ifplugd.mk +1 -1
index 1e11c14..d031a97 100644
@@ -12,7 +12,7 @@ IFPLUGD_AUTORECONF = YES
 
 # install-strip unconditionally overwrites $(TARGET_DIR)/etc/ifplugd/ifplugd.*
 IFPLUGD_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-exec
-IFPLUGD_CONF_OPT = --disable-lynx
+IFPLUGD_CONF_OPT = --disable-lynx --with-initdir=/etc/init.d/
 IFPLUGD_DEPENDENCIES = libdaemon
 
 # Prefer big ifplugd
Signature · 1 line
1.7.11.1
#1 lore raw

PATCH 1/1 ifplugd: add --with-initdir= to config command

Le Sat, 18 Aug 2012 10:04:16 -0400,
"Shawn J. Goff" <[email protected]> a ?crit :

Quoted 3 lines

From: "Shawn J. Goff" <[email protected]>

ifplugd refuses to configure without this set.

When you say "configure", do you mean the execution of the configure script at build time, or the startup of ifplugd on the target?

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
author
#2 lore raw

PATCH 1/1 ifplugd: add --with-initdir= to config command

I mean the configure script fails when building the package.

Quoted 10 lines · Thomas Petazzoni

Le Sat, 18 Aug 2012 10:04:16 -0400,
"Shawn J. Goff" <[email protected]> a ?crit :

Quoted 3 lines

From: "Shawn J. Goff" <[email protected]>

ifplugd refuses to configure without this set.

When you say "configure", do you mean the execution of the configure script at build time, or the startup of ifplugd on the target?

Quoted 9 lines

Thanks!

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120821/dfbc80c8/attachment-0001.html>

#3 lore raw

PATCH 1/1 ifplugd: add --with-initdir= to config command

Le Tue, 21 Aug 2012 09:12:46 -0400,
Shawn Goff <[email protected]> a ?crit :

Quoted 1 line

I mean the configure script fails when building the package.

It builds fine here. What problem do you encounter, and with what configuration?

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
author
#4 lore raw

PATCH 1/1 ifplugd: add --with-initdir= to config command

Error:
configure: error: missing --with-initdir=DIR
full output from make: http://sprunge.us/eRQT

Config:
http://sprunge.us/TITZ

Quoted 15 lines · Thomas Petazzoni

Le Tue, 21 Aug 2012 09:12:46 -0400,
Shawn Goff <[email protected]> a ?crit :

Quoted 1 line

I mean the configure script fails when building the package.

It builds fine here. What problem do you encounter, and with what configuration?

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

#5 lore raw

PATCH 1/1 ifplugd: add --with-initdir= to config command

Le Wed, 22 Aug 2012 08:39:55 -0400,
Shawn Goff <[email protected]> a ?crit :

Quoted 3 lines

Error:
configure: error: missing --with-initdir=DIR
full output from make: http://sprunge.us/eRQT

Ok. It was working here because the ./configure script of ifplug looks at /etc on the build system to see if /etc/init.d exists. Since it's the case on my machine, it did work. But apparently, it's not the case on yours, and it's not good to depend on such thing from the build machine, so I applied your patch.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com