Re: [yocto] Removing syslogd form busybox

2018-07-30 Thread Andre McCurdy
On Mon, Jul 30, 2018 at 10:53 AM, Simon Chamlian  wrote:
> So what you are saying is I need to update busybox to be able to remove
> syslog from it?

Depends on what you mean by "update". Backporting a patch is generally
considered updating, but I guess you could argue either way.

What I'm saying is that upstream oe-core contains a change to the
busybox recipe which makes it easier to disable busybox syslog. It's
up to you whether you try to backport that change or whether you come
up with your own solution. Both ways can be made to work.

> Also I noticed 2 syslogd:
> /sbin/syslogd
> /usr/lib/opkg/alternatives/syslogd
>
> /sbin/syslogd is a link to busybox.
>
> What is /usr/lib/opkg/alternatives/syslogd   ?
>
>
>
> On Fri, Jul 27, 2018 at 4:47 PM, Andre McCurdy  wrote:
>>
>> On Fri, Jul 27, 2018 at 1:07 PM, Simon Chamlian 
>> wrote:
>> > Hi,
>> >
>> > When I removing syslogd from busybox, I can compile with no error
>> >
>> > $ bitbake -c compile busybox
>> > Loading cache: 100% || Time: 0:00:01
>> > Loaded 3082 entries from dependency cache.
>> > WARNING: No bb files matched BBFILE_PATTERN_phytec
>> > '^/opt/PHYTEC_BSPs/yocto_imx7/sources/meta-phytec/common/'
>> > NOTE: Resolving any missing task queue dependencies
>> >
>> > Build Configuration:
>> > BB_VERSION= "1.32.0"
>> > BUILD_SYS = "x86_64-linux"
>> > NATIVELSBSTRING   = "Ubuntu-16.04"
>> > TARGET_SYS= "arm-poky-linux-gnueabi"
>> > MACHINE   = "imx7d-phyboard-zeta-001"
>> > DISTRO= "fsl-imx-x11"
>> > DISTRO_VERSION= "4.9.11-1.0.0"
>> > TUNE_FEATURES = "arm armv7ve vfp  neoncallconvention-hard
>> > cortexa7"
>> > TARGET_FPU= "hard"
>> > meta
>> > meta-poky = "HEAD:78890ea22750804e3e9113e76f7ca3d7234c8342"
>> > meta-oe
>> > meta-multimedia
>> > meta-webserver= "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
>> > meta-freescale= "HEAD:a398b50b7fc084a9e68cc3000c218d5028522a25"
>> > meta-freescale-3rdparty =
>> > "HEAD:68314612e236cab1da82d72a0da62635a3523f84"
>> > meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
>> > meta-bsp
>> > meta-sdk  = "HEAD:daba3340ecd8b358e0c6c415baeee0fcae95c525"
>> > meta-browser  = "HEAD:10f6e3778d823ee1be106c126216c6f941088fbf"
>> > meta-gnome
>> > meta-networking
>> > meta-python
>> > meta-filesystems  = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
>> > meta-qt5  = "HEAD:ff073f04109900fc07bf81e2f1df63c626caf342"
>> > meta-phytec
>> > meta-phytec-fsl   = "HEAD:f9897a4e06f43184a71d315cec4a412a28baa59b"
>> >
>> > WARNING:
>> >
>> > /opt/PHYTEC_BSPs/yocto_imx7/sources/poky/meta/recipes-core/busybox/busybox_1.24.1.bb.do_compile
>> > is tainted from a forced run
>> > | ETA:  0:00:01
>> > Initialising tasks: 100%
>> >
>> > |###|
>> > Time: 0:00:01
>> > NOTE: Executing SetScene Tasks
>> > NOTE: Executing RunQueue Tasks
>> > NOTE: Tasks Summary: Attempted 234 tasks of which 232 didn't need to be
>> > rerun and all succeeded.
>> >
>> > Summary: There were 2 WARNING messages shown.
>> >
>> >
>> > When I build my image for my machine, I am getting the following error:
>> >
>> >
>> > WARNING: busybox-1.24.1-r0 do_package: busybox: alternative target
>> > (/etc/syslog.conf or /etc/syslog.conf.busybox) does not exist,
>> > skipping...
>> > WARNING: busybox-1.24.1-r0 do_package: busybox: NOT adding alternative
>> > provide /etc/syslog.conf: /etc/syslog.conf.busybox does not exist
>> > ERROR: busybox-1.24.1-r0 do_package: SYSTEMD_SERVICE_busybox-syslog
>> > value
>> > busybox-syslog.service does not exist
>> > ERROR: busybox-1.24.1-r0 do_package: Function failed:
>> > systemd_populate_packages
>> > ERROR: Logfile of failure stored in:
>> >
>> > /opt/PHYTEC_BSPs/yocto_imx7/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/busybox/1.24.1-r0/temp/log.do_package.30442
>> > ERROR: Task
>> >
>> > (/opt/PHYTEC_BSPs/yocto_imx7/sources/poky/meta/recipes-core/busybox/busybox_1.24.1.bb:do_package)
>> > failed with exit code '1'
>> >
>> > Any hints?
>>
>> It looks like you're using morty, which pre-dates busybox syslog
>> "officially" being made optional:
>>
>>
>> http://git.openembedded.org/openembedded-core/commit/?id=9732a2ba2edf2607e61ae4fe0d65a02b7918cfe7
>>
>> If you can't update to a newer release you could try backporting the
>> above commit.
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Removing syslogd form busybox

2018-07-30 Thread Simon Chamlian
So what you are saying is I need to update busybox to be able to remove
syslog from it?

Also I noticed 2 syslogd:
/sbin/syslogd
/usr/lib/opkg/alternatives/syslogd

/sbin/syslogd is a link to busybox.

What is /usr/lib/opkg/alternatives/syslogd   ?



On Fri, Jul 27, 2018 at 4:47 PM, Andre McCurdy  wrote:

> On Fri, Jul 27, 2018 at 1:07 PM, Simon Chamlian 
> wrote:
> > Hi,
> >
> > When I removing syslogd from busybox, I can compile with no error
> >
> > $ bitbake -c compile busybox
> > Loading cache: 100% || Time: 0:00:01
> > Loaded 3082 entries from dependency cache.
> > WARNING: No bb files matched BBFILE_PATTERN_phytec
> > '^/opt/PHYTEC_BSPs/yocto_imx7/sources/meta-phytec/common/'
> > NOTE: Resolving any missing task queue dependencies
> >
> > Build Configuration:
> > BB_VERSION= "1.32.0"
> > BUILD_SYS = "x86_64-linux"
> > NATIVELSBSTRING   = "Ubuntu-16.04"
> > TARGET_SYS= "arm-poky-linux-gnueabi"
> > MACHINE   = "imx7d-phyboard-zeta-001"
> > DISTRO= "fsl-imx-x11"
> > DISTRO_VERSION= "4.9.11-1.0.0"
> > TUNE_FEATURES = "arm armv7ve vfp  neoncallconvention-hard
> > cortexa7"
> > TARGET_FPU= "hard"
> > meta
> > meta-poky = "HEAD:78890ea22750804e3e9113e76f7ca3d7234c8342"
> > meta-oe
> > meta-multimedia
> > meta-webserver= "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
> > meta-freescale= "HEAD:a398b50b7fc084a9e68cc3000c218d5028522a25"
> > meta-freescale-3rdparty = "HEAD:68314612e236cab1da82d72a0da626
> 35a3523f84"
> > meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
> > meta-bsp
> > meta-sdk  = "HEAD:daba3340ecd8b358e0c6c415baeee0fcae95c525"
> > meta-browser  = "HEAD:10f6e3778d823ee1be106c126216c6f941088fbf"
> > meta-gnome
> > meta-networking
> > meta-python
> > meta-filesystems  = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
> > meta-qt5  = "HEAD:ff073f04109900fc07bf81e2f1df63c626caf342"
> > meta-phytec
> > meta-phytec-fsl   = "HEAD:f9897a4e06f43184a71d315cec4a412a28baa59b"
> >
> > WARNING:
> > /opt/PHYTEC_BSPs/yocto_imx7/sources/poky/meta/recipes-
> core/busybox/busybox_1.24.1.bb.do_compile
> > is tainted from a forced run
> > | ETA:  0:00:01
> > Initialising tasks: 100%
> > |###
> 
> |
> > Time: 0:00:01
> > NOTE: Executing SetScene Tasks
> > NOTE: Executing RunQueue Tasks
> > NOTE: Tasks Summary: Attempted 234 tasks of which 232 didn't need to be
> > rerun and all succeeded.
> >
> > Summary: There were 2 WARNING messages shown.
> >
> >
> > When I build my image for my machine, I am getting the following error:
> >
> >
> > WARNING: busybox-1.24.1-r0 do_package: busybox: alternative target
> > (/etc/syslog.conf or /etc/syslog.conf.busybox) does not exist,
> skipping...
> > WARNING: busybox-1.24.1-r0 do_package: busybox: NOT adding alternative
> > provide /etc/syslog.conf: /etc/syslog.conf.busybox does not exist
> > ERROR: busybox-1.24.1-r0 do_package: SYSTEMD_SERVICE_busybox-syslog value
> > busybox-syslog.service does not exist
> > ERROR: busybox-1.24.1-r0 do_package: Function failed:
> > systemd_populate_packages
> > ERROR: Logfile of failure stored in:
> > /opt/PHYTEC_BSPs/yocto_imx7/build/tmp/work/cortexa7hf-
> neon-poky-linux-gnueabi/busybox/1.24.1-r0/temp/log.do_package.30442
> > ERROR: Task
> > (/opt/PHYTEC_BSPs/yocto_imx7/sources/poky/meta/recipes-
> core/busybox/busybox_1.24.1.bb:do_package)
> > failed with exit code '1'
> >
> > Any hints?
>
> It looks like you're using morty, which pre-dates busybox syslog
> "officially" being made optional:
>
>   http://git.openembedded.org/openembedded-core/commit/?id=
> 9732a2ba2edf2607e61ae4fe0d65a02b7918cfe7
>
> If you can't update to a newer release you could try backporting the
> above commit.
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Removing syslogd form busybox

2018-07-27 Thread Andre McCurdy
On Fri, Jul 27, 2018 at 1:07 PM, Simon Chamlian  wrote:
> Hi,
>
> When I removing syslogd from busybox, I can compile with no error
>
> $ bitbake -c compile busybox
> Loading cache: 100% || Time: 0:00:01
> Loaded 3082 entries from dependency cache.
> WARNING: No bb files matched BBFILE_PATTERN_phytec
> '^/opt/PHYTEC_BSPs/yocto_imx7/sources/meta-phytec/common/'
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION= "1.32.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING   = "Ubuntu-16.04"
> TARGET_SYS= "arm-poky-linux-gnueabi"
> MACHINE   = "imx7d-phyboard-zeta-001"
> DISTRO= "fsl-imx-x11"
> DISTRO_VERSION= "4.9.11-1.0.0"
> TUNE_FEATURES = "arm armv7ve vfp  neoncallconvention-hard
> cortexa7"
> TARGET_FPU= "hard"
> meta
> meta-poky = "HEAD:78890ea22750804e3e9113e76f7ca3d7234c8342"
> meta-oe
> meta-multimedia
> meta-webserver= "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
> meta-freescale= "HEAD:a398b50b7fc084a9e68cc3000c218d5028522a25"
> meta-freescale-3rdparty = "HEAD:68314612e236cab1da82d72a0da62635a3523f84"
> meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
> meta-bsp
> meta-sdk  = "HEAD:daba3340ecd8b358e0c6c415baeee0fcae95c525"
> meta-browser  = "HEAD:10f6e3778d823ee1be106c126216c6f941088fbf"
> meta-gnome
> meta-networking
> meta-python
> meta-filesystems  = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
> meta-qt5  = "HEAD:ff073f04109900fc07bf81e2f1df63c626caf342"
> meta-phytec
> meta-phytec-fsl   = "HEAD:f9897a4e06f43184a71d315cec4a412a28baa59b"
>
> WARNING:
> /opt/PHYTEC_BSPs/yocto_imx7/sources/poky/meta/recipes-core/busybox/busybox_1.24.1.bb.do_compile
> is tainted from a forced run
> | ETA:  0:00:01
> Initialising tasks: 100%
> |###|
> Time: 0:00:01
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> NOTE: Tasks Summary: Attempted 234 tasks of which 232 didn't need to be
> rerun and all succeeded.
>
> Summary: There were 2 WARNING messages shown.
>
>
> When I build my image for my machine, I am getting the following error:
>
>
> WARNING: busybox-1.24.1-r0 do_package: busybox: alternative target
> (/etc/syslog.conf or /etc/syslog.conf.busybox) does not exist, skipping...
> WARNING: busybox-1.24.1-r0 do_package: busybox: NOT adding alternative
> provide /etc/syslog.conf: /etc/syslog.conf.busybox does not exist
> ERROR: busybox-1.24.1-r0 do_package: SYSTEMD_SERVICE_busybox-syslog value
> busybox-syslog.service does not exist
> ERROR: busybox-1.24.1-r0 do_package: Function failed:
> systemd_populate_packages
> ERROR: Logfile of failure stored in:
> /opt/PHYTEC_BSPs/yocto_imx7/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/busybox/1.24.1-r0/temp/log.do_package.30442
> ERROR: Task
> (/opt/PHYTEC_BSPs/yocto_imx7/sources/poky/meta/recipes-core/busybox/busybox_1.24.1.bb:do_package)
> failed with exit code '1'
>
> Any hints?

It looks like you're using morty, which pre-dates busybox syslog
"officially" being made optional:

  
http://git.openembedded.org/openembedded-core/commit/?id=9732a2ba2edf2607e61ae4fe0d65a02b7918cfe7

If you can't update to a newer release you could try backporting the
above commit.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Removing syslogd form busybox

2018-07-27 Thread Simon Chamlian
Hi,

When I removing syslogd from busybox, I can compile with no error

$ bitbake -c compile busybox
Loading cache: 100% || Time: 0:00:01
Loaded 3082 entries from dependency cache.
WARNING: No bb files matched BBFILE_PATTERN_phytec
'^/opt/PHYTEC_BSPs/yocto_imx7/sources/meta-phytec/common/'
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION= "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "imx7d-phyboard-zeta-001"
DISTRO= "fsl-imx-x11"
DISTRO_VERSION= "4.9.11-1.0.0"
TUNE_FEATURES = "arm armv7ve vfp  neon
callconvention-hardcortexa7"
TARGET_FPU= "hard"
meta
meta-poky = "HEAD:78890ea22750804e3e9113e76f7ca3d7234c8342"
meta-oe
meta-multimedia
meta-webserver= "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-freescale= "HEAD:a398b50b7fc084a9e68cc3000c218d5028522a25"
meta-freescale-3rdparty = "HEAD:68314612e236cab1da82d72a0da62635a3523f84"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
meta-bsp
meta-sdk  = "HEAD:daba3340ecd8b358e0c6c415baeee0fcae95c525"
meta-browser  = "HEAD:10f6e3778d823ee1be106c126216c6f941088fbf"
meta-gnome
meta-networking
meta-python
meta-filesystems  = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-qt5  = "HEAD:ff073f04109900fc07bf81e2f1df63c626caf342"
meta-phytec
meta-phytec-fsl   = "HEAD:f9897a4e06f43184a71d315cec4a412a28baa59b"

WARNING:
/opt/PHYTEC_BSPs/yocto_imx7/sources/poky/meta/recipes-core/busybox/busybox_1.24.1.bb.do_compile
is tainted from a forced
run| ETA:
0:00:01
Initialising tasks: 100%
|###|
Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 234 tasks of which 232 didn't need to be
rerun and all succeeded.

Summary: There were 2 WARNING messages shown.


When I build my image for my machine, I am getting the following error:


WARNING: busybox-1.24.1-r0 do_package: busybox: alternative target
(/etc/syslog.conf or /etc/syslog.conf.busybox) does not exist, skipping...
WARNING: busybox-1.24.1-r0 do_package: busybox: NOT adding alternative
provide /etc/syslog.conf: /etc/syslog.conf.busybox does not exist
ERROR: busybox-1.24.1-r0 do_package: SYSTEMD_SERVICE_busybox-syslog value
busybox-syslog.service does not exist
ERROR: busybox-1.24.1-r0 do_package: Function failed:
systemd_populate_packages
ERROR: Logfile of failure stored in:
/opt/PHYTEC_BSPs/yocto_imx7/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/busybox/1.24.1-r0/temp/log.do_package.30442
ERROR: Task
(/opt/PHYTEC_BSPs/yocto_imx7/sources/poky/meta/recipes-core/busybox/busybox_1.24.1.bb:do_package)
failed with exit code '1'

Any hints?

Thanks,
S
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto