diff --git a/debian/changelog b/debian/changelog index d6c01827..847fe840 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +subiquity (0.0.12) UNRELEASED; urgency=medium + + * debian/console-conf.serial-console-conf@.service: start with --serial so + we don't spew as many control chars on the serial interface. + + -- Mathieu Trudel-Lapierre Mon, 29 Aug 2016 19:09:11 -0400 + +subiquity (0.0.11) yakkety; urgency=medium + + * debian/console-conf.dirs: add /var/lib/console-conf. + + -- Mathieu Trudel-Lapierre Fri, 26 Aug 2016 16:35:57 -0400 + subiquity (0.0.10) yakkety; urgency=medium * Release 0.0.10: we want subiquity on all architectures. diff --git a/debian/console-conf.dirs b/debian/console-conf.dirs new file mode 100644 index 00000000..5507f721 --- /dev/null +++ b/debian/console-conf.dirs @@ -0,0 +1 @@ +/var/lib/console-conf diff --git a/debian/console-conf.serial-console-conf@.service b/debian/console-conf.serial-console-conf@.service index 3cb0104e..1e278d97 100644 --- a/debian/console-conf.serial-console-conf@.service +++ b/debian/console-conf.serial-console-conf@.service @@ -8,7 +8,7 @@ ConditionPathExists=!/var/lib/console-conf/complete [Service] Environment=PYTHONPATH=/usr/share/subiquity ExecStartPre=/bin/systemctl stop serial-getty@%I -ExecStart=-/sbin/agetty -n --noclear -l /usr/bin/console-conf-wrapper %I $TERM +ExecStart=-/sbin/agetty -n --noclear -l /usr/bin/console-conf-wrapper --serial %I $TERM ExecStop=/bin/systemctl start serial-getty@%I Type=idle Restart=always diff --git a/subiquitycore/log.py b/subiquitycore/log.py index 29e387e4..bb8532de 100644 --- a/subiquitycore/log.py +++ b/subiquitycore/log.py @@ -25,8 +25,7 @@ LOGFILE = os.path.join(LOGDIR, "subiquity-debug.log") def setup_logger(name=__name__, dir=LOGDIR): LOGFILE = os.path.join(dir, "subiquity-debug.log") try: - if not os.path.isdir(dir): - os.makedirs(dir) + os.makedirs(dir, exist_ok=True) log = TimedRotatingFileHandler(LOGFILE, when='D', interval=1,