i think i might have something that works here...
This commit is contained in:
parent
5ac4f35c93
commit
9558ac9d80
4
_base.py
4
_base.py
@ -60,8 +60,8 @@ class BaseUpdater(object):
|
|||||||
self.old_hash)):
|
self.old_hash)):
|
||||||
self.do_update = True
|
self.do_update = True
|
||||||
self.download()
|
self.download()
|
||||||
if self.do_grub:
|
if self.do_grub:
|
||||||
self.grub()
|
self.grub()
|
||||||
self.touchVer()
|
self.touchVer()
|
||||||
self.unlock()
|
self.unlock()
|
||||||
return(None)
|
return(None)
|
||||||
|
@ -17,8 +17,7 @@ submenu 'System Rescue CD' {
|
|||||||
insmod loopback
|
insmod loopback
|
||||||
search --no-floppy --fs-uuid {{ disk_uuid }} --set=root
|
search --no-floppy --fs-uuid {{ disk_uuid }} --set=root
|
||||||
set isofile='{{ iso_path }}'
|
set isofile='{{ iso_path }}'
|
||||||
probe -u ${root} --set=imgdevuuid
|
set imgdevpath="/dev/disk/by-uuid/{{ disk_uuid }}"
|
||||||
set imgdevpath="/dev/disk/by-uuid/${imgdevuuid}"
|
|
||||||
loopback loop (${root})/${isofile}
|
loopback loop (${root})/${isofile}
|
||||||
linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop
|
linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop
|
||||||
initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img
|
initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img
|
||||||
|
Reference in New Issue
Block a user