summaryrefslogtreecommitdiff
path: root/usr/src/cmd/boot/bootadm
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-03-1014443 resection manual pages per IPD4Richard Lowe2-5/+5
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>
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-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 Soome1-0/+1
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> 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-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-02-119696 add /etc/system.d supportAlexander Eremin1-1/+150
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 Levon1-1/+3
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@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-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-09-219627 No longer need 32-bit boot_archiveAndy Fiddaman2-276/+316
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-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-02-069027 Makefiles need to specify C99 mode consistentlyYuri Pankov1-1/+1
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-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-01-116396 remove SVMYuri Pankov2-264/+5
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-08-046005 bootadm update-archive should create/update archive sha-1 hashToomas Soome4-2/+291
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Albert Lee <trisk@omniti.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
2016-08-027242 usr/src/cmd/boot build needs cleanupToomas Soome3-43/+43
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
2016-06-096314 buffer overflow in dsl_dataset_nameMatthew Ahrens1-8/+9
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-02-276659 nvlist_free(NULL) is a no-opJosef 'Jeff' Sipek1-4/+2
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@joyent.com>
2015-09-186187 bootadm is using wrong symbol to select SPARC specific codeToomas Soome1-8/+8
Reviewed by: Alexander Pyhalov <apyhalov@gmail.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Josef Sipek <jeffpc@josefsipek.net> Approved by: Dan McDonald <danmcd@omniti.com>
2015-09-166085 export libbe installboot functionToomas Soome1-2/+295
6086 add install bootblock option for bootadm Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Adam Števko <adam.stevko@gmail.com> Reviewed by: Josef Sipek <jeffpc@josefsipek.net> Approved by: Robert Mustacchi <rm@joyent.com>
2015-07-306087 bootadm message.h is hiding errors from lintToomas Soome3-275/+281
Reviewed by: Josef Sipek <jeffpc@josefsipek.net> Reviewed by: Marcel Telka <marcel.telka@nexenta.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2015-07-236072 extra symbols in bootadm usage() outputToomas Soome1-2/+2
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-02-205561 support root pools on EFI/GPT partitioned disksHans Rosenfeld1-8/+26
5125 update zpool/libzfs to manage bootable whole disk pools (EFI/GPT labeled disks) Reviewed by: Jean McCormack <jean.mccormack@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2014-12-045377 bootadm update-archive misidentifies BEs as ramdisksAlexander Eremin1-3/+4
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@omniti.com>
2014-09-105062 bootadm update-archive should not fail if grub1 is missingToomas Soome2-8/+3
Reviewed by: Gary Mills <gary_mills@fastmail.fm> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2012-09-222933 compiler warning gags need better granularityRichard Lowe1-0/+4
Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2012-02-182077 lots of unreachable breaks in illumos gateMilan Jurik1-1/+1
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2012-02-04763 FMD msg URLs should refer to something visibleJoshua M. Clulow1-2/+2
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Yuri Pankov <yuri.pankov@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-06-14923 bootadm tries to rebuild archives which it shouldn'tAlexander Eremin2-1/+64
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Albert Lee <trisk@nexenta.com>
2010-08-12PSARC 2010/299 GNU/Linux/BSD compatibility functionsRoger A. Faulkner1-23/+12
6960818 add get_nprocs(), getline(), strdupa(), strndup() to libc 6901783 strndup would be nice 6824404 libc should provide ffsl() & ffsll() 6793969 RFE: Add|stpcpy|to libc 6735446 Want a __progname symbol for BSD-style source compatibility 6421095 Solaris should provide strcasestr 6275498 Provide string compare functions wcscasecmp,wcsncasecmp in solaris like linux --HG-- rename : usr/src/lib/libc/port/gen/strcasecmp.c => usr/src/lib/libc/port/gen/ascii_strcasecmp.c rename : usr/src/lib/libc/port/gen/strncasecmp.c => usr/src/lib/libc/port/gen/ascii_strncasecmp.c rename : usr/src/lib/libc/sparc/gen/strcasecmp.s => usr/src/lib/libc/sparc/gen/ascii_strcasecmp.s rename : usr/src/lib/libc/sparcv9/gen/strcasecmp.s => usr/src/lib/libc/sparcv9/gen/ascii_strcasecmp.s
2010-07-306949698 bootadm needs to be updated to include Oracle in the grub titleGeorge Asaad1-5/+7
2010-07-236970361 delete deferred activation patching hooks from nevada ONDan Price1-52/+3
2010-04-056938076 bootadm can create a grub menu with a missing '$' for the kernel ↵Edward Gillett1-19/+4
line with Solaris Next build 135
2010-03-126276367 recovery from boot_archive failures could be more fully automatedGangadhar Mylapuram1-1/+13
2010-03-016881648 running reboot in single user mode ( reboot -- -s ) after 141445-09 ↵Gangadhar Mylapuram1-5/+20
is applied gives errors
2010-02-126913949 bootadm must avoid fragile fstyp implementations to survive install ↵Jan Setje-Eilers1-3/+7
not clearing the disk
2010-01-296914346 upgrade from OpenSolaris 2009.06 (111b2) to 130 fails with stale ↵Enrico Perla - Sun Microsystems1-3/+6
archive_cache
2009-12-156910381 bootadm may dump core when converting some menu.lst entriesWilliam Kucharski2-61/+82
2009-12-046894057 cmd format Failed to initialize libfdiskSharath M Srinivasan1-0/+3