#
4a5d5189 |
| 03-Feb-2022 |
visa <visa@openbsd.org> |
installboot(8): Adjustments for EFI platforms
Reduce #ifdef'ing within the control logic to make it clearer that there are no essential differences in behaviour between the platforms.
Make installb
installboot(8): Adjustments for EFI platforms
Reduce #ifdef'ing within the control logic to make it clearer that there are no essential differences in behaviour between the platforms.
Make installboot(8) write startup.nsh to enable simpler and more consistent code in install.md.
Input and OK kettenis@ deraadt@
show more ...
|
#
a80e7654 |
| 02-Feb-2022 |
visa <visa@openbsd.org> |
Add missing mode argument to open(2) with O_CREAT.
|
#
515e489c |
| 03-Jul-2019 |
deraadt <deraadt@openbsd.org> |
snprintf/vsnprintf return < 0 on error, rather than -1.
|
#
b3c2788b |
| 07-Nov-2018 |
miko <miko@openbsd.org> |
avoid freeing r twice in error case; OK otto@
|
#
6520caa8 |
| 03-Jul-2018 |
jcs <jcs@openbsd.org> |
installboot: adapt fileprefix() to future realpath(3) behavior
This was relying on realpath(3) working for paths that don't exist yet, which will be changing soon.
Use a combination of dirname(3),
installboot: adapt fileprefix() to future realpath(3) behavior
This was relying on realpath(3) working for paths that don't exist yet, which will be changing soon.
Use a combination of dirname(3), realpath(3), and basename(3) to construct a sane path while still ensuring that the target directory exists.
with martijn ok martijn, deraadt
show more ...
|
#
43aa4f76 |
| 04-Nov-2015 |
jsg <jsg@openbsd.org> |
fix a memory leak in multiple error paths ok krw@
|
#
e9230ec0 |
| 19-Oct-2015 |
krw <krw@openbsd.org> |
Nuke unused variable.
|
#
e09cbf07 |
| 14-Oct-2015 |
krw <krw@openbsd.org> |
Backout last. Breaks sparc64, amoung other dubiousness.
requested by deraadt@
|
#
2e8b15db |
| 12-Oct-2015 |
krw <krw@openbsd.org> |
Check that the disk specified on the command line is the disk that files are copied to. Error out with 'cross-device install' if not.
ok millert@, ok deraadt@ & jsing@ for previous version
|
#
597864b7 |
| 08-Oct-2015 |
krw <krw@openbsd.org> |
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
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@
show more ...
|
#
f66515a4 |
| 07-Oct-2015 |
krw <krw@openbsd.org> |
Add initial support for installing UEFI boot files to a GTP EFI System Partition. Further work to be done in-tree.
ok deraadt@
|
#
9b2ea772 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
first batch of cleanup to programs based upon the namespace cleanups in net/pfvar.h sys/proc.h sys/ucred.h arpa/nameser.h change to PATH_MAX, reduce use of MIN() and MAX(), HOST_NAME_MAX+1, LOGIN_NAM
first batch of cleanup to programs based upon the namespace cleanups in net/pfvar.h sys/proc.h sys/ucred.h arpa/nameser.h change to PATH_MAX, reduce use of MIN() and MAX(), HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc etc ok millert guenther, some review by doug
show more ...
|
#
6a1403f6 |
| 09-Jun-2014 |
jsing <jsing@openbsd.org> |
Change the installboot file copying process so that it carefully overwrites the existing file, before truncating it to the final length. This means that we will keep the same inode and potentially re
Change the installboot file copying process so that it carefully overwrites the existing file, before truncating it to the final length. This means that we will keep the same inode and potentially retain the same disk data block allocation between runs.
This will aid users who multiboot since it makes it less likely that the PBR will change, although as before, there is no guarantee. Obviously if the second stage boot loader grows or shrinks then the PBR will change regardless.
show more ...
|
#
10588eb2 |
| 19-Jan-2014 |
jsing <jsing@openbsd.org> |
When copying files do it in 512 byte blocks so that we're less likely to hit file system allocation issues on install media.
Requested by deraadt@
|
#
7762a34b |
| 18-Jan-2014 |
jsing <jsing@openbsd.org> |
Make installboot(8) easier to use - copy the second stage boot loader to the default location used by the given architecture. This eliminates the need to copy it over manually prior to running instal
Make installboot(8) easier to use - copy the second stage boot loader to the default location used by the given architecture. This eliminates the need to copy it over manually prior to running installboot.
show more ...
|
#
46339098 |
| 18-Jan-2014 |
jsing <jsing@openbsd.org> |
Add a -r flag that allows for the mount point of the root filesystem to be specified. This is primarily for use by the installer and defaults to /.
|