# memtest
LABEL memtest
KERNEL /boot/addons/memtest
-#APPEND BOOT_IMAGE=memtest
# grub
LABEL grub
proc = subprocess.Popen(["install", "--mode=664", balderimg, addons + 'balder10.imz'])
proc.wait()
- # memtest86+ image
+ # memdisk image
memdiskimg = search_file('memdisk', iso_mount)
if memdiskimg is None:
logging.warn("Warning: memdisk not found - can not install it")
proc = subprocess.Popen(["install", "--mode=664", memdiskimg, addons + 'memdisk'])
proc.wait()
+ # memtest86+ image
+ memtestimg = search_file('memtest', iso_mount)
+ if memtestimg is None:
+ logging.warn("Warning: memtest not found - can not install it")
+ else:
+ logging.debug("cp %s %s" % (memtestimg, addons + '/memtest'))
+ proc = subprocess.Popen(["install", "--mode=664", memtestimg, addons + 'memtest'])
+ proc.wait()
+
def copy_bootloader_files(iso_mount, target):
""""TODO"""