- ln -sf /etc/systemd/system/pl_boot.target $bootcd/etc/systemd/system/default.target
- [ -d $bootcd/etc/systemd/system/pl_boot.target.wants ] || mkdir -p $bootcd/etc/systemd/system/pl_boot.target.wants
- ln -sf /usr/lib/systemd/system/getty@.service $bootcd/etc/systemd/system/pl_boot.target.wants/getty@tty2.service
+ # ln -sf /etc/systemd/system/pl_boot.target $bootcd/etc/systemd/system/default.target
+ #[ -d $bootcd/etc/systemd/system/pl_boot.target.wants ] || mkdir -p $bootcd/etc/systemd/system/pl_boot.target.wants
+ # Let's try another approach completely
+ # xxx if that worked we would not need pl_boot.target at all
+ mkdir -p $bootcd/etc/systemd/system/default.target.wants
+ ln -sf /etc/systemd/system/pl_boot.service $bootcd/etc/systemd/system/default.target.wants
+ echo "* Enabling getty on tty2"
+ #ln -sf /usr/lib/systemd/system/getty@.service $bootcd/etc/systemd/system/pl_boot.target.wants/getty@tty2.service
+ ln -sf /usr/lib/systemd/system/getty@.service $bootcd/etc/systemd/system/default.target.wants/getty@tty2.service