diff options
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-image.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-image.bbclass b/meta-phosphor/classes/obmc-phosphor-image.bbclass index 4575f5bf9..8ce0acd52 100644 --- a/meta-phosphor/classes/obmc-phosphor-image.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-image.bbclass @@ -108,7 +108,8 @@ ROOTFS_POSTPROCESS_COMMAND += "remove_etc_version ; " # Disable the pager to prevent systemd injecting control characters into the # output stream that are not interpreted by busybox tools. disable_systemd_pager() { - echo -e "SYSTEMD_PAGER=\nexport SYSTEMD_PAGER" >> ${IMAGE_ROOTFS}${sysconfdir}/profile + echo "SYSTEMD_PAGER=" >> ${IMAGE_ROOTFS}${sysconfdir}/profile + echo "export SYSTEMD_PAGER" >> ${IMAGE_ROOTFS}${sysconfdir}/profile } ROOTFS_POSTPROCESS_COMMAND += "disable_systemd_pager ; " |