Files
meta-openembedded/meta-networking/recipes-daemons
Hongxu Jia 89d86b96f8 postfix: split /etc from ${PN} to ${PN}-cfg for ostree
In postinst of ${PN}, call newaliases on etc may fail at do_rootfs
due to host setup. If fail, the postinst will rerun at target first
boot which cause update-alternatives in postinst rerun.

For ostree system, /usr is readonly, /etc is writable, the
update-alternatives will be failed when run on target since it
needs write files in /usr. Split the postinst into two packages
can fix the problem:
* update-alternatives runs at do_rootfs
* newaliases runs at do_rootfs or first boot, it needs write files
  in /etc when run at first boot, while /etc is writable for ostree.

For non-ostree, everything will be OK as normal

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25 10:29:51 -07:00
..
2019-05-21 17:52:23 -07:00
2018-11-29 18:44:56 -08:00
2019-06-25 14:21:47 -07:00
2019-05-24 10:11:28 -07:00
2017-09-08 16:38:10 -04:00
2017-06-28 10:27:42 -04:00
2019-10-24 01:01:43 -07:00
2019-03-05 21:41:36 -08:00
2019-04-29 10:13:56 -07:00