[node-patches] Change in ovirt-node[master]: edit-node: add --skip-initramfs option to skip the rebuild s...

jboggs at redhat.com jboggs at redhat.com
Mon Jun 23 19:06:41 UTC 2014


Joey Boggs has uploaded a new change for review.

Change subject: edit-node: add --skip-initramfs option to skip the rebuild step if necessary
......................................................................

edit-node: add --skip-initramfs option to skip the rebuild step if necessary

Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1111741
Change-Id: Ie43706271f09d3e6148602d38f814f6e37241466
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M tools/edit-node
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/88/29088/1

diff --git a/tools/edit-node b/tools/edit-node
index f592fdf..185c1cb 100755
--- a/tools/edit-node
+++ b/tools/edit-node
@@ -1278,6 +1278,10 @@
                       help="specify script to run chrooted in the LiveOS "
                            "fsimage")
 
+    parser.add_option("--skip-initramfs", action="store_true", default=False,
+                      dest="skipinitramfs",
+                      help="Allow unsigned packages to be installed")
+
     parser.add_option("--shell", action="store_true", default=False,
                       dest="shell",
                       help="Open shell for editing")
@@ -1558,7 +1562,8 @@
                 editor._configure_bootloader(
                     editor._LiveImageCreatorBase__isodir)
                 rebuild_iso_symlinks(editor._LiveImageCreatorBase__isodir)
-                editor._rebuild_initramfs()
+                if not options.skipinitramfs:
+                    editor._rebuild_initramfs()
                 editor.unmount()
                 editor.package(output)
                 edited_iso = os.path.join(output, editor.name + ".iso")


-- 
To view, visit http://gerrit.ovirt.org/29088
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie43706271f09d3e6148602d38f814f6e37241466
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list