don't copy vmlinuz to /boot/extlinux
authorGui Chen <gui.chen@intel.com>
Thu, 21 Feb 2013 02:29:09 +0000 (10:29 +0800)
committerGui Chen <gui.chen@intel.com>
Thu, 21 Feb 2013 02:29:09 +0000 (10:29 +0800)
as the previous commit by Artem will use relative path
in extlinux.conf, copy vmlinuz to extlinux folder would
be unuseful

Change-Id: Ib74a27872fcea7d388e1f7c5f5de33a8c635385f
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/imager/raw.py

index 2f2b78ca2a27fb55163d47cbb8f392c3577b795b..d0fb535023ee77d4ff9b51f83430f2e3541c24c0 100644 (file)
@@ -287,9 +287,6 @@ class RawImageCreator(BaseImageCreator):
 
             footlabel = 0
             for v in versions:
-                shutil.copy("%s/boot/vmlinuz-%s" %(self._instroot, v),
-                            "%s%s/vmlinuz-%s" % (self._instroot,
-                                                 "/boot/extlinux/", v))
                 syslinux_conf += "label %s%d\n" \
                                  % (self.distro_name.lower(), footlabel)
                 syslinux_conf += "\tmenu label %s (%s)\n" % (self.distro_name, v)