Files
meta-openembedded/meta-networking/recipes-daemons
Yi Zhao 335e0bd0cc postfix: split ${PN}-bin from ${PN} to solve recursive dependency
The commit 89d86b96f8 which tries to fix
the installation issue for ostree introduces a recursive dependency
issue. When installing the postfix package on target via online
repository, the postinst function for postfix-cfg package needs
newaliases but this command is from postfix package which causes an
error:
  Configuring postfix-cfg.
  /var/lib/opkg/info/postfix-cfg.postinst: line 9: newaliases: not found
  pkg_run_script: package "postfix-cfg" postinst script returned status 127.

Split a new package postfix-bin from postfix and make it as the runtime
dependency for postfix-cfg.

Set USERADD_PACKAGES to ${PN}-bin to avoid image do_rootfs warnings when
installing postfix via IMAGE_INSTALL:
  [log_check] warning: group postdrop does not exist - using root
  [log_check] warning: user postfix does not exist - using root

Set ALTERNATIVE to ${PN}-bin to make sure the newaliases symbolic link
is installed before installing postfix-cfg.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-17 19:05:58 -07:00
..
2019-05-21 17:52:23 -07:00
2020-02-27 08:25:49 -08:00
2019-11-01 17:22:52 -07:00
2017-09-08 16:38:10 -04:00
2020-04-04 07:22:16 -07:00
2020-04-04 07:22:16 -07:00
2019-03-05 21:41:36 -08:00
2020-01-28 13:55:35 -08:00
2019-04-29 10:13:56 -07:00