anchor.diff:                  ${datadir}/polkit-1 \
                   ${datadir}/${PN} \
                   ${sysconfdir} \
  -                ${base_libdir}/systemd/* \
  -                ${base_libdir}/systemd/system/* \
  +                ${systemd_unitdir}/* \
  +                ${systemd_unitdir}/system/* \
                   ${base_libdir}/udev/rules.d \
                   ${base_libdir}/security/*.so \
                   /cgroup \
  
positive.code: # u-a for runlevel and telinit
  
  pkg_postinst_systemd () {
  update-alternatives --install ${base_sbindir}/init init ${base_libdir}/systemd/systemd 300
  update-alternatives --install ${base_sbindir}/halt halt ${base_bindir}/systemctl 300
  update-alternatives --install ${base_sbindir}/reboot reboot ${base_bindir}/systemctl 300
  update-alternatives --install ${base_sbindir}/shutdown shutdown ${base_bindir}/systemctl 300
  
negative.code: do_install() {
  	autotools_do_install
  	# provided by a seperate recipe
  	rm ${D}${systemd_unitdir}/system/serial-getty* -f
  
  	# provide support for initramfs
  	ln -s ${systemd_unitdir}/systemd ${D}/init
  
  	# create dir for journal
  	install -d ${D}${localstatedir}/log/journal
  