This code from cc_resizefs.py in the 0.7.9 SRU is missing from 17.1 in artful.
container = util.is_container()
# Ensure the path is a block device.
if (devpth == "/dev/root" and not os.path.exists(devpth) and
not container):
devpth = util.rootdev_from_cmdline(util.get_cmdline())
if devpth is None: log.warn("Unable to find device '/dev/root'")
return log.debug("Converted /dev/root to '%s' per kernel cmdline", devpth)
This code from cc_resizefs.py in the 0.7.9 SRU is missing from 17.1 in artful.
container = util.is_container()
# Ensure the path is a block device. exists( devpth) and from_cmdline( util.get_ cmdline( ))
log. warn("Unable to find device '/dev/root'")
log.debug( "Converted /dev/root to '%s' per kernel cmdline", devpth)
if (devpth == "/dev/root" and not os.path.
not container):
devpth = util.rootdev_
if devpth is None:
return