from Exceptions import *
import utils
+import systeminfo
import BootServerRequest
import BootAPI
def CleanupSysimgBeforeUpgrade(sysimg, target_nodefamily, log):
areas_to_cleanup = [
- '/usr/lib',
+ '/boot',
+ '/usr',
'/var',
'/etc',
- '/boot',
+ '/run',
+ '/vsys',
]
target_pldistro, target_fcdistro, target_arch = target_nodefamily.split('-')