Put the 'mbr has bootselect table' marker into all versions of the mbr code.
Having the table in the 'standard' mbr allows fdisk to write in bootsel menu items and only ask about updating the mbr code before exit. Sysinst validates that the mbr code contains the bootselect table for all the mbr code variants it reads - because it might want to write the table and doesn't really want to make the validation dependant on what it is going to do later. Fixes install/25235, but sysinst needs some changes (like reporting the failure to write the mbr) before the pr itself is closed.
This commit is contained in:
parent
46aadbda46
commit
5d3e088ee0
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mbr.S,v 1.5 2004/03/22 07:11:00 lukem Exp $ */
|
||||
/* $NetBSD: mbr.S,v 1.6 2004/04/23 06:21:21 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999-2004 The NetBSD Foundation, Inc.
|
||||
@ -551,11 +551,7 @@ nametab:
|
||||
|
||||
/* mbr_bootsel_magic */
|
||||
. = start + MBR_BS_MAGIC_OFFSET
|
||||
#ifdef BOOTSEL
|
||||
.word MBR_BS_MAGIC
|
||||
#else
|
||||
.word 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* MBR partition table
|
||||
|
Loading…
Reference in New Issue
Block a user