[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Ovirt-devel] [PATCH node 2/3] copy initrd0.img to root partition



A previous patch removed the manual initrd rebuild as dracut now builds it correctly. With that being removed the initrd0.img file was not being copied over to the system preventing boot
---
 scripts/ovirt-config-boot |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot
index 8cc127b..5f2450e 100755
--- a/scripts/ovirt-config-boot
+++ b/scripts/ovirt-config-boot
@@ -132,6 +132,7 @@ ovirt_boot_setup() {
     mkdir -p $grub_dir
 
     cp -p $live/$syslinux/vmlinuz0 $initrd_dest
+    cp -p $live/$syslinux/initrd0.img $initrd_dest
     rc=$?
     if [ $rc -ne 0 ]; then
         log "kernel image copy failed."
-- 
1.6.6.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]