Displaying 5 results from an estimated 5 matches for "initrd_dest".
2010 Oct 26
0
[PATCH node] add install.py
...inux = "syslinux"
+ if os.path.exists("/live/isolinux"):
+ syslinux = "isolinux"
+ else:
+ syslinux=""
+
+ if OVIRT_VARS.has_key("OVIRT_ISCSI_ENABLED") and OVIRT_VARS["OVIRT_ISCSI_ENABLED"] == "y":
+ initrd_dest = "/boot"
+ grub_dir = "/boot/grub"
+ grub_prefix = "/grub"
+ else:
+ initrd_dest = "/liveos"
+ grub_dir = "/liveos/boot/grub"
+ grub_prefix = "/boot/grub"
+ if os.path.isdir(grub_dir):
+ shu...
2009 Dec 08
1
[PATCH node] iscsi remote root basework This lays most of the groundwork for iscsi installation and configuration. At this time configuring iscsi is disabled due to multiple issues with dependent pieces.
.../syslinux" ]; then
@@ -87,12 +107,25 @@ ovirt_boot_setup() {
else
syslinux=
fi
- rm -rf /liveos/boot/grub
+
rm -rf /liveos/LiveOS
- mkdir -p /liveos/boot/grub
mkdir -p /liveos/LiveOS
+
+ if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then
+ initrd_dest="/boot"
+ grub_dir="/boot/grub"
+ grub_prefix="/grub"
+ else
+ initrd_dest="/liveos"
+ grub_dir="/liveos/boot/grub"
+ grub_prefix="/boot/grub"
+ fi
+
+ rm -rf $grub_dir
+ mkdir -p $grub_dir
+...
2010 Mar 23
2
[PATCH] Remove initrd patching from oc-boot
...e
- cp /sbin/lvm bin
- # lvm is not static in Fedora
- cp /lib$bit/libreadline.so.5 /lib$bit/libncurses.so.5 lib$bit
- fi
-
- find $init_script bin/lvm lib$bit -type f |
- cpio -H newc --quiet -o |
- gzip -9 |
- cat $live/$syslinux/initrd0.img - > $initrd_dest/initrd0.img
-
version=$(rpm -q --qf '%{version}' ovirt-node)
release=$(rpm -q --qf '%{release}' ovirt-node)
# reorder tty0 to allow both serial and phys console after installation
--
1.6.6.1
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
---
scripts/ovirt-config-boot | 13 +++++++-
scripts/ovirt-config-storage | 73 +++++++++++++++++++++++++----------------
2 files changed, 56 insertions(+), 30 deletions(-)
diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot
index d545878..8cc127b 100755
--- a/scripts/ovirt-config-boot
+++ b/scripts/ovirt-config-boot
@@ -29,6 +29,12 @@ ovirt_boot_setup() {
local disk2
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...ocal boot
+ if [ -e "$live/syslinux" ]; then
+ syslinux=syslinux
+ elif [ -e "$live/isolinux" ]; then
+ syslinux=isolinux
+ else
+ syslinux=
+ fi
if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then
initrd_dest="/boot"
@@ -124,13 +127,22 @@ ovirt_boot_setup() {
rm -rf $grub_dir
mkdir -p $grub_dir
- cp -p $live/LiveOS/squashfs.img /liveos/LiveOS \
- && cp -p $live/$syslinux/vmlinuz0 $initrd_dest
+ cp -p $live/$syslinux/vmlinuz0 $initrd_dest
rc=$?
if [ $rc -...