Up to [local] / src / usr.sbin / installboot
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.12 / (download) - annotate - [select for diffs], Wed Dec 28 21:30:16 2022 UTC (17 months, 1 week ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
HEAD
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 31 18:46:06 2022 UTC (21 months, 1 week ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2
Changes since 1.10: +169 -3 lines
Diff to previous 1.10 (colored)
Make installboot on landisk aware of a possible MBR on the disk, and in this case install the first level bootstrap at the beginning of the of the wd0a filesystem, rather than at the beginning of the disk. Both locations work but the previous behaviour overwriting an existing MBR is a violation of POLA. tweaks & ok krw@
Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 20 14:51:56 2021 UTC (2 years, 10 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0
Changes since 1.9: +6 -1 lines
Diff to previous 1.9 (colored)
Add -p option to "prepare" (newfs) a filesystem that will be used for the bootloader. This is a no-op on architectures where such a filesystem isn't needed. ok krw@, deraadt@
Revision 1.9 / (download) - annotate - [select for diffs], Sat Sep 1 16:55:29 2018 UTC (5 years, 9 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)
Remove 'overlap_allowance' parameter from bootstrap(). It was added to support Vax. Vax is dead Jim. ok deraadt@
Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 15 22:19:29 2016 UTC (8 years, 4 months ago) by tobiasu
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)
sync() needs unistd.h
Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 30 17:34:57 2015 UTC (8 years, 6 months ago) by jsing
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)
Revert the sync -> fsync conversion (at least for the time being) - there is a good chance that this is causing the 'No blocks to load' errors that various people have encountered.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 26 19:03:10 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored)
Apply pledge. The people I asked to review this did not get back to me, so we will test this a different way.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 15 19:27:30 2015 UTC (8 years, 7 months ago) by miod
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
Add an extra argument to bootstrap() to allow for a limited overlap between an existing partition and the boot blocks span, and update all callers to require an overlap limit of zero sectors (thus not changing their behaviour). Then, add proper support for vax: copy the 2nd-stage boot block to /boot and install the 1st-stage boot block at the beginning of the disk, retaining the disklabel; allow for an overlap of up to 16 sectors, which is perfectly fine as long as your `a' partition is FFS. Note that regular installs will not even have such an overlap, because the default OpenBSD span on a disk on vax starts at sector 16, but installation media use sperific layout which require this. ok krw@
Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 11 15:36:58 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)
needs at least some include love; choosing <stdlib.h>
Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 8 14:50:38 2015 UTC (8 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)
Refactor fileprefix() and filecopy() to use warn() instead of err() to display error message, and to return error indications (NULL and -1 respectively). Use the error indications in write_efisystem() to unwind in the face of more error conditions. In other cases just exit(1) to emulation current behaviour. ok deraadt@
Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 5 04:30:35 2015 UTC (8 years, 8 months ago) by miod
Branch: MAIN
Changes since 1.1: +14 -2 lines
Diff to previous 1.1 (colored)
Copy the stage2 file to / in md_installboot().
Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 19 02:58:50 2014 UTC (10 years, 4 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5
Rework installboot and use a single directory with a single makefile. The directory per machine model is arguably cleaner, however it does not play well with distrib/special and instbin. Discussed with deraadt@