* [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
@ 2014-07-12 6:37 Eduardo Silva
2014-07-17 17:06 ` Eduardo Silva
2014-07-18 18:15 ` Martin Jansa
0 siblings, 2 replies; 13+ messages in thread
From: Eduardo Silva @ 2014-07-12 6:37 UTC (permalink / raw)
To: openembedded-devel
This patch add the minor release fix of Monkey HTTP Server v1.5.1. It fixes
some problems when switching user when started as root.
monkey/yocto: 941ce3a55496d42164164877735db6c8def63265
Signed-off-by: Eduardo Silva <eduardo@monkey.io>
---
.../recipes-httpd/monkey/files/monkey.init | 34 ++++++++++++++++++++++
.../recipes-httpd/monkey/files/monkey.service | 12 ++++++++
.../monkey/{monkey_1.5.0.bb => monkey_1.5.1.bb} | 25 ++++++++++++----
3 files changed, 65 insertions(+), 6 deletions(-)
create mode 100644 meta-webserver/recipes-httpd/monkey/files/monkey.init
create mode 100644 meta-webserver/recipes-httpd/monkey/files/monkey.service
rename meta-webserver/recipes-httpd/monkey/{monkey_1.5.0.bb => monkey_1.5.1.bb} (59%)
diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.init b/meta-webserver/recipes-httpd/monkey/files/monkey.init
new file mode 100644
index 0000000..40b2118
--- /dev/null
+++ b/meta-webserver/recipes-httpd/monkey/files/monkey.init
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/bin/monkey
+NAME=monkey
+DESC="Monkey HTTP Server"
+OPTS="--daemon"
+
+case "$1" in
+ start)
+ echo -n "Starting $DESC: "
+ start-stop-daemon --start -x "$DAEMON" -- $OPTS
+ echo "$NAME."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: "
+ start-stop-daemon --stop -x "$DAEMON"
+ echo "$NAME."
+ ;;
+ restart|force-reload)
+ echo -n "Restarting $DESC: "
+ start-stop-daemon --stop -x "$DAEMON"
+ sleep 1
+ start-stop-daemon --start -x "$DAEMON" -- $OPTS
+ echo "$NAME."
+ ;;
+ *)
+ N=/etc/init.d/$NAME
+ echo "Usage: $N {start|stop|restart|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.service b/meta-webserver/recipes-httpd/monkey/files/monkey.service
new file mode 100644
index 0000000..f9aa57f
--- /dev/null
+++ b/meta-webserver/recipes-httpd/monkey/files/monkey.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Monkey HTTP Server
+After=network.target remote-fs.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/monkey --daemon
+PIDFile=/var/run/monkey.pid.2001
+TimeoutSec=10
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
similarity index 59%
rename from meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
rename to meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
index 6fa1b77..7d0239e 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
@@ -7,22 +7,24 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
SECTION = "net"
-SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz"
-SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3"
-SRC_URI[sha256sum] = "f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7"
+SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
+ file://monkey.service \
+ file://monkey.init"
+
+SRC_URI[md5sum] = "2fe04135728f5c3a86c3a412059e0da3"
+SRC_URI[sha256sum] = "28dfc5e57bbcd305727e7af6a1a0587868db1c1286498757bfeb72edddf457e7"
EXTRA_OECONF = " \
--plugdir=${libdir}/monkey/ \
--logdir=${localstatedir}/log/monkey/ \
--pidfile=${localstatedir}/run/monkey.pid \
--default-user=www-data \
- --datadir= ${localstatedir}/www/monkey/ \
+ --datadir=${localstatedir}/www/monkey/ \
--sysconfdir=${sysconfdir}/monkey/ \
--enable-plugins=* \
--disable-plugins=polarssl \
--debug \
- --malloc-libc \
-"
+ --malloc-libc"
inherit autotools-brokensep pkgconfig update-rc.d systemd
@@ -34,3 +36,14 @@ SYSTEMD_SERVICE_${PN} = "monkey.service"
FILES_${PN} += "${localstatedir}/www/monkey/"
CONFFILES_${PN} = "${sysconfdir}/monkey/"
+
+do_install_append() {
+
+ mkdir -p ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/monkey.init ${D}${sysconfdir}/init.d/monkey
+
+ if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+ install -d ${D}${systemd_unitdir}/system
+ install -m 644 ${WORKDIR}/monkey.service ${D}/${systemd_unitdir}/system
+ fi
+}
--
1.9.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-07-12 6:37 [meta-webserver][PATCHv4] monkey: new v1.5.1 release Eduardo Silva
@ 2014-07-17 17:06 ` Eduardo Silva
2014-07-18 18:15 ` Martin Jansa
1 sibling, 0 replies; 13+ messages in thread
From: Eduardo Silva @ 2014-07-17 17:06 UTC (permalink / raw)
To: openembedded-devel
additional notes on this patch:
- tested with Sato image with systemd
- tested with Sato image with common init.d sript.
On Sat, Jul 12, 2014 at 12:37 AM, Eduardo Silva <eduardo@monkey.io> wrote:
> This patch add the minor release fix of Monkey HTTP Server v1.5.1. It fixes
> some problems when switching user when started as root.
>
> monkey/yocto: 941ce3a55496d42164164877735db6c8def63265
>
> Signed-off-by: Eduardo Silva <eduardo@monkey.io>
> ---
> .../recipes-httpd/monkey/files/monkey.init | 34
> ++++++++++++++++++++++
> .../recipes-httpd/monkey/files/monkey.service | 12 ++++++++
> .../monkey/{monkey_1.5.0.bb => monkey_1.5.1.bb} | 25 ++++++++++++----
> 3 files changed, 65 insertions(+), 6 deletions(-)
> create mode 100644 meta-webserver/recipes-httpd/monkey/files/monkey.init
> create mode 100644
> meta-webserver/recipes-httpd/monkey/files/monkey.service
> rename meta-webserver/recipes-httpd/monkey/{monkey_1.5.0.bb =>
> monkey_1.5.1.bb} (59%)
>
> diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.init
> b/meta-webserver/recipes-httpd/monkey/files/monkey.init
> new file mode 100644
> index 0000000..40b2118
> --- /dev/null
> +++ b/meta-webserver/recipes-httpd/monkey/files/monkey.init
> @@ -0,0 +1,34 @@
> +#!/bin/sh
> +
> +PATH=/sbin:/bin:/usr/sbin:/usr/bin
> +DAEMON=/usr/bin/monkey
> +NAME=monkey
> +DESC="Monkey HTTP Server"
> +OPTS="--daemon"
> +
> +case "$1" in
> + start)
> + echo -n "Starting $DESC: "
> + start-stop-daemon --start -x "$DAEMON" -- $OPTS
> + echo "$NAME."
> + ;;
> + stop)
> + echo -n "Stopping $DESC: "
> + start-stop-daemon --stop -x "$DAEMON"
> + echo "$NAME."
> + ;;
> + restart|force-reload)
> + echo -n "Restarting $DESC: "
> + start-stop-daemon --stop -x "$DAEMON"
> + sleep 1
> + start-stop-daemon --start -x "$DAEMON" -- $OPTS
> + echo "$NAME."
> + ;;
> + *)
> + N=/etc/init.d/$NAME
> + echo "Usage: $N {start|stop|restart|force-reload}" >&2
> + exit 1
> + ;;
> +esac
> +
> +exit 0
> diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.service
> b/meta-webserver/recipes-httpd/monkey/files/monkey.service
> new file mode 100644
> index 0000000..f9aa57f
> --- /dev/null
> +++ b/meta-webserver/recipes-httpd/monkey/files/monkey.service
> @@ -0,0 +1,12 @@
> +[Unit]
> +Description=Monkey HTTP Server
> +After=network.target remote-fs.target
> +
> +[Service]
> +Type=forking
> +ExecStart=/usr/bin/monkey --daemon
> +PIDFile=/var/run/monkey.pid.2001
> +TimeoutSec=10
> +
> +[Install]
> +WantedBy=multi-user.target
> diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
> b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
> similarity index 59%
> rename from meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
> rename to meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
> index 6fa1b77..7d0239e 100644
> --- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
> +++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
> @@ -7,22 +7,24 @@ LIC_FILES_CHKSUM =
> "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
>
> SECTION = "net"
>
> -SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz"
> -SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3"
> -SRC_URI[sha256sum] =
> "f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7"
> +SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
> + file://monkey.service \
> + file://monkey.init"
> +
> +SRC_URI[md5sum] = "2fe04135728f5c3a86c3a412059e0da3"
> +SRC_URI[sha256sum] =
> "28dfc5e57bbcd305727e7af6a1a0587868db1c1286498757bfeb72edddf457e7"
>
> EXTRA_OECONF = " \
> --plugdir=${libdir}/monkey/ \
> --logdir=${localstatedir}/log/monkey/ \
> --pidfile=${localstatedir}/run/monkey.pid \
> --default-user=www-data \
> - --datadir= ${localstatedir}/www/monkey/ \
> + --datadir=${localstatedir}/www/monkey/ \
> --sysconfdir=${sysconfdir}/monkey/ \
> --enable-plugins=* \
> --disable-plugins=polarssl \
> --debug \
> - --malloc-libc \
> -"
> + --malloc-libc"
>
> inherit autotools-brokensep pkgconfig update-rc.d systemd
>
> @@ -34,3 +36,14 @@ SYSTEMD_SERVICE_${PN} = "monkey.service"
> FILES_${PN} += "${localstatedir}/www/monkey/"
>
> CONFFILES_${PN} = "${sysconfdir}/monkey/"
> +
> +do_install_append() {
> +
> + mkdir -p ${D}${sysconfdir}/init.d
> + install -m 0755 ${WORKDIR}/monkey.init ${D}${sysconfdir}/init.d/monkey
> +
> + if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)};
> then
> + install -d ${D}${systemd_unitdir}/system
> + install -m 644 ${WORKDIR}/monkey.service
> ${D}/${systemd_unitdir}/system
> + fi
> +}
> --
> 1.9.1
>
>
--
Eduardo Silva
Monkey Software
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-07-12 6:37 [meta-webserver][PATCHv4] monkey: new v1.5.1 release Eduardo Silva
2014-07-17 17:06 ` Eduardo Silva
@ 2014-07-18 18:15 ` Martin Jansa
2014-07-18 18:19 ` Eduardo Silva
1 sibling, 1 reply; 13+ messages in thread
From: Martin Jansa @ 2014-07-18 18:15 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 5391 bytes --]
On Sat, Jul 12, 2014 at 12:37:57AM -0600, Eduardo Silva wrote:
> This patch add the minor release fix of Monkey HTTP Server v1.5.1. It fixes
> some problems when switching user when started as root.
>
> monkey/yocto: 941ce3a55496d42164164877735db6c8def63265
>
> Signed-off-by: Eduardo Silva <eduardo@monkey.io>
> ---
> .../recipes-httpd/monkey/files/monkey.init | 34 ++++++++++++++++++++++
> .../recipes-httpd/monkey/files/monkey.service | 12 ++++++++
> .../monkey/{monkey_1.5.0.bb => monkey_1.5.1.bb} | 25 ++++++++++++----
> 3 files changed, 65 insertions(+), 6 deletions(-)
> create mode 100644 meta-webserver/recipes-httpd/monkey/files/monkey.init
> create mode 100644 meta-webserver/recipes-httpd/monkey/files/monkey.service
> rename meta-webserver/recipes-httpd/monkey/{monkey_1.5.0.bb => monkey_1.5.1.bb} (59%)
>
> diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.init b/meta-webserver/recipes-httpd/monkey/files/monkey.init
> new file mode 100644
> index 0000000..40b2118
> --- /dev/null
> +++ b/meta-webserver/recipes-httpd/monkey/files/monkey.init
> @@ -0,0 +1,34 @@
> +#!/bin/sh
> +
> +PATH=/sbin:/bin:/usr/sbin:/usr/bin
> +DAEMON=/usr/bin/monkey
> +NAME=monkey
> +DESC="Monkey HTTP Server"
> +OPTS="--daemon"
> +
> +case "$1" in
> + start)
> + echo -n "Starting $DESC: "
> + start-stop-daemon --start -x "$DAEMON" -- $OPTS
> + echo "$NAME."
> + ;;
> + stop)
> + echo -n "Stopping $DESC: "
> + start-stop-daemon --stop -x "$DAEMON"
> + echo "$NAME."
> + ;;
> + restart|force-reload)
> + echo -n "Restarting $DESC: "
> + start-stop-daemon --stop -x "$DAEMON"
> + sleep 1
> + start-stop-daemon --start -x "$DAEMON" -- $OPTS
> + echo "$NAME."
> + ;;
> + *)
> + N=/etc/init.d/$NAME
> + echo "Usage: $N {start|stop|restart|force-reload}" >&2
> + exit 1
> + ;;
> +esac
> +
> +exit 0
> diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.service b/meta-webserver/recipes-httpd/monkey/files/monkey.service
> new file mode 100644
> index 0000000..f9aa57f
> --- /dev/null
> +++ b/meta-webserver/recipes-httpd/monkey/files/monkey.service
> @@ -0,0 +1,12 @@
> +[Unit]
> +Description=Monkey HTTP Server
> +After=network.target remote-fs.target
> +
> +[Service]
> +Type=forking
> +ExecStart=/usr/bin/monkey --daemon
> +PIDFile=/var/run/monkey.pid.2001
> +TimeoutSec=10
> +
> +[Install]
> +WantedBy=multi-user.target
> diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
> similarity index 59%
> rename from meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
> rename to meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
> index 6fa1b77..7d0239e 100644
> --- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
> +++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
> @@ -7,22 +7,24 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
>
> SECTION = "net"
>
> -SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz"
> -SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3"
> -SRC_URI[sha256sum] = "f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7"
> +SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
> + file://monkey.service \
> + file://monkey.init"
> +
> +SRC_URI[md5sum] = "2fe04135728f5c3a86c3a412059e0da3"
> +SRC_URI[sha256sum] = "28dfc5e57bbcd305727e7af6a1a0587868db1c1286498757bfeb72edddf457e7"
>
> EXTRA_OECONF = " \
> --plugdir=${libdir}/monkey/ \
> --logdir=${localstatedir}/log/monkey/ \
> --pidfile=${localstatedir}/run/monkey.pid \
> --default-user=www-data \
> - --datadir= ${localstatedir}/www/monkey/ \
> + --datadir=${localstatedir}/www/monkey/ \
> --sysconfdir=${sysconfdir}/monkey/ \
> --enable-plugins=* \
> --disable-plugins=polarssl \
> --debug \
> - --malloc-libc \
> -"
> + --malloc-libc"
>
> inherit autotools-brokensep pkgconfig update-rc.d systemd
>
> @@ -34,3 +36,14 @@ SYSTEMD_SERVICE_${PN} = "monkey.service"
> FILES_${PN} += "${localstatedir}/www/monkey/"
>
> CONFFILES_${PN} = "${sysconfdir}/monkey/"
> +
> +do_install_append() {
> +
> + mkdir -p ${D}${sysconfdir}/init.d
> + install -m 0755 ${WORKDIR}/monkey.init ${D}${sysconfdir}/init.d/monkey
> +
> + if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
> + install -d ${D}${systemd_unitdir}/system
> + install -m 644 ${WORKDIR}/monkey.service ${D}/${systemd_unitdir}/system
> + fi
> +}
Now it failed with:
| NOTE: Not creating empty archive for monkey-locale-1.5.1-r0.2
| *** Error: CONTROL/conffiles mentions conffile /etc/monkey/ which does not exist
|
| opkg-build: Please fix the above errors and try again.
I guess it's because sysvinit script was removed by update-rc.d.bbclass and
then nothing was left in /etc/monkey
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-07-18 18:15 ` Martin Jansa
@ 2014-07-18 18:19 ` Eduardo Silva
2014-07-18 18:27 ` Martin Jansa
0 siblings, 1 reply; 13+ messages in thread
From: Eduardo Silva @ 2014-07-18 18:19 UTC (permalink / raw)
To: openembedded-devel
>
> Now it failed with:
>
> | NOTE: Not creating empty archive for monkey-locale-1.5.1-r0.2
> | *** Error: CONTROL/conffiles mentions conffile /etc/monkey/ which does
> not exist
> |
> | opkg-build: Please fix the above errors and try again.
>
> I guess it's because sysvinit script was removed by update-rc.d.bbclass and
> then nothing was left in /etc/monkey
>
>
thanks for the report. Which specific build options did you use (and image)
?, i would like to be able to reproduce that problem locally, not sure why
my tests passed.
best
--
Eduardo Silva
Monkey Software
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-07-18 18:19 ` Eduardo Silva
@ 2014-07-18 18:27 ` Martin Jansa
2014-07-20 21:15 ` Eduardo Silva
0 siblings, 1 reply; 13+ messages in thread
From: Martin Jansa @ 2014-07-18 18:27 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]
On Fri, Jul 18, 2014 at 12:19:29PM -0600, Eduardo Silva wrote:
> >
> > Now it failed with:
> >
> > | NOTE: Not creating empty archive for monkey-locale-1.5.1-r0.2
> > | *** Error: CONTROL/conffiles mentions conffile /etc/monkey/ which does
> > not exist
> > |
> > | opkg-build: Please fix the above errors and try again.
> >
> > I guess it's because sysvinit script was removed by update-rc.d.bbclass and
> > then nothing was left in /etc/monkey
> >
> >
> thanks for the report. Which specific build options did you use (and image)
> ?, i would like to be able to reproduce that problem locally, not sure why
> my tests passed.
world builds as described on
http://www.openembedded.org/wiki/Bitbake_World_Status
probably the most important difference is:
# use systemd
DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-07-18 18:27 ` Martin Jansa
@ 2014-07-20 21:15 ` Eduardo Silva
2014-07-20 21:47 ` Martin Jansa
0 siblings, 1 reply; 13+ messages in thread
From: Eduardo Silva @ 2014-07-20 21:15 UTC (permalink / raw)
To: openembedded-devel
Hi Martin,
I was trying to reproduce the problem that you faced but here it worked
fine. My local.conf looks like this:
--
BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
MACHINE ??= "qemux86"
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
PACKAGECONFIG_pn-qemu-native = "sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
INHERIT += ""
IMAGE_INSTALL_append = " monkey dropbear"
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
--
a fresh build of 'bitbake -k core-image-sato' worked with the following .bb:
b40e6ecaed2b10ba9c9aba4f128b029a monkey_1.5.1.bb
before the test i make sure to clean the monkey stuff with 'bitbake -c
cleanall monkey'. Do you see any difference between your system and mine
?, i am very interested into reproduce the problem you detected.
best
On Fri, Jul 18, 2014 at 12:27 PM, Martin Jansa <martin.jansa@gmail.com>
wrote:
> On Fri, Jul 18, 2014 at 12:19:29PM -0600, Eduardo Silva wrote:
> > >
> > > Now it failed with:
> > >
> > > | NOTE: Not creating empty archive for monkey-locale-1.5.1-r0.2
> > > | *** Error: CONTROL/conffiles mentions conffile /etc/monkey/ which
> does
> > > not exist
> > > |
> > > | opkg-build: Please fix the above errors and try again.
> > >
> > > I guess it's because sysvinit script was removed by
> update-rc.d.bbclass and
> > > then nothing was left in /etc/monkey
> > >
> > >
> > thanks for the report. Which specific build options did you use (and
> image)
> > ?, i would like to be able to reproduce that problem locally, not sure
> why
> > my tests passed.
>
> world builds as described on
> http://www.openembedded.org/wiki/Bitbake_World_Status
>
> probably the most important difference is:
> # use systemd
> DISTRO_FEATURES_append = " systemd"
> DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
> VIRTUAL-RUNTIME_init_manager = "systemd"
> VIRTUAL-RUNTIME_initscripts = ""
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
--
Eduardo Silva
Monkey Software
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-07-20 21:15 ` Eduardo Silva
@ 2014-07-20 21:47 ` Martin Jansa
2014-07-25 10:05 ` Martin Jansa
0 siblings, 1 reply; 13+ messages in thread
From: Martin Jansa @ 2014-07-20 21:47 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3580 bytes --]
On Sun, Jul 20, 2014 at 03:15:00PM -0600, Eduardo Silva wrote:
> Hi Martin,
>
> I was trying to reproduce the problem that you faced but here it worked
> fine. My local.conf looks like this:
>
> --
> BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
> PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
> MACHINE ??= "qemux86"
> DISTRO ?= "poky"
> PACKAGE_CLASSES ?= "package_rpm"
> EXTRA_IMAGE_FEATURES = "debug-tweaks"
> USER_CLASSES ?= "buildstats image-mklibs image-prelink"
> PATCHRESOLVE = "noop"
> BB_DISKMON_DIRS = "\
> STOPTASKS,${TMPDIR},1G,100K \
> STOPTASKS,${DL_DIR},1G,100K \
> STOPTASKS,${SSTATE_DIR},1G,100K \
> ABORT,${TMPDIR},100M,1K \
> ABORT,${DL_DIR},100M,1K \
> ABORT,${SSTATE_DIR},100M,1K"
> PACKAGECONFIG_pn-qemu-native = "sdl"
> ASSUME_PROVIDED += "libsdl-native"
> CONF_VERSION = "1"
>
> INHERIT += ""
>
> IMAGE_INSTALL_append = " monkey dropbear"
> DISTRO_FEATURES_append = " systemd"
> VIRTUAL-RUNTIME_init_manager = "systemd"
> DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
> VIRTUAL-RUNTIME_initscripts = ""
> --
>
> a fresh build of 'bitbake -k core-image-sato' worked with the following .bb:
>
> b40e6ecaed2b10ba9c9aba4f128b029a monkey_1.5.1.bb
>
> before the test i make sure to clean the monkey stuff with 'bitbake -c
> cleanall monkey'. Do you see any difference between your system and mine
> ?, i am very interested into reproduce the problem you detected.
Please see rm_sysvinit_initddir function in systemd.bbclass
My builds are using "distroless" setup, if you're using poky then it's
possible that there is still sysvinit added in your DISTRO_FEATURES
somewhere (check bitbake -e monkay) so the sysv init script isn't
removed in the end for you.
Thanks
> On Fri, Jul 18, 2014 at 12:27 PM, Martin Jansa <martin.jansa@gmail.com>
> wrote:
>
> > On Fri, Jul 18, 2014 at 12:19:29PM -0600, Eduardo Silva wrote:
> > > >
> > > > Now it failed with:
> > > >
> > > > | NOTE: Not creating empty archive for monkey-locale-1.5.1-r0.2
> > > > | *** Error: CONTROL/conffiles mentions conffile /etc/monkey/ which
> > does
> > > > not exist
> > > > |
> > > > | opkg-build: Please fix the above errors and try again.
> > > >
> > > > I guess it's because sysvinit script was removed by
> > update-rc.d.bbclass and
> > > > then nothing was left in /etc/monkey
> > > >
> > > >
> > > thanks for the report. Which specific build options did you use (and
> > image)
> > > ?, i would like to be able to reproduce that problem locally, not sure
> > why
> > > my tests passed.
> >
> > world builds as described on
> > http://www.openembedded.org/wiki/Bitbake_World_Status
> >
> > probably the most important difference is:
> > # use systemd
> > DISTRO_FEATURES_append = " systemd"
> > DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
> > VIRTUAL-RUNTIME_init_manager = "systemd"
> > VIRTUAL-RUNTIME_initscripts = ""
> >
> > --
> > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> >
>
>
> --
> Eduardo Silva
> Monkey Software
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-07-20 21:47 ` Martin Jansa
@ 2014-07-25 10:05 ` Martin Jansa
2014-07-26 15:03 ` Eduardo Silva
0 siblings, 1 reply; 13+ messages in thread
From: Martin Jansa @ 2014-07-25 10:05 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 4315 bytes --]
On Sun, Jul 20, 2014 at 11:47:25PM +0200, Martin Jansa wrote:
> On Sun, Jul 20, 2014 at 03:15:00PM -0600, Eduardo Silva wrote:
> > Hi Martin,
> >
> > I was trying to reproduce the problem that you faced but here it worked
> > fine. My local.conf looks like this:
> >
> > --
> > BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
> > PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
> > MACHINE ??= "qemux86"
> > DISTRO ?= "poky"
> > PACKAGE_CLASSES ?= "package_rpm"
> > EXTRA_IMAGE_FEATURES = "debug-tweaks"
> > USER_CLASSES ?= "buildstats image-mklibs image-prelink"
> > PATCHRESOLVE = "noop"
> > BB_DISKMON_DIRS = "\
> > STOPTASKS,${TMPDIR},1G,100K \
> > STOPTASKS,${DL_DIR},1G,100K \
> > STOPTASKS,${SSTATE_DIR},1G,100K \
> > ABORT,${TMPDIR},100M,1K \
> > ABORT,${DL_DIR},100M,1K \
> > ABORT,${SSTATE_DIR},100M,1K"
> > PACKAGECONFIG_pn-qemu-native = "sdl"
> > ASSUME_PROVIDED += "libsdl-native"
> > CONF_VERSION = "1"
> >
> > INHERIT += ""
> >
> > IMAGE_INSTALL_append = " monkey dropbear"
> > DISTRO_FEATURES_append = " systemd"
> > VIRTUAL-RUNTIME_init_manager = "systemd"
> > DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
> > VIRTUAL-RUNTIME_initscripts = ""
> > --
> >
> > a fresh build of 'bitbake -k core-image-sato' worked with the following .bb:
> >
> > b40e6ecaed2b10ba9c9aba4f128b029a monkey_1.5.1.bb
> >
> > before the test i make sure to clean the monkey stuff with 'bitbake -c
> > cleanall monkey'. Do you see any difference between your system and mine
> > ?, i am very interested into reproduce the problem you detected.
>
> Please see rm_sysvinit_initddir function in systemd.bbclass
>
> My builds are using "distroless" setup, if you're using poky then it's
> possible that there is still sysvinit added in your DISTRO_FEATURES
> somewhere (check bitbake -e monkay) so the sysv init script isn't
> removed in the end for you.
I've just noticed that CONFFILES is set to
${sysconfdir}/monkey/
so it's not caused by missing init.d script but whole
${sysconfdir}/monkey/ is empty in PN, can you check what's installed
there in your builds?
It's either not installed when some dependency is missing or it's
included in different package in my build (knowing which file to look
for would help).
Thanks
> Thanks
>
> > On Fri, Jul 18, 2014 at 12:27 PM, Martin Jansa <martin.jansa@gmail.com>
> > wrote:
> >
> > > On Fri, Jul 18, 2014 at 12:19:29PM -0600, Eduardo Silva wrote:
> > > > >
> > > > > Now it failed with:
> > > > >
> > > > > | NOTE: Not creating empty archive for monkey-locale-1.5.1-r0.2
> > > > > | *** Error: CONTROL/conffiles mentions conffile /etc/monkey/ which
> > > does
> > > > > not exist
> > > > > |
> > > > > | opkg-build: Please fix the above errors and try again.
> > > > >
> > > > > I guess it's because sysvinit script was removed by
> > > update-rc.d.bbclass and
> > > > > then nothing was left in /etc/monkey
> > > > >
> > > > >
> > > > thanks for the report. Which specific build options did you use (and
> > > image)
> > > > ?, i would like to be able to reproduce that problem locally, not sure
> > > why
> > > > my tests passed.
> > >
> > > world builds as described on
> > > http://www.openembedded.org/wiki/Bitbake_World_Status
> > >
> > > probably the most important difference is:
> > > # use systemd
> > > DISTRO_FEATURES_append = " systemd"
> > > DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
> > > VIRTUAL-RUNTIME_init_manager = "systemd"
> > > VIRTUAL-RUNTIME_initscripts = ""
> > >
> > > --
> > > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> > >
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > >
> > >
> >
> >
> > --
> > Eduardo Silva
> > Monkey Software
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-07-25 10:05 ` Martin Jansa
@ 2014-07-26 15:03 ` Eduardo Silva
2014-07-30 20:12 ` Directories in CONFFILES Was: " Martin Jansa
2014-08-04 19:57 ` Eduardo Silva
0 siblings, 2 replies; 13+ messages in thread
From: Eduardo Silva @ 2014-07-26 15:03 UTC (permalink / raw)
To: openembedded-devel
hi Martin,
> > My builds are using "distroless" setup, if you're using poky then it's
> > possible that there is still sysvinit added in your DISTRO_FEATURES
> > somewhere (check bitbake -e monkay) so the sysv init script isn't
> > removed in the end for you.
>
> I've just noticed that CONFFILES is set to
> ${sysconfdir}/monkey/
>
> so it's not caused by missing init.d script but whole
> ${sysconfdir}/monkey/ is empty in PN, can you check what's installed
> there in your builds?
>
> It's either not installed when some dependency is missing or it's
> included in different package in my build (knowing which file to look
> for would help).
>
>
thanks for tracking this. In my build using Poky i get installed the
following files:
root@qemux86:~# find /etc/monkey/
/etc/monkey/
/etc/monkey/sites
/etc/monkey/sites/default
/etc/monkey/plugins.load
/etc/monkey/monkey.conf
/etc/monkey/monkey.mime
/etc/monkey/plugins
/etc/monkey/plugins/fastcgi
/etc/monkey/plugins/fastcgi/fastcgi.conf
/etc/monkey/plugins/logger
/etc/monkey/plugins/logger/logger.conf
/etc/monkey/plugins/mandril
/etc/monkey/plugins/mandril/mandril.conf
/etc/monkey/plugins/dirlisting
/etc/monkey/plugins/dirlisting/dirhtml.conf
/etc/monkey/plugins/dirlisting/themes
/etc/monkey/plugins/dirlisting/themes/guineo
/etc/monkey/plugins/dirlisting/themes/guineo/entry.theme
/etc/monkey/plugins/dirlisting/themes/guineo/footer.theme
/etc/monkey/plugins/dirlisting/themes/guineo/header.theme
/etc/monkey/plugins/cgi
/etc/monkey/plugins/cgi/cgi.conf
/etc/monkey/plugins/auth
/etc/monkey/plugins/auth/monkey.users
/etc/monkey/plugins/auth/README
/etc/monkey/plugins/proxy_reverse
/etc/monkey/plugins/proxy_reverse/proxy_reverse.conf
/etc/monkey/plugins/cheetah
/etc/monkey/plugins/cheetah/cheetah.conf
if you need any extra info let me know,
best
^ permalink raw reply [flat|nested] 13+ messages in thread
* Directories in CONFFILES Was: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-07-26 15:03 ` Eduardo Silva
@ 2014-07-30 20:12 ` Martin Jansa
2014-08-04 19:57 ` Eduardo Silva
1 sibling, 0 replies; 13+ messages in thread
From: Martin Jansa @ 2014-07-30 20:12 UTC (permalink / raw)
To: openembedded-devel, Ross Burton
[-- Attachment #1: Type: text/plain, Size: 4592 bytes --]
On Sat, Jul 26, 2014 at 09:03:21AM -0600, Eduardo Silva wrote:
> hi Martin,
>
>
> > > My builds are using "distroless" setup, if you're using poky then it's
> > > possible that there is still sysvinit added in your DISTRO_FEATURES
> > > somewhere (check bitbake -e monkay) so the sysv init script isn't
> > > removed in the end for you.
> >
> > I've just noticed that CONFFILES is set to
> > ${sysconfdir}/monkey/
> >
> > so it's not caused by missing init.d script but whole
> > ${sysconfdir}/monkey/ is empty in PN, can you check what's installed
> > there in your builds?
> >
> > It's either not installed when some dependency is missing or it's
> > included in different package in my build (knowing which file to look
> > for would help).
> >
> >
> thanks for tracking this. In my build using Poky i get installed the
> following files:
I think I've finally found the root cause of this
The problem is that ${sysconfdir}/monkey/ is directory and ipk backend doesn't
support directories in conffiles.
This is snipped from opkg-utils/opkg-build:
if [ -f $CONTROL/conffiles ]; then
for cf in `cat $CONTROL/conffiles`; do
if [ ! -f ./$cf ]; then
echo "*** Error: $CONTROL/conffiles mentions conffile $cf which does not exist" >&2
PKG_ERROR=1
fi
done
fi
+ Ross because of following commit in oe-core
Ross, I assume you didn't use os.path.isfile, because
RPM supports directories in conffiles, but maybe you had
plans for opkg-utils?
Do you have patch somewhere to extend opkg-utils to allow
directories in CONFFILES? Fix for this opkg-build check seems
trivial, but I haven't check how opkg will handle this on target.
commit fb87edc881009cf4d582cd95c248884551fe07fe
Author: Ross Burton <ross.burton@intel.com>
Date: Tue Feb 5 21:12:50 2013 +0000
package_ipk: check CONFFILES exist before adding them to metadata
opkg-build verifies that conffiles exist, so verify that the specified files
actually exist before writing them to conffiles.
This mirrors the behaviour of FILES and package_rpm's CONFFILES handling.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index d735051..e5e76ef 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -440,7 +440,8 @@ python do_package_ipk () {
bb.utils.unlockfile(lf)
raise bb.build.FuncFailed("unable to open conffiles for writing.")
for f in conffiles_str.split():
- conffiles.write('%s\n' % f)
+ if os.path.exists(oe.path.join(root, f)):
+ conffiles.write('%s\n' % f)
conffiles.close()
os.chdir(basedir)
Eduardo, temporary work around is either list all CONFFILEs separately or drop
CONFFILES (like I did for world builds)
> root@qemux86:~# find /etc/monkey/
> /etc/monkey/
> /etc/monkey/sites
> /etc/monkey/sites/default
> /etc/monkey/plugins.load
> /etc/monkey/monkey.conf
> /etc/monkey/monkey.mime
> /etc/monkey/plugins
> /etc/monkey/plugins/fastcgi
> /etc/monkey/plugins/fastcgi/fastcgi.conf
> /etc/monkey/plugins/logger
> /etc/monkey/plugins/logger/logger.conf
> /etc/monkey/plugins/mandril
> /etc/monkey/plugins/mandril/mandril.conf
> /etc/monkey/plugins/dirlisting
> /etc/monkey/plugins/dirlisting/dirhtml.conf
> /etc/monkey/plugins/dirlisting/themes
> /etc/monkey/plugins/dirlisting/themes/guineo
> /etc/monkey/plugins/dirlisting/themes/guineo/entry.theme
> /etc/monkey/plugins/dirlisting/themes/guineo/footer.theme
> /etc/monkey/plugins/dirlisting/themes/guineo/header.theme
> /etc/monkey/plugins/cgi
> /etc/monkey/plugins/cgi/cgi.conf
> /etc/monkey/plugins/auth
> /etc/monkey/plugins/auth/monkey.users
> /etc/monkey/plugins/auth/README
> /etc/monkey/plugins/proxy_reverse
> /etc/monkey/plugins/proxy_reverse/proxy_reverse.conf
> /etc/monkey/plugins/cheetah
> /etc/monkey/plugins/cheetah/cheetah.conf
>
> if you need any extra info let me know,
>
> best
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-07-26 15:03 ` Eduardo Silva
2014-07-30 20:12 ` Directories in CONFFILES Was: " Martin Jansa
@ 2014-08-04 19:57 ` Eduardo Silva
2014-08-05 7:50 ` Martin Jansa
1 sibling, 1 reply; 13+ messages in thread
From: Eduardo Silva @ 2014-08-04 19:57 UTC (permalink / raw)
To: openembedded-devel
Hi Martin,
Is this something OE specific or something in your own environment ?
best
On Sat, Jul 26, 2014 at 9:03 AM, Eduardo Silva <eduardo@monkey.io> wrote:
> hi Martin,
>
>
>> > My builds are using "distroless" setup, if you're using poky then it's
>> > possible that there is still sysvinit added in your DISTRO_FEATURES
>> > somewhere (check bitbake -e monkay) so the sysv init script isn't
>> > removed in the end for you.
>>
>> I've just noticed that CONFFILES is set to
>> ${sysconfdir}/monkey/
>>
>> so it's not caused by missing init.d script but whole
>> ${sysconfdir}/monkey/ is empty in PN, can you check what's installed
>> there in your builds?
>>
>> It's either not installed when some dependency is missing or it's
>> included in different package in my build (knowing which file to look
>> for would help).
>>
>>
> thanks for tracking this. In my build using Poky i get installed the
> following files:
>
> root@qemux86:~# find /etc/monkey/
> /etc/monkey/
> /etc/monkey/sites
> /etc/monkey/sites/default
> /etc/monkey/plugins.load
> /etc/monkey/monkey.conf
> /etc/monkey/monkey.mime
> /etc/monkey/plugins
> /etc/monkey/plugins/fastcgi
> /etc/monkey/plugins/fastcgi/fastcgi.conf
> /etc/monkey/plugins/logger
> /etc/monkey/plugins/logger/logger.conf
> /etc/monkey/plugins/mandril
> /etc/monkey/plugins/mandril/mandril.conf
> /etc/monkey/plugins/dirlisting
> /etc/monkey/plugins/dirlisting/dirhtml.conf
> /etc/monkey/plugins/dirlisting/themes
> /etc/monkey/plugins/dirlisting/themes/guineo
> /etc/monkey/plugins/dirlisting/themes/guineo/entry.theme
> /etc/monkey/plugins/dirlisting/themes/guineo/footer.theme
> /etc/monkey/plugins/dirlisting/themes/guineo/header.theme
> /etc/monkey/plugins/cgi
> /etc/monkey/plugins/cgi/cgi.conf
> /etc/monkey/plugins/auth
> /etc/monkey/plugins/auth/monkey.users
> /etc/monkey/plugins/auth/README
> /etc/monkey/plugins/proxy_reverse
> /etc/monkey/plugins/proxy_reverse/proxy_reverse.conf
> /etc/monkey/plugins/cheetah
> /etc/monkey/plugins/cheetah/cheetah.conf
>
> if you need any extra info let me know,
>
> best
>
>
--
Eduardo Silva
Monkey Software
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-08-04 19:57 ` Eduardo Silva
@ 2014-08-05 7:50 ` Martin Jansa
2014-08-07 4:51 ` Eduardo Silva
0 siblings, 1 reply; 13+ messages in thread
From: Martin Jansa @ 2014-08-05 7:50 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2834 bytes --]
On Mon, Aug 04, 2014 at 01:57:21PM -0600, Eduardo Silva wrote:
> Hi Martin,
Hi,
> Is this something OE specific or something in your own environment ?
It's IPK specific, see my last reply in this thread with explanation:
"Directories in CONFFILES Was: [oe] [meta-webserver][PATCHv4] monkey:
new v1.5.1 release."
> best
>
>
> On Sat, Jul 26, 2014 at 9:03 AM, Eduardo Silva <eduardo@monkey.io> wrote:
>
> > hi Martin,
> >
> >
> >> > My builds are using "distroless" setup, if you're using poky then it's
> >> > possible that there is still sysvinit added in your DISTRO_FEATURES
> >> > somewhere (check bitbake -e monkay) so the sysv init script isn't
> >> > removed in the end for you.
> >>
> >> I've just noticed that CONFFILES is set to
> >> ${sysconfdir}/monkey/
> >>
> >> so it's not caused by missing init.d script but whole
> >> ${sysconfdir}/monkey/ is empty in PN, can you check what's installed
> >> there in your builds?
> >>
> >> It's either not installed when some dependency is missing or it's
> >> included in different package in my build (knowing which file to look
> >> for would help).
> >>
> >>
> > thanks for tracking this. In my build using Poky i get installed the
> > following files:
> >
> > root@qemux86:~# find /etc/monkey/
> > /etc/monkey/
> > /etc/monkey/sites
> > /etc/monkey/sites/default
> > /etc/monkey/plugins.load
> > /etc/monkey/monkey.conf
> > /etc/monkey/monkey.mime
> > /etc/monkey/plugins
> > /etc/monkey/plugins/fastcgi
> > /etc/monkey/plugins/fastcgi/fastcgi.conf
> > /etc/monkey/plugins/logger
> > /etc/monkey/plugins/logger/logger.conf
> > /etc/monkey/plugins/mandril
> > /etc/monkey/plugins/mandril/mandril.conf
> > /etc/monkey/plugins/dirlisting
> > /etc/monkey/plugins/dirlisting/dirhtml.conf
> > /etc/monkey/plugins/dirlisting/themes
> > /etc/monkey/plugins/dirlisting/themes/guineo
> > /etc/monkey/plugins/dirlisting/themes/guineo/entry.theme
> > /etc/monkey/plugins/dirlisting/themes/guineo/footer.theme
> > /etc/monkey/plugins/dirlisting/themes/guineo/header.theme
> > /etc/monkey/plugins/cgi
> > /etc/monkey/plugins/cgi/cgi.conf
> > /etc/monkey/plugins/auth
> > /etc/monkey/plugins/auth/monkey.users
> > /etc/monkey/plugins/auth/README
> > /etc/monkey/plugins/proxy_reverse
> > /etc/monkey/plugins/proxy_reverse/proxy_reverse.conf
> > /etc/monkey/plugins/cheetah
> > /etc/monkey/plugins/cheetah/cheetah.conf
> >
> > if you need any extra info let me know,
> >
> > best
> >
> >
>
>
>
> --
> Eduardo Silva
> Monkey Software
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
2014-08-05 7:50 ` Martin Jansa
@ 2014-08-07 4:51 ` Eduardo Silva
0 siblings, 0 replies; 13+ messages in thread
From: Eduardo Silva @ 2014-08-07 4:51 UTC (permalink / raw)
To: openembedded-devel
>
> hing OE specific or something in your own environment ?
>
> It's IPK specific, see my last reply in this thread with explanation:
> "Directories in CONFFILES Was: [oe] [meta-webserver][PATCHv4] monkey:
> new v1.5.1 release."
>
>
thanks.
All changes will come in the bb file for v1.5.2 release.
--
Eduardo Silva
Monkey Software
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-08-07 4:51 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-12 6:37 [meta-webserver][PATCHv4] monkey: new v1.5.1 release Eduardo Silva
2014-07-17 17:06 ` Eduardo Silva
2014-07-18 18:15 ` Martin Jansa
2014-07-18 18:19 ` Eduardo Silva
2014-07-18 18:27 ` Martin Jansa
2014-07-20 21:15 ` Eduardo Silva
2014-07-20 21:47 ` Martin Jansa
2014-07-25 10:05 ` Martin Jansa
2014-07-26 15:03 ` Eduardo Silva
2014-07-30 20:12 ` Directories in CONFFILES Was: " Martin Jansa
2014-08-04 19:57 ` Eduardo Silva
2014-08-05 7:50 ` Martin Jansa
2014-08-07 4:51 ` Eduardo Silva
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.