busybox/defconfig: Enable options required by LAVA
PATCH 1/1 busybox/defconfig: Enable options required by LAVA
Linaro's Test Framework (LAVA) requires httpd and other options enabled in busybox. Enable them so LAVA tests can be run on Arago images.
--- meta-arago-distro/recipes-core/busybox/busybox/defconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
meta-arago-distro/recipes-core/busybox/busybox/defconfig +6 -6
@@ -135,8 +135,8 @@ CONFIG_CPIO=y # CONFIG_FEATURE_CPIO_O is not set # CONFIG_FEATURE_CPIO_P is not set # CONFIG_DPKG is not set -# CONFIG_DPKG_DEB is not set -# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set +CONFIG_DPKG_DEB=y +CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY=y CONFIG_GUNZIP=y CONFIG_GZIP=y # CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set
@@ -154,7 +154,7 @@ CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y # CONFIG_FEATURE_TAR_LONG_OPTIONS is not set # CONFIG_FEATURE_TAR_TO_COMMAND is not set # CONFIG_FEATURE_TAR_UNAME_GNAME is not set -# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set +CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y # CONFIG_FEATURE_TAR_SELINUX is not set # CONFIG_UNCOMPRESS is not set # CONFIG_UNLZMA is not set
@@ -700,7 +700,7 @@ CONFIG_MICROCOM=y # CONFIG_RFKILL is not set # CONFIG_RUNLEVEL is not set # CONFIG_RX is not set -# CONFIG_SETSID is not set +CONFIG_SETSID=y CONFIG_STRINGS=y # CONFIG_TASKSET is not set # CONFIG_FEATURE_TASKSET_FANCY is not set
@@ -744,7 +744,7 @@ CONFIG_FEATURE_BRCTL_SHOW=y # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set CONFIG_HOSTNAME=y -# CONFIG_HTTPD is not set +CONFIG_HTTPD=y # CONFIG_FEATURE_HTTPD_RANGES is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_SETUID is not set
@@ -845,7 +845,7 @@ CONFIG_UDHCP_DEBUG=0 # CONFIG_FEATURE_UDHCP_8021Q is not set CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 -CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b" CONFIG_UDPSVD=y CONFIG_VCONFIG=y CONFIG_WGET=y
Signature · 1 line
1.9.1
Quoted 3 lines · Carlos Hernandez
Linaro's Test Framework (LAVA) requires httpd and other options enabled in busybox. Enable them so LAVA tests can be run on Arago images.
Looks good. The only concern I have is below.
Quoted 48 lines
Signed-off-by Carlos Hernandez <[email protected]>--- meta-arago-distro/recipes-core/busybox/busybox/defconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)meta-arago-distro/recipes-core/busybox/busybox/defconfig +5
-5@@ -135,8 +135,8 @@ CONFIG_CPIO=y # CONFIG_FEATURE_CPIO_O is not set # CONFIG_FEATURE_CPIO_P is not set # CONFIG_DPKG is not set -# CONFIG_DPKG_DEB is not set -# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set +CONFIG_DPKG_DEB=y +CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY=y CONFIG_GUNZIP=y CONFIG_GZIP=y # CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set@@ -154,7 +154,7 @@ CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y # CONFIG_FEATURE_TAR_LONG_OPTIONS is not set # CONFIG_FEATURE_TAR_TO_COMMAND is not set # CONFIG_FEATURE_TAR_UNAME_GNAME is not set -# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set +CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y # CONFIG_FEATURE_TAR_SELINUX is not set # CONFIG_UNCOMPRESS is not set # CONFIG_UNLZMA is not set@@ -700,7 +700,7 @@ CONFIG_MICROCOM=y # CONFIG_RFKILL is not set # CONFIG_RUNLEVEL is not set # CONFIG_RX is not set -# CONFIG_SETSID is not set +CONFIG_SETSID=y CONFIG_STRINGS=y # CONFIG_TASKSET is not set # CONFIG_FEATURE_TASKSET_FANCY is not set@@ -744,7 +744,7 @@ CONFIG_FEATURE_BRCTL_SHOW=y # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set CONFIG_HOSTNAME=y -# CONFIG_HTTPD is not set +CONFIG_HTTPD=y # CONFIG_FEATURE_HTTPD_RANGES is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_SETUID is not set
meta-arago-distro/recipes-core/busybox/busybox/defconfig CONFIG_UDHCP_DEBUG=0 · line 848
Quoted 5 lines
meta-arago-distro/recipes-core/busybox/busybox/defconfig +1
-1@@ -845,7 +845,7 @@ CONFIG_UDHCP_DEBUG=0 # CONFIG_FEATURE_UDHCP_8021Q is not set CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 -CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"
This supposedly changes udhcp behavior to go into background when waiting for an IP address, if not received right away, instead of exiting with an error. I personally don't have an issue with this, but will it affect SDK OOB experience in any way? Guys?
Signature · 1 line
Denys
Quoted 10 lines
meta-arago-distro/recipes-core/busybox/busybox/defconfig +0
-0CONFIG_UDPSVD=y CONFIG_VCONFIG=y CONFIG_WGET=ySignature · 6 lines
1.9.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 11 lines · Denys
Quoted 5 lines · Carlos Hernandez
Linaro's Test Framework (LAVA) requires httpd and other options enabled in busybox. Enable them so LAVA tests can be run on Arago images.
Looks good. The only concern I have is below.
Carlos,
Do we really need another web server?
We have lighttpd and thttpd already. Can either of those be reused especially thttpd since it's already a light weight web server.
Quoted 52 lines
Quoted 52 lines
Signed-off-by Carlos Hernandez <[email protected]>---
meta-arago-distro/recipes-core/busybox/busybox/defconfig | 12 ++++++------1 file changed, 6 insertions(+), 6 deletions(-)meta-arago-distro/recipes-core/busybox/busybox/defconfig +2
-2@@ -135,8 +135,8 @@ CONFIG_CPIO=y # CONFIG_FEATURE_CPIO_O is not set # CONFIG_FEATURE_CPIO_P is not set # CONFIG_DPKG is not set -# CONFIG_DPKG_DEB is not set -# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set +CONFIG_DPKG_DEB=y +CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY=y
CONFIG_GUNZIP=yCONFIG_GZIP=y
#CONFIG_FEATURE_GZIP_LONG_OPTIONSis not setmeta-arago-distro/recipes-core/busybox/busybox/defconfig +2
-2@@ -154,7 +154,7 @@ CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y # CONFIG_FEATURE_TAR_LONG_OPTIONS is not set # CONFIG_FEATURE_TAR_TO_COMMAND is not set # CONFIG_FEATURE_TAR_UNAME_GNAME is not set -# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set +CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y # CONFIG_FEATURE_TAR_SELINUX is not set # CONFIG_UNCOMPRESS is not set # CONFIG_UNLZMA is not set@@ -700,7 +700,7 @@ CONFIG_MICROCOM=y # CONFIG_RFKILL is not set # CONFIG_RUNLEVEL is not set # CONFIG_RX is not set -# CONFIG_SETSID is not set +CONFIG_SETSID=y
CONFIG_STRINGS=y
#CONFIG_TASKSETis not set
#CONFIG_FEATURE_TASKSET_FANCYis not setmeta-arago-distro/recipes-core/busybox/busybox/defconfig +0
-0@@ -744,7 +744,7 @@ CONFIG_FEATURE_BRCTL_SHOW=y # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set
CONFIG_HOSTNAME=ymeta-arago-distro/recipes-core/busybox/busybox/defconfig +1
-1-# CONFIG_HTTPD is not set +CONFIG_HTTPD=y#
CONFIG_FEATURE_HTTPD_RANGESis not set
#CONFIG_FEATURE_HTTPD_USE_SENDFILEis not set
#CONFIG_FEATURE_HTTPD_SETUIDis not setmeta-arago-distro/recipes-core/busybox/busybox/defconfig +0
-0@@ -845,7 +845,7 @@ CONFIG_UDHCP_DEBUG=0 # CONFIG_FEATURE_UDHCP_8021Q is not set
CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
Quoted 8 lines
meta-arago-distro/recipes-core/busybox/busybox/defconfig CONFIG_UDHCP_DEBUG=0 · line 848
Quoted 3 lines
CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80meta-arago-distro/recipes-core/busybox/busybox/defconfig +1
-1-CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"This supposedly changes udhcp behavior to go into background when waiting for an IP address, if not received right away, instead of exiting with an error. I personally don't have an issue with this, but will it affect SDK OOB experience in any way? Guys?
I'll double check but why instead of changing the default behavior simply add &? I'm assuming you will get the same result but won't have to worry about breaking anything.
Quoted 19 lines
Signature · 2 lines
-- DenysQuoted 10 lines
CONFIG_UDPSVD=yCONFIG_VCONFIG=yCONFIG_WGET=ySignature · 6 lines
1.9.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 10 lines · Franklin
Quoted 10 lines · Denys
Quoted 5 lines · Carlos Hernandez
Linaro's Test Framework (LAVA) requires httpd and other options enabled in busybox. Enable them so LAVA tests can be run on Arago images.
Quoted 6 lines
Quoted 1 line
Looks good. The only concern I have is below.
Carlos,
Do we really need another web server?
We have lighttpd and thttpd already. Can either of those be reused especially thttpd since it's already a light weight web server.
I guess this question would need to be directed to LAVA guys. Not sure if their build includes any of those other http servers, hence they enabled the simplest one.
We do indeed already have 2 http servers, and yes it would be nice to re-use one of them instead of enabling 3rd one. But the question is - who will validate and, if needed, update corresponding LAVA pieces to work with thttpd?
Quoted 59 lines
Quoted 50 lines
Quoted 50 lines
Signed-off-by Carlos Hernandez <[email protected]>---
meta-arago-distro/recipes-core/busybox/busybox/defconfig | 12 ++++++------1 file changed, 6 insertions(+), 6 deletions(-)meta-arago-distro/recipes-core/busybox/busybox/defconfig +2
-2@@ -135,8 +135,8 @@ CONFIG_CPIO=y # CONFIG_FEATURE_CPIO_O is not set # CONFIG_FEATURE_CPIO_P is not set # CONFIG_DPKG is not set -# CONFIG_DPKG_DEB is not set -# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set +CONFIG_DPKG_DEB=y +CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY=y
CONFIG_GUNZIP=yCONFIG_GZIP=y
#CONFIG_FEATURE_GZIP_LONG_OPTIONSis not setmeta-arago-distro/recipes-core/busybox/busybox/defconfig +2
-2@@ -154,7 +154,7 @@ CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y # CONFIG_FEATURE_TAR_LONG_OPTIONS is not set # CONFIG_FEATURE_TAR_TO_COMMAND is not set # CONFIG_FEATURE_TAR_UNAME_GNAME is not set -# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set +CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y # CONFIG_FEATURE_TAR_SELINUX is not set # CONFIG_UNCOMPRESS is not set # CONFIG_UNLZMA is not set@@ -700,7 +700,7 @@ CONFIG_MICROCOM=y # CONFIG_RFKILL is not set # CONFIG_RUNLEVEL is not set # CONFIG_RX is not set -# CONFIG_SETSID is not set +CONFIG_SETSID=y
CONFIG_STRINGS=y
#CONFIG_TASKSETis not set
#CONFIG_FEATURE_TASKSET_FANCYis not setmeta-arago-distro/recipes-core/busybox/busybox/defconfig +0
-0@@ -744,7 +744,7 @@ CONFIG_FEATURE_BRCTL_SHOW=y # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set
CONFIG_HOSTNAME=ymeta-arago-distro/recipes-core/busybox/busybox/defconfig +1
-1-# CONFIG_HTTPD is not set +CONFIG_HTTPD=y#
CONFIG_FEATURE_HTTPD_RANGESis not set
#CONFIG_FEATURE_HTTPD_USE_SENDFILEis not set
#CONFIG_FEATURE_HTTPD_SETUIDis not setmeta-arago-distro/recipes-core/busybox/busybox/defconfig +0
-0@@ -845,7 +845,7 @@ CONFIG_UDHCP_DEBUG=0 # CONFIG_FEATURE_UDHCP_8021Q is not set
CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"Quoted 8 lines
meta-arago-distro/recipes-core/busybox/busybox/defconfig CONFIG_UDHCP_DEBUG=0 · line 848
Quoted 3 lines
CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80meta-arago-distro/recipes-core/busybox/busybox/defconfig +1
-1-CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"This supposedly changes udhcp behavior to go into background when waiting for an IP address, if not received right away, instead of exiting with an error. I personally don't have an issue with this, but will it affect SDK OOB experience in any way? Guys?
Quoted 3 lines
I'll double check but why instead of changing the default behavior simply add &? I'm assuming you will get the same result but won't have to worry about breaking anything.
That's still not the same - with -n flag udhcp will time out soon if not received IP address, while with -b it will go into background and will wait for IP address there. So, if you add & at the end of command with -n it will go into background, but exit soon after, which is not the same.
Quoted 19 lines
Quoted 19 lines
Signature · 2 lines
-- DenysQuoted 10 lines
CONFIG_UDPSVD=yCONFIG_VCONFIG=yCONFIG_WGET=ySignature · 6 lines
1.9.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 23 lines · Denys
Quoted 12 lines · Franklin
Quoted 10 lines
Quoted 9 lines · Denys
On Thu, Feb 05, 2015 at 10:02:33AM -0500, Carlos Hernandez wrote:
Linaro's Test Framework (LAVA) requires httpd and other options enabled in busybox. Enable them so LAVA tests can be run on Arago images.Quoted 6 lines
Quoted 1 line
Looks good. The only concern I have is below.
Carlos,
Do we really need another web server?
We have lighttpd and thttpd already. Can either of those be reused especially thttpd since it's already a light weight web server.
Quoted 7 lines
I guess this question would need to be directed to LAVA guys. Not sure if their build includes any of those other http servers, hence they enabled the simplest one.
We do indeed already have 2 http servers, and yes it would be nice to re-use one of them instead of enabling 3rd one. But the question is - who will validate and, if needed, update corresponding LAVA pieces to work with thttpd?
Let me check how we currently use thttpd. I wouldn't mind replacing it with httpd if possible instead of adding a third web server.
Quoted 61 lines
Quoted 60 lines
Quoted 60 lines
Quoted 53 lines
Signed-off-by Carlos Hernandez <[email protected]>---
meta-arago-distro/recipes-core/busybox/busybox/defconfig | 12 ++++++------1 file changed, 6 insertions(+), 6 deletions(-)meta-arago-distro/recipes-core/busybox/busybox/defconfig +2
-2@@ -135,8 +135,8 @@ CONFIG_CPIO=y # CONFIG_FEATURE_CPIO_O is not set # CONFIG_FEATURE_CPIO_P is not set # CONFIG_DPKG is not set -# CONFIG_DPKG_DEB is not set -# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set +CONFIG_DPKG_DEB=y +CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY=y
CONFIG_GUNZIP=yCONFIG_GZIP=y
#CONFIG_FEATURE_GZIP_LONG_OPTIONSis not setmeta-arago-distro/recipes-core/busybox/busybox/defconfig +2
-2@@ -154,7 +154,7 @@ CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y # CONFIG_FEATURE_TAR_LONG_OPTIONS is not set # CONFIG_FEATURE_TAR_TO_COMMAND is not set # CONFIG_FEATURE_TAR_UNAME_GNAME is not set -# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set +CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y # CONFIG_FEATURE_TAR_SELINUX is not set # CONFIG_UNCOMPRESS is not set # CONFIG_UNLZMA is not set@@ -700,7 +700,7 @@ CONFIG_MICROCOM=y # CONFIG_RFKILL is not set # CONFIG_RUNLEVEL is not set # CONFIG_RX is not set -# CONFIG_SETSID is not set +CONFIG_SETSID=y
CONFIG_STRINGS=y
#CONFIG_TASKSETis not set
#CONFIG_FEATURE_TASKSET_FANCYis not setmeta-arago-distro/recipes-core/busybox/busybox/defconfig +0
-0@@ -744,7 +744,7 @@ CONFIG_FEATURE_BRCTL_SHOW=y # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set
CONFIG_HOSTNAME=ymeta-arago-distro/recipes-core/busybox/busybox/defconfig +1
-1-# CONFIG_HTTPD is not set +CONFIG_HTTPD=y#
CONFIG_FEATURE_HTTPD_RANGESis not set
#CONFIG_FEATURE_HTTPD_USE_SENDFILEis not set
#CONFIG_FEATURE_HTTPD_SETUIDis not setmeta-arago-distro/recipes-core/busybox/busybox/defconfig +0
-0@@ -845,7 +845,7 @@ CONFIG_UDHCP_DEBUG=0 # CONFIG_FEATURE_UDHCP_8021Q is not set
CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80meta-arago-distro/recipes-core/busybox/busybox/defconfig CONFIG_UDHCP_DEBUG=0 · line 848
Quoted 2 lines
meta-arago-distro/recipes-core/busybox/busybox/defconfig +1
-1-CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"This supposedly changes udhcp behavior to go into background when waiting for an IP address, if not received right away, instead of exiting with an error. I personally don't have an issue with this, but will it affect SDK OOB experience in any way? Guys?
Quoted 9 lines
Quoted 3 lines
I'll double check but why instead of changing the default behavior simply add &? I'm assuming you will get the same result but won't have to worry about breaking anything.
That's still not the same - with -n flag udhcp will time out soon if not received IP address, while with -b it will go into background and will wait for IP address there. So, if you add & at the end of command with -n it will go into background, but exit soon after, which is not the same.
So it sits indefinitely and assigns ip's whenever it can? If so I would actual prefer that. I still need to check.
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
Signature · 2 lines
-- DenysQuoted 10 lines
CONFIG_UDPSVD=yCONFIG_VCONFIG=yCONFIG_WGET=ySignature · 6 lines
1.9.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 20 lines · Franklin
Quoted 20 lines · Denys
Quoted 8 lines · Franklin
Quoted 7 lines
Quoted 6 lines · Denys
On Thu, Feb 05, 2015 at 10:02:33AM -0500, Carlos Hernandez wrote:
Linaro's Test Framework (LAVA) requires httpd and other options enabled in busybox. Enable them so LAVA tests can be run on Arago images.Quoted 6 lines
Quoted 1 line
Looks good. The only concern I have is below.
Carlos,
Do we really need another web server?
We have lighttpd and thttpd already. Can either of those be reused especially thttpd since it's already a light weight web server.I guess this question would need to be directed to LAVA guys. Not sure if their build includes any of those other http servers, hence they enabled the simplest one.
Quoted 6 lines
Quoted 3 lines
We do indeed already have 2 http servers, and yes it would be nice to re-use one of them instead of enabling 3rd one. But the question is - who will validate and, if needed, update corresponding LAVA pieces to work with thttpd?
Let me check how we currently use thttpd. I wouldn't mind replacing it with httpd if possible instead of adding a third web server.
I don't believe we actively use thttpd any more. It was added way back to Classic Arago to support DVSDK and running cgi scripts as root:
http://arago-project.org/git/?p=arago.git;a=commit;h=f8bf614c85f435f53a78a0151b239341643f6a13
I'd vote to kill it.
Quoted 26 lines
Quoted 26 lines
Quoted 25 lines
Quoted 5 lines
Quoted 5 lines
Signed-off-by Carlos Hernandez <[email protected]>---
meta-arago-distro/recipes-core/busybox/busybox/defconfig | 12 ++++++------1 file changed, 6 insertions(+), 6 deletions(-)Quoted 16 lines
meta-arago-distro/recipes-core/busybox/busybox/defconfig CONFIG_UDHCP_DEBUG=0 · line 848
Quoted 11 lines
meta-arago-distro/recipes-core/busybox/busybox/defconfig +1
-1-# CONFIG_HTTPD is not set +CONFIG_HTTPD=y#
CONFIG_FEATURE_HTTPD_RANGESis not set
#CONFIG_FEATURE_HTTPD_USE_SENDFILEis not set
#CONFIG_FEATURE_HTTPD_SETUIDis not setmeta-arago-distro/recipes-core/busybox/busybox/defconfig +0
-0@@ -845,7 +845,7 @@ CONFIG_UDHCP_DEBUG=0 # CONFIG_FEATURE_UDHCP_8021Q is not set
CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80meta-arago-distro/recipes-core/busybox/busybox/defconfig +1
-1-CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"This supposedly changes udhcp behavior to go into background when waiting for an IP address, if not received right away, instead of exiting with an error. I personally don't have an issue with this, but will it affect SDK OOB experience in any way? Guys?
I'll double check but why instead of changing the default behavior simply add &? I'm assuming you will get the same result but won't have to worry about breaking anything.
Quoted 7 lines
Quoted 5 lines
That's still not the same - with -n flag udhcp will time out soon if not received IP address, while with -b it will go into background and will wait for IP address there. So, if you add & at the end of command with -n it will go into background, but exit soon after, which is not the same.
So it sits indefinitely and assigns ip's whenever it can? If so I would actual prefer that. I still need to check.
Yes, it is my understanding that it will keep on pinging the server with request-IP periodically in the background, until it gets one.
The current behaviour is it tries 3 times and if it can't get an IP, it exits with error.
In both cases, once the IP is acquired, the client has to stay in the background for renewing the lease. The difference is the initial acquision.
Signature · 1 line
Denys
Quoted 40 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 05, 2015 10:49 AM
To: Cooper Jr., Franklin
Cc: Hernandez, Carlos; [email protected]
Subject: Re: [meta-arago] [PATCH] busybox/defconfig: Enable options required by LAVAQuoted 3 lines · Franklin
Quoted 3 lines · Denys
Quoted 2 lines · Franklin
Quoted 1 line
Quoted 1 line
On Feb 5, 2015, at 9:14 AM, Dmytriyenko, Denys <[email protected]>
Quoted 13 lines · wrote:
Quoted 13 lines
Quoted 12 lines
Quoted 7 lines
Quoted 5 lines · Carlos Hernandez
Linaro's Test Framework (LAVA) requires httpd and other options enabled in busybox. Enable them so LAVA tests can be run on Arago images.
Looks good. The only concern I have is below.
Carlos,
Do we really need another web server?
We have lighttpd and thttpd already. Can either of those be reused especially thttpd since it's already a light weight web server.Quoted 7 lines
Quoted 7 lines
I guess this question would need to be directed to LAVA guys. Not sure if their build includes any of those other http servers, hence they enabled the simplest one.
We do indeed already have 2 http servers, and yes it would be nice to re-use one of them instead of enabling 3rd one. But the question is - who will validate and, if needed, update corresponding LAVA pieces to
work with thttpd?
Quoted 2 lines
Let me check how we currently use thttpd. I wouldn't mind replacing it with httpd if possible instead of adding a third web server.
Quoted 8 lines
I don't believe we actively use thttpd any more. It was added way back to Classic Arago to support DVSDK and running cgi scripts as root:
http://arago-
project.org/git/?p=arago.git;a=commit;h=f8bf614c85f435f53a78a0151b239341643f6a13I'd vote to kill it.
[Franklin] I've wanted to kill it for a while but I was told that customers frequently asked for a very lightweight web server so we kept it there to show it off. Other than documentation I don't think we refer to thttpd in our sdk.
Quoted 39 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Signed-off-by Carlos Hernandez <[email protected]>---
meta-arago-distro/recipes-core/busybox/busybox/defconfig | 12
++++++------1 file changed, 6 insertions(+), 6 deletions(-)Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
meta-arago-distro/recipes-core/busybox/busybox/defconfig +1
-1-# CONFIG_HTTPD is not set +CONFIG_HTTPD=y#
CONFIG_FEATURE_HTTPD_RANGESis not set #CONFIG_FEATURE_HTTPD_USE_SENDFILEis not set #CONFIG_FEATURE_HTTPD_SETUIDis not set @@ -845,7 +845,7 @@CONFIG_UDHCP_DEBUG=0#CONFIG_FEATURE_UDHCP_8021Qis notset
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
meta-arago-distro/recipes-core/busybox/busybox/defconfig CONFIG_UDHCP_DEBUG=0 · line 848
Quoted 4 lines
CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80meta-arago-distro/recipes-core/busybox/busybox/defconfig +1
-1-CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"This supposedly changes udhcp behavior to go into background when waiting for an IP address, if not received right away, instead of exiting
with an error.
Quoted 11 lines
Quoted 11 lines
Quoted 6 lines
Quoted 2 lines
I personally don't have an issue with this, but will it affect SDK OOB experience in any way? Guys?
I'll double check but why instead of changing the default behavior simply add &? I'm assuming you will get the same result but won't have to worry about breaking anything.
That's still not the same - with -n flag udhcp will time out soon if not received IP address, while with -b it will go into background and will wait for IP address there. So, if you add & at the end of command with -n it will go into background, but exit soon after, which is not
the same.
Quoted 3 lines
Quoted 1 line
So it sits indefinitely and assigns ip's whenever it can? If so I would actual prefer that. I still need to check.
Quoted 8 lines
Yes, it is my understanding that it will keep on pinging the server with request- IP periodically in the background, until it gets one.
The current behaviour is it tries 3 times and if it can't get an IP, it exits with error.
In both cases, once the IP is acquired, the client has to stay in the background for renewing the lease. The difference is the initial acquision.
[Franklin] This change will cause problems for one of our scripts. Since we are extremely close to our release I would prefer if we hold off on making this change. Wed of next week would be prefect if yall don't mind waiting. I'll update the scripts at that point to reflect this change.
I don't see a command to manually change this behavior to mimic how it currently works once this change is made. So if such a command/option does exist then I probably can fix the scripts real quick to make that change.
Quoted 3 lines
--
Denys
Quoted 24 lines · Franklin
Quoted 24 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Carlos,
Do we really need another web server?
We have lighttpd and thttpd already. Can either of those be reused especially thttpd since it's already a light weight web server.Quoted 7 lines
Quoted 7 lines
I guess this question would need to be directed to LAVA guys. Not sure if their build includes any of those other http servers, hence they enabled the simplest one.
We do indeed already have 2 http servers, and yes it would be nice to re-use one of them instead of enabling 3rd one. But the question is - who will validate and, if needed, update corresponding LAVA pieces to
work with thttpd?
Quoted 2 lines
Let me check how we currently use thttpd. I wouldn't mind replacing it with httpd if possible instead of adding a third web server.
I don't believe we actively use thttpd any more. It was added way back to Classic Arago to support DVSDK and running cgi scripts as root:
http://arago-
project.org/git/?p=arago.git;a=commit;h=f8bf614c85f435f53a78a0151b239341643f6a13
Quoted 6 lines
Quoted 1 line
I'd vote to kill it.
[Franklin] I've wanted to kill it for a while but I was told that customers frequently asked for a very lightweight web server so we kept it there to show it off. Other than documentation I don't think we refer to thttpd in our sdk.
So, to summarize - we'll kill separate thttpd and enable httpd in busybox. Also, lighthttpd will stay, as it's used by matrix and is more feature-full
Quoted 46 lines
Quoted 37 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Signed-off-by Carlos Hernandez <[email protected]>---
meta-arago-distro/recipes-core/busybox/busybox/defconfig | 12
++++++------1 file changed, 6 insertions(+), 6 deletions(-)Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
(quoted diff) +1
-1-# CONFIG_HTTPD is not set +CONFIG_HTTPD=y#
CONFIG_FEATURE_HTTPD_RANGESis not set #CONFIG_FEATURE_HTTPD_USE_SENDFILEis not set #CONFIG_FEATURE_HTTPD_SETUIDis not set @@ -845,7 +845,7 @@CONFIG_UDHCP_DEBUG=0#CONFIG_FEATURE_UDHCP_8021Qis notset
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Review
Quoted 4 lines
CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80(quoted diff) +1
-1-CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"This supposedly changes udhcp behavior to go into background when waiting for an IP address, if not received right away, instead of exiting
with an error.
Quoted 11 lines
Quoted 11 lines
Quoted 6 lines
Quoted 2 lines
I personally don't have an issue with this, but will it affect SDK OOB experience in any way? Guys?
I'll double check but why instead of changing the default behavior simply add &? I'm assuming you will get the same result but won't have to worry about breaking anything.
That's still not the same - with -n flag udhcp will time out soon if not received IP address, while with -b it will go into background and will wait for IP address there. So, if you add & at the end of command with -n it will go into background, but exit soon after, which is not
the same.
Quoted 3 lines
Quoted 1 line
So it sits indefinitely and assigns ip's whenever it can? If so I would actual prefer that. I still need to check.
Quoted 8 lines
Yes, it is my understanding that it will keep on pinging the server with request- IP periodically in the background, until it gets one.
The current behaviour is it tries 3 times and if it can't get an IP, it exits with error.
In both cases, once the IP is acquired, the client has to stay in the background for renewing the lease. The difference is the initial acquision.
Quoted 8 lines
[Franklin] This change will cause problems for one of our scripts. Since we are extremely close to our release I would prefer if we hold off on making this change. Wed of next week would be prefect if yall don't mind waiting. I'll update the scripts at that point to reflect this change.
I don't see a command to manually change this behavior to mimic how it currently works once this change is made. So if such a command/option does exist then I probably can fix the scripts real quick to make that change.
udhcpc should take those flags on the command line as well:
http://git.busybox.net/busybox/tree/networking/udhcp/dhcpc.c#n1147
Signature · 1 line
Denys
Quoted 10 lines · Denys Dmytriyenko
Quoted 8 lines · Franklin
Quoted 8 lines
I don't believe we actively use thttpd any more. It was added way back to Classic Arago to support DVSDK and running cgi scripts as root:
http://arago-
project.org/git/?p=arago.git;a=commit;h=f8bf614c85f435f53a78a0151b239341643f6a13I'd vote to kill it.
Quoted 7 lines
Quoted 4 lines
[Franklin] I've wanted to kill it for a while but I was told that customers frequently asked for a very lightweight web server so we kept it there to show it off. Other than documentation I don't think we refer to thttpd in our sdk.
So, to summarize - we'll kill separate thttpd and enable httpd in busybox. Also, lighthttpd will stay, as it's used by matrix and is more feature-full
Any comments?
Quoted 26 lines
Quoted 26 lines
Quoted 12 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Review
Quoted 2 lines
(quoted diff) +1
-1-CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"That's still not the same - with -n flag udhcp will time out soon if not received IP address, while with -b it will go into background and will wait for IP address there. So, if you add & at the end of command with -n it will go into background, but exit soon after, which is not
the same.
Quoted 3 lines
Quoted 1 line
So it sits indefinitely and assigns ip's whenever it can? If so I would actual prefer that. I still need to check.
Quoted 8 lines
Yes, it is my understanding that it will keep on pinging the server with request- IP periodically in the background, until it gets one.
The current behaviour is it tries 3 times and if it can't get an IP, it exits with error.
In both cases, once the IP is acquired, the client has to stay in the background for renewing the lease. The difference is the initial acquision.
[Franklin] This change will cause problems for one of our scripts. Since we are extremely close to our release I would prefer if we hold off on making this change. Wed of next week would be prefect if yall don't mind waiting. I'll update the scripts at that point to reflect this change.
Quoted 6 lines
Quoted 3 lines
I don't see a command to manually change this behavior to mimic how it currently works once this change is made. So if such a command/option does exist then I probably can fix the scripts real quick to make that change.
udhcpc should take those flags on the command line as well:
http://git.busybox.net/busybox/tree/networking/udhcp/dhcpc.c#n1147
Franklin, please confirm we can proceed with this change - did you get a chance to test your scripts?
Signature · 1 line
Denys
Quoted 27 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 12, 2015 9:41 AM
To: Cooper Jr., Franklin
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] busybox/defconfig: Enable options required by LAVAQuoted 16 lines · Denys Dmytriyenko
Quoted 14 lines · Franklin
Quoted 9 lines
I don't believe we actively use thttpd any more. It was added way back to Classic Arago to support DVSDK and running cgi scripts as root:
http://arago-
project.org/git/?p=arago.git;a=commit;h=f8bf614c85f435f53a78a0151b 239341643f6a13I'd vote to kill it.
[Franklin] I've wanted to kill it for a while but I was told that customers frequently asked for a very lightweight web server so we kept it there to show it off. Other than documentation I don't think we refer to thttpd in our sdk.
Quoted 5 lines
Quoted 3 lines
So, to summarize - we'll kill separate thttpd and enable httpd in busybox. Also, lighthttpd will stay, as it's used by matrix and is more feature-full
Any comments?
[Franklin] Above is fine
Quoted 34 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
Quoted 5 lines
Review
Quoted 4 lines
(quoted diff) +1
-1-CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"That's still not the same - with -n flag udhcp will time out soon if not received IP address, while with -b it will go into background and will wait for IP address there. So, if you add & at the end of command with -n it will go into background, but exit soon after, which is not
the same.
Quoted 3 lines
Quoted 1 line
So it sits indefinitely and assigns ip's whenever it can? If so I would actual prefer that. I still need to check.
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Yes, it is my understanding that it will keep on pinging the server with request- IP periodically in the background, until it gets one.
The current behaviour is it tries 3 times and if it can't get an IP, it exits with error.
In both cases, once the IP is acquired, the client has to stay in the background for renewing the lease. The difference is the initial
acquision.
Quoted 4 lines
Quoted 4 lines
[Franklin] This change will cause problems for one of our scripts. Since we are extremely close to our release I would prefer if we hold off on making this change. Wed of next week would be prefect if yall
don't mind waiting.
Quoted 5 lines
Quoted 5 lines
I'll update the scripts at that point to reflect this change.
I don't see a command to manually change this behavior to mimic how it currently works once this change is made. So if such a command/option does exist then I probably can fix the scripts real quick to
Quoted 7 lines
make that change.
Quoted 3 lines
udhcpc should take those flags on the command line as well:
http://git.busybox.net/busybox/tree/networking/udhcp/dhcpc.c#n1147Franklin, please confirm we can proceed with this change - did you get a chance to test your scripts?
[Franklin] My release is out so feel free to make the change.
Quoted 3 lines
--
Denys