Index: distrib/utils/sysinst/arch/macppc/md.c =================================================================== RCS file: /export/20070724a/Repository/src/distrib/utils/sysinst/arch/macppc/md.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 md.c --- distrib/utils/sysinst/arch/macppc/md.c 16 Aug 2007 13:52:45 -0000 1.1.1.1 +++ distrib/utils/sysinst/arch/macppc/md.c 20 Aug 2007 01:16:49 -0000 @@ -123,16 +123,23 @@ * * On the macppc, we use this opportunity to install the boot blocks. */ + int md_post_newfs(void) { const char *bootfile = "/boot"; + char installboot[64]; + char boot[64]; + char bootxx[64]; + strcpy(installboot, target_expand("/usr/mdec/installboot")); + strcpy(boot, target_expand("/boot")); + strcpy(bootxx, target_expand("/usr/mdec/bootxx")); printf (msg_string(MSG_dobootblks), diskdev); cp_to_target("/usr/mdec/ofwboot", bootfile); sync(); - run_program(RUN_DISPLAY, "/usr/sbin/installboot /dev/r%sa %s %s", - diskdev, "/usr/mdec/bootxx", bootfile); + run_program(RUN_DISPLAY, "%s %s %s /dev/%sc ", + installboot, boot, bootxx, diskdev); return 0; }