cat > $remaster_dir/remaster-initrd/usr/lib/finish-install.d/10console <<-EOF #! /bin/sh -x mkdir -p /target/etc/event.d cat > /target/etc/event.d/hvc0 << XEOF # hvc0 - getty # # This service maintains a getty on hvc0 from the point the system is # started until it is shut down again.