X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FChainBootNode.py;h=3e76d9c064c99a965f3e2de488feb0246adf8f64;hb=07139b606dfc3c657ef7d06da25c084c1679b660;hp=b04756d6cae247521d9aab1d47f6b0080ff1fbb5;hpb=89ab0b2239cef500f4c5401257f32f9f8c8b4d7b;p=bootmanager.git diff --git a/source/steps/ChainBootNode.py b/source/steps/ChainBootNode.py index b04756d..3e76d9c 100644 --- a/source/steps/ChainBootNode.py +++ b/source/steps/ChainBootNode.py @@ -151,6 +151,8 @@ def Run( vars, log ): utils.sysexec( "cp %s/boot/kernel-boot%s /tmp/kernel" % (SYSIMG_PATH,option), log ) utils.sysexec( "cp %s/boot/initrd-boot%s /tmp/initrd" % (SYSIMG_PATH,option), log ) + BootAPI.save(vars) + log.write( "Unmounting disks.\n" ) try: # backwards compat, though, we should never hit this case post PL 3.2 @@ -234,7 +236,7 @@ def Run( vars, log ): # problems during chain boot, such as USB host # controller drivers (HCDs) (PL6577). # if int(parts[2]) == 0: - if re.search('_hcd$', parts[0]): + if False and re.search('_hcd$', parts[0]): if usb_usage > 0: log.write( "NOT unloading %s since USB may be in use\n" % parts[0] ) else: