Seems that oem-config-firstboot ignores the question that should be presented to the user on unfinished installation, because of the following line in /usr/bin/ubiquity:
125: fcntl.ioctl(0, termios.TIOCSCTTY, 1)
It steals the terminal from the calling script, so the question is not presented nor any response is read.
So the bottom line is:
1. handling 'wizard.do_reboot()' should not be called for debconf_ui frontend
2. the ioctl call above should not be made
Fixing these 2 things should ensure the flow is as designed in the code.
Seems that oem-config- firstboot ignores the question that should be presented to the user on unfinished installation, because of the following line in /usr/bin/ubiquity:
125: fcntl.ioctl(0, termios.TIOCSCTTY, 1)
It steals the terminal from the calling script, so the question is not presented nor any response is read.
So the bottom line is: do_reboot( )' should not be called for debconf_ui frontend
1. handling 'wizard.
2. the ioctl call above should not be made
Fixing these 2 things should ensure the flow is as designed in the code.