Update paths to /writable for snappy
This commit is contained in:
parent
ec5f94bf7d
commit
1c7fbac977
|
@ -18,7 +18,7 @@ import os
|
||||||
import sys
|
import sys
|
||||||
from logging.handlers import TimedRotatingFileHandler
|
from logging.handlers import TimedRotatingFileHandler
|
||||||
|
|
||||||
LOGDIR = ".subiquity"
|
LOGDIR = "/writable/.subiquity"
|
||||||
LOGFILE = os.path.join(LOGDIR, "subiquity-debug.log")
|
LOGFILE = os.path.join(LOGDIR, "subiquity-debug.log")
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -202,7 +202,7 @@ def sudo_user():
|
||||||
def mark_firstboot_complete():
|
def mark_firstboot_complete():
|
||||||
""" Touch our firstboot-complete eyecatcher """
|
""" Touch our firstboot-complete eyecatcher """
|
||||||
log.info('marking firstboot service complete')
|
log.info('marking firstboot service complete')
|
||||||
firstboot = '/var/lib/firstboot/firstboot-complete'
|
firstboot = '/writable/firstboot-complete'
|
||||||
if not os.path.exists(os.path.dirname(firstboot)):
|
if not os.path.exists(os.path.dirname(firstboot)):
|
||||||
os.makedirs(os.path.dirname(firstboot))
|
os.makedirs(os.path.dirname(firstboot))
|
||||||
with open(firstboot, 'w') as fp:
|
with open(firstboot, 'w') as fp:
|
||||||
|
|
Loading…
Reference in New Issue