]> git.ozlabs.org Git - petitboot/commitdiff
Add define for boot-game-os binary
authorJeremy Kerr <jk@ozlabs.org>
Tue, 8 Jan 2008 03:20:38 +0000 (14:20 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 8 Jan 2008 03:20:38 +0000 (14:20 +1100)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
petitboot-paths.h
petitboot.c

index f8c59646e537362e1d5ebdc8b6bf47e6aeeed539..40ce5571c6aa6a720198558ca170600a0c846b6f 100644 (file)
@@ -16,6 +16,7 @@
 #define PBOOT_DEVICE_SOCKET "/var/tmp/petitboot-dev"
 #define MOUNT_BIN "/bin/mount"
 #define UMOUNT_BIN "/bin/umount"
+#define BOOT_GAMEOS_BIN "/usr/bin/ps3-boot-game-os"
 
 /* at present, all default artwork strings are const. */
 #define artwork_pathname(s) (PKG_SHARE_DIR "/artwork/" s)
index fc72fd8103c95f2c59bc235ccf36fa49a394597f..0b6828b55847e79d38a96c20ecf5a16393232844 100644 (file)
@@ -791,7 +791,7 @@ twin_bool_t pboot_event_filter(twin_screen_t            *screen,
                /* Another gross hack for booting back to gameos */
                case KEY_BACKSPACE:
                case KEY_DELETE:
-                       system("boot-game-os");
+                       system(BOOT_GAMEOS_BIN);
                        pboot_quit();
                }
        case TwinEventKeyUp: