From owner-svn-src-user@FreeBSD.ORG Sun Feb 13 03:20:45 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38A37106566C; Sun, 13 Feb 2011 03:20:45 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 27EF98FC0C; Sun, 13 Feb 2011 03:20:45 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1D3KjFT023982; Sun, 13 Feb 2011 03:20:45 GMT (envelope-from nyan@svn.freebsd.org) Received: (from nyan@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1D3KjUq023980; Sun, 13 Feb 2011 03:20:45 GMT (envelope-from nyan@svn.freebsd.org) Message-Id: <201102130320.p1D3KjUq023980@svn.freebsd.org> From: Takahashi Yoshihiro Date: Sun, 13 Feb 2011 03:20:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218628 - user/nwhitehorn/bsdinstall/partedit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2011 03:20:45 -0000 Author: nyan Date: Sun Feb 13 03:20:44 2011 New Revision: 218628 URL: http://svn.freebsd.org/changeset/base/218628 Log: Fix pc98 support. Reviewed by: nwhitehorn Modified: user/nwhitehorn/bsdinstall/partedit/partedit_pc98.c Modified: user/nwhitehorn/bsdinstall/partedit/partedit_pc98.c ============================================================================== --- user/nwhitehorn/bsdinstall/partedit/partedit_pc98.c Sun Feb 13 00:14:13 2011 (r218627) +++ user/nwhitehorn/bsdinstall/partedit/partedit_pc98.c Sun Feb 13 03:20:44 2011 (r218628) @@ -9,10 +9,10 @@ default_scheme(void) { int is_scheme_bootable(const char *part_type) { - if (strcmp(part_type, "PC98") == 0) - return (1); if (strcmp(part_type, "BSD") == 0) return (1); + if (strcmp(part_type, "PC98") == 0) + return (1); return (0); } @@ -25,6 +25,8 @@ bootpart_size(const char *part_type) { const char * bootcode_path(const char *part_type) { + if (strcmp(part_type, "PC98") == 0) + return ("/boot/pc98boot"); if (strcmp(part_type, "BSD") == 0) return ("/boot/boot");