[gnome-boxes/gnome-3-14] unattended-file: Handle 'floppy' injection method
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/gnome-3-14] unattended-file: Handle 'floppy' injection method
- Date: Wed, 15 Oct 2014 00:18:07 +0000 (UTC)
commit 2afdb6fc748d9e66988c2b175802def55a10480a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Oct 13 18:41:04 2014 +0100
unattended-file: Handle 'floppy' injection method
This script injection method was forgotten when we added handling of
injection methods and it broke express installation for windows.
src/unattended-file.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/unattended-file.vala b/src/unattended-file.vala
index 06f8f3a..94f4309 100644
--- a/src/unattended-file.vala
+++ b/src/unattended-file.vala
@@ -96,6 +96,7 @@ private class Boxes.UnattendedScriptFile : GLib.Object, Boxes.UnattendedFile {
owned get {
switch (injection_method) {
case InstallScriptInjectionMethod.DISK:
+ case InstallScriptInjectionMethod.FLOPPY:
return installer.disk_file.get_path ();
case InstallScriptInjectionMethod.INITRD:
return installer.initrd_file.get_path ();
@@ -122,6 +123,8 @@ private class Boxes.UnattendedScriptFile : GLib.Object, Boxes.UnattendedFile {
var injection_methods = script.get_injection_methods ();
if (InstallScriptInjectionMethod.DISK in injection_methods)
injection_method = InstallScriptInjectionMethod.DISK;
+ if (InstallScriptInjectionMethod.FLOPPY in injection_methods)
+ injection_method = InstallScriptInjectionMethod.FLOPPY;
else if (InstallScriptInjectionMethod.INITRD in injection_methods)
injection_method = InstallScriptInjectionMethod.INITRD;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]