diff options
| author | Andrej Valek <andrej.valek@siemens.com> | 2018-10-09 14:56:39 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-10 12:47:34 +0100 |
| commit | 2ff05e9c19c9472ba0fa6a96a286a2094599d8fb (patch) | |
| tree | 4c20467ad790e963f80f1c69e5e799dc98d33d8b | |
| parent | e57eaaad60e6feafdd502aa54d3037dd3178cf99 (diff) | |
| download | poky-2ff05e9c19c9472ba0fa6a96a286a2094599d8fb.tar.gz | |
busybox: do not write grep outputs into log
Make grep quiet for prevent to write information into logs.
(From OE-Core rev: f9f150fa38b188b279b65886cad187b15bae0ce6)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/busybox/busybox.inc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index 7b427ab0f7..97b73c1dc0 100644 --- a/meta/recipes-core/busybox/busybox.inc +++ b/meta/recipes-core/busybox/busybox.inc | |||
| @@ -278,32 +278,32 @@ do_install () { | |||
| 278 | install -m 644 ${WORKDIR}/syslog-startup.conf ${D}${sysconfdir}/syslog-startup.conf | 278 | install -m 644 ${WORKDIR}/syslog-startup.conf ${D}${sysconfdir}/syslog-startup.conf |
| 279 | install -m 644 ${WORKDIR}/syslog.conf ${D}${sysconfdir}/syslog.conf | 279 | install -m 644 ${WORKDIR}/syslog.conf ${D}${sysconfdir}/syslog.conf |
| 280 | fi | 280 | fi |
| 281 | if grep "CONFIG_CROND=y" ${B}/.config; then | 281 | if grep -q "CONFIG_CROND=y" ${B}/.config; then |
| 282 | install -m 0755 ${WORKDIR}/busybox-cron ${D}${sysconfdir}/init.d/ | 282 | install -m 0755 ${WORKDIR}/busybox-cron ${D}${sysconfdir}/init.d/ |
| 283 | fi | 283 | fi |
| 284 | if grep "CONFIG_HTTPD=y" ${B}/.config; then | 284 | if grep -q "CONFIG_HTTPD=y" ${B}/.config; then |
| 285 | install -m 0755 ${WORKDIR}/busybox-httpd ${D}${sysconfdir}/init.d/ | 285 | install -m 0755 ${WORKDIR}/busybox-httpd ${D}${sysconfdir}/init.d/ |
| 286 | install -d ${D}/srv/www | 286 | install -d ${D}/srv/www |
| 287 | fi | 287 | fi |
| 288 | if grep "CONFIG_UDHCPD=y" ${B}/.config; then | 288 | if grep -q "CONFIG_UDHCPD=y" ${B}/.config; then |
| 289 | install -m 0755 ${WORKDIR}/busybox-udhcpd ${D}${sysconfdir}/init.d/ | 289 | install -m 0755 ${WORKDIR}/busybox-udhcpd ${D}${sysconfdir}/init.d/ |
| 290 | fi | 290 | fi |
| 291 | if grep "CONFIG_HWCLOCK=y" ${B}/.config; then | 291 | if grep -q "CONFIG_HWCLOCK=y" ${B}/.config; then |
| 292 | install -m 0755 ${WORKDIR}/hwclock.sh ${D}${sysconfdir}/init.d/ | 292 | install -m 0755 ${WORKDIR}/hwclock.sh ${D}${sysconfdir}/init.d/ |
| 293 | fi | 293 | fi |
| 294 | if grep "CONFIG_UDHCPC=y" ${B}/.config; then | 294 | if grep -q "CONFIG_UDHCPC=y" ${B}/.config; then |
| 295 | install -d ${D}${sysconfdir}/udhcpc.d | 295 | install -d ${D}${sysconfdir}/udhcpc.d |
| 296 | install -d ${D}${datadir}/udhcpc | 296 | install -d ${D}${datadir}/udhcpc |
| 297 | install -m 0755 ${WORKDIR}/simple.script ${D}${sysconfdir}/udhcpc.d/50default | 297 | install -m 0755 ${WORKDIR}/simple.script ${D}${sysconfdir}/udhcpc.d/50default |
| 298 | sed -i "s:/SBIN_DIR/:${base_sbindir}/:" ${D}${sysconfdir}/udhcpc.d/50default | 298 | sed -i "s:/SBIN_DIR/:${base_sbindir}/:" ${D}${sysconfdir}/udhcpc.d/50default |
| 299 | install -m 0755 ${WORKDIR}/default.script ${D}${datadir}/udhcpc/default.script | 299 | install -m 0755 ${WORKDIR}/default.script ${D}${datadir}/udhcpc/default.script |
| 300 | fi | 300 | fi |
| 301 | if grep "CONFIG_INETD=y" ${B}/.config; then | 301 | if grep -q "CONFIG_INETD=y" ${B}/.config; then |
| 302 | install -m 0755 ${WORKDIR}/inetd ${D}${sysconfdir}/init.d/inetd.${BPN} | 302 | install -m 0755 ${WORKDIR}/inetd ${D}${sysconfdir}/init.d/inetd.${BPN} |
| 303 | sed -i "s:/usr/sbin/:${sbindir}/:" ${D}${sysconfdir}/init.d/inetd.${BPN} | 303 | sed -i "s:/usr/sbin/:${sbindir}/:" ${D}${sysconfdir}/init.d/inetd.${BPN} |
| 304 | install -m 0644 ${WORKDIR}/inetd.conf ${D}${sysconfdir}/ | 304 | install -m 0644 ${WORKDIR}/inetd.conf ${D}${sysconfdir}/ |
| 305 | fi | 305 | fi |
| 306 | if grep "CONFIG_MDEV=y" ${B}/.config; then | 306 | if grep -q "CONFIG_MDEV=y" ${B}/.config; then |
| 307 | install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/mdev | 307 | install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/mdev |
| 308 | if grep "CONFIG_FEATURE_MDEV_CONF=y" ${B}/.config; then | 308 | if grep "CONFIG_FEATURE_MDEV_CONF=y" ${B}/.config; then |
| 309 | install -m 644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/mdev.conf | 309 | install -m 644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/mdev.conf |
| @@ -312,7 +312,7 @@ do_install () { | |||
| 312 | install -m 0755 ${WORKDIR}/mdev-mount.sh ${D}${sysconfdir}/mdev | 312 | install -m 0755 ${WORKDIR}/mdev-mount.sh ${D}${sysconfdir}/mdev |
| 313 | fi | 313 | fi |
| 314 | fi | 314 | fi |
| 315 | if grep "CONFIG_INIT=y" ${B}/.config; then | 315 | if grep -q "CONFIG_INIT=y" ${B}/.config; then |
| 316 | install -D -m 0777 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d/rcS | 316 | install -D -m 0777 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d/rcS |
| 317 | install -D -m 0777 ${WORKDIR}/rcK ${D}${sysconfdir}/init.d/rcK | 317 | install -D -m 0777 ${WORKDIR}/rcK ${D}${sysconfdir}/init.d/rcK |
| 318 | fi | 318 | fi |
