summaryrefslogtreecommitdiff
path: root/usr/src/cmd/boot
AgeCommit message (Collapse)AuthorFilesLines
2022-12-0515201 bootadm list-menu segfaults for non-existent datasetsToomas Soome1-1/+7
Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-12-059293 bootadm: empty line between boot entries in menu.lst cause bootadm ↵Toomas Soome1-8/+13
list-menu to segfault Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-05-1714628 ancient devicedb should be removedRichard Lowe1-1/+0
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-03-1014443 resection manual pages per IPD4Richard Lowe4-10/+9
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-08-0513710 create_ramdisk: prepare cpio boot archive for sparcToomas Soome1-34/+89
Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Klaus Ziegler <klausz@haus-gisela.de> Approved by: Dan McDonald <danmcd@joyent.com>
2021-07-3013980 filelists: SPARC boot archive update is missing file updatesToomas Soome2-4/+9
Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2021-03-0913605 ramdisk systems have no boot_archiveJoshua M. Clulow1-1/+9
Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-11-137537 want nextboot (one time boot) supportToomas Soome1-0/+26
Reviewed by: Jason King <jason.brian.king+illumos@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-05-2612781 /etc/ppt_aliases needs to be in the boot archiveAndy Fiddaman1-0/+1
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-05-1812729 bootadm set-menu timeout crashes without timeout valueAlexander Eremin1-0/+4
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-02-0512217 add ld assert-deflib and guidance to gate buildToomas Soome2-4/+3
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-11-2011999 installboot: multiple stage1 locations are mismanagedToomas Soome1-14/+26
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
2019-10-1111782 reboot -f ends up creating bad /boot/transient.confAndy Fiddaman1-7/+7
11783 Print a message when rebooting due to a stale boot archive Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Dominik Hassler <hadfl@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-10-0911777 bootadm: list-menu -o entry=X does not list details when bootfs has colonToomas Soome1-1/+2
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
2019-10-0211757 installboot: install vbr only when stage2 is installedToomas Soome1-12/+27
Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Garrett D'Amore <garrett@damore.org>
2019-09-2311743 installboot: stage2 partition may be smaller than mboot bufferToomas Soome1-2/+5
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
2019-09-2311742 installboot: PCFS needs mbr update even if there is X86BOOT partitionToomas Soome1-8/+5
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
2019-09-2011712 installboot: ignore the case of missing loader64.efi or loader32.efiToomas Soome1-13/+39
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-09-1211626 introduce /etc/versions/buildJohn Levon1-0/+1
11627 clean up UUID code for ::status Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-09-1011634 installboot should support ESP updatesToomas Soome3-1003/+1878
Reviewed by: Alexander Eremin <a.eremin@nexenta.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-07-3111502 installboot: find_multiboot() does crash with small filesToomas Soome1-1/+2
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Robert Mustacchi <robert.mustacchi@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-07-0511288 bootadm: NULL pointer errorsToomas Soome2-19/+19
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-05-0610849 installboot: use err.h api and strdup()Toomas Soome2-28/+22
Reviewed by: Robert MusMustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-119696 add /etc/system.d supportAlexander Eremin2-1/+151
Portions contributed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-1410080 smatch Makefile changes for usr/src/cmdJohn Levon3-2/+10
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@joyent.com>
2018-12-2110049 mboot: mboot is no longer neededToomas Soome3-219/+0
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Rob Johnston <rob.johnston@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-12-0310014 bootadm: menu_free() is accessing freed memoryToomas Soome1-1/+3
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.net> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-12-0310013 bootadm: list_menu_entry() is missing elseToomas Soome1-1/+1
Reviewed by: Andy Fiddaman <omnios@citrus-it.net> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-12-039987 loader.efi: add version supportToomas Soome1-2/+2
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-179892 Most consumers of be_list() do not need snapshotsAndy Fiddaman2-7/+8
Reviewed by: Dominik Hassler <hadfl@omniosce.org> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Jim Klimov <jim@cos.ru> Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2018-10-079860 cpio_cleanup: $tarchive is already fully-qualifiedAndy Fiddaman1-3/+1
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-09-219627 No longer need 32-bit boot_archiveAndy Fiddaman4-534/+554
9628 UFS boot archives are too large 9721 cmd/boot: support cpio boot archive Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-08-209753 installgrub: hard coded partition 0 with GPTToomas Soome1-1/+1
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Approved by: Dan McDonald <danmcd@joyent.com>
2018-04-259501 bootadm update-archive -nvC does more ZFS work than requiredAndy Fiddaman1-1/+2
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Dan McDonald <danmcd@joyent.com>
2018-03-109214 typo: sytem should be systemToomas Soome1-1/+1
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-02-069027 Makefiles need to specify C99 mode consistentlyYuri Pankov3-3/+3
Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
2018-01-258987 bootadm: add bootfile fallback to unixToomas Soome1-2/+2
Reviewed by: Yuri Pankov <yuripv@icloud.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.net> Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2017-06-308425 boot: create_ramdisk needs cleanupToomas Soome1-176/+45
Co-Author: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Alexander Eremin <alexander.r.eremin@gmail.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2017-06-108129 bootadm: add support for non-zfs boot entries in menu.lstToomas Soome2-175/+221
8226 missing boot environments cause bootadm list-menu to segfault Reviewed by: Yuri Pankov <yuripv@gmx.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: John Howard <Echosoft.LLC@gmail.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-05-038142 bootadm: get_boot_cap() should test for both 32-bit and 64-bit kernelToomas Soome1-3/+20
Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-05-038133 bootadm: is_ramdisk test is not functionalToomas Soome1-1/+1
Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Robert Mustacchi <rm@joyent.com>
2017-04-067945 simplify bootadm_digest.cDan McDonald2-180/+29
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-03-037722 bootblock versioning needs to deal with missing dataToomas Soome1-7/+36
Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@omniti.com>
2017-02-237888 installboot: print version info of the fileToomas Soome1-25/+36
Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2017-02-237854 installboot should set MBR to load partition boot block if it was installedToomas Soome1-10/+42
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-01-116396 remove SVMYuri Pankov3-273/+11
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2016-09-226706 disable grub menu management in bootadm (loader project)Toomas Soome1-4/+28
6707 disable grub menu management in libbe (loader project) Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
2016-09-226703 update bootadm to support loader configuration (loader project)Toomas Soome7-2226/+2654
6708 update eeprom for loader (loader project) Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Alex Wilson <alex.wilson@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-09-226701 add installboot to i386 platform (loader project)Toomas Soome9-52/+1857
Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
2016-08-057274 installgrub get_start_sector() is dereferencing NULL pointerToomas Soome1-2/+5
Reviewed by: Alexander Pyhalov <apyhalov@gmail.com> Reviewed by: Adam Stevko <adam.stevko@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>