#
1.21 |
|
24-Jun-2022 |
tsutsui |
Use proper ANSI function declarations.
|
#
1.20 |
|
21-Apr-2022 |
martin |
Make default installations a bit more secure: - push a bit harder for setup of a root password - simplify/clarify manual entropy setup - visit the entropy setup (on machines where it is needed) on the default path through sysinst
|
#
1.19 |
|
29-Jan-2022 |
martin |
When upgrading, update the boot code post extraction from the updated target file system.
|
#
1.18 |
|
12-Aug-2021 |
martin |
PR 56354: all actions to set up swap space are not guaranteed to gain us enough virtual memory anyway, so drop return codes from set_swap*. The state for cleanup (which swap dev to unuse) has been made global some time ago anyway.
Previously use of the return values was inconsistent. Error reporting will only confuse users and sometimes the situation is hard to fix or even impossible (like in miniroots copide to swap space for booting).
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.17 |
|
04-Nov-2020 |
martin |
Add (experimental) entropy input support: Early during new installs or after upgrades we check if entropy is available. If not (no hardware random number generator available) we inform the user and ask them to fix it.
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
#
1.16 |
|
06-Feb-2020 |
martin |
Make re-install sets also work for an explicit selected root wedge
|
#
1.15 |
|
06-Feb-2020 |
martin |
PR bin/54944: make the "explicit single wedge" selection also work for upgrades.
|
#
1.14 |
|
16-Jan-2020 |
martin |
Remove useless calls to get_ramsize() - return value is ignored and the function has no side effects.
|
Revision tags: phil-wifi-20191119
|
#
1.13 |
|
27-Aug-2019 |
martin |
Do not offer to upgared the "current system" if we are running off a CD (i.e. / is mounted read-only)
|
Revision tags: netbsd-9-base
|
#
1.12 |
|
23-Jul-2019 |
martin |
branches: 1.12.2; For upgrade / re-install allow the currently running system as a target in the "disk" selection.
|
#
1.11 |
|
23-Jul-2019 |
martin |
Fix the "reinstall sets" action.
|
#
1.10 |
|
23-Jul-2019 |
martin |
When searching for a partition that may be the root partition for upgrading, allow "/", "/targetroot" and "/altroot" as potential last mount points.
|
#
1.9 |
|
24-Jun-2019 |
martin |
If low on ram, mount the proper swap partition before doing the main upgrade work.
|
#
1.8 |
|
20-Jun-2019 |
christos |
Use _fmt_ msg_ methods when formats are needed.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: netbsd-8-2-RELEASE phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
branches: 1.6.16; Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|
#
1.20 |
|
21-Apr-2022 |
martin |
Make default installations a bit more secure: - push a bit harder for setup of a root password - simplify/clarify manual entropy setup - visit the entropy setup (on machines where it is needed) on the default path through sysinst
|
#
1.19 |
|
29-Jan-2022 |
martin |
When upgrading, update the boot code post extraction from the updated target file system.
|
#
1.18 |
|
12-Aug-2021 |
martin |
PR 56354: all actions to set up swap space are not guaranteed to gain us enough virtual memory anyway, so drop return codes from set_swap*. The state for cleanup (which swap dev to unuse) has been made global some time ago anyway.
Previously use of the return values was inconsistent. Error reporting will only confuse users and sometimes the situation is hard to fix or even impossible (like in miniroots copide to swap space for booting).
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.17 |
|
04-Nov-2020 |
martin |
Add (experimental) entropy input support: Early during new installs or after upgrades we check if entropy is available. If not (no hardware random number generator available) we inform the user and ask them to fix it.
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
#
1.16 |
|
06-Feb-2020 |
martin |
Make re-install sets also work for an explicit selected root wedge
|
#
1.15 |
|
06-Feb-2020 |
martin |
PR bin/54944: make the "explicit single wedge" selection also work for upgrades.
|
#
1.14 |
|
16-Jan-2020 |
martin |
Remove useless calls to get_ramsize() - return value is ignored and the function has no side effects.
|
Revision tags: phil-wifi-20191119
|
#
1.13 |
|
27-Aug-2019 |
martin |
Do not offer to upgared the "current system" if we are running off a CD (i.e. / is mounted read-only)
|
Revision tags: netbsd-9-base
|
#
1.12 |
|
23-Jul-2019 |
martin |
branches: 1.12.2; For upgrade / re-install allow the currently running system as a target in the "disk" selection.
|
#
1.11 |
|
23-Jul-2019 |
martin |
Fix the "reinstall sets" action.
|
#
1.10 |
|
23-Jul-2019 |
martin |
When searching for a partition that may be the root partition for upgrading, allow "/", "/targetroot" and "/altroot" as potential last mount points.
|
#
1.9 |
|
24-Jun-2019 |
martin |
If low on ram, mount the proper swap partition before doing the main upgrade work.
|
#
1.8 |
|
20-Jun-2019 |
christos |
Use _fmt_ msg_ methods when formats are needed.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: netbsd-8-2-RELEASE phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
branches: 1.6.16; Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|
#
1.19 |
|
29-Jan-2022 |
martin |
When upgrading, update the boot code post extraction from the updated target file system.
|
#
1.18 |
|
12-Aug-2021 |
martin |
PR 56354: all actions to set up swap space are not guaranteed to gain us enough virtual memory anyway, so drop return codes from set_swap*. The state for cleanup (which swap dev to unuse) has been made global some time ago anyway.
Previously use of the return values was inconsistent. Error reporting will only confuse users and sometimes the situation is hard to fix or even impossible (like in miniroots copide to swap space for booting).
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.17 |
|
04-Nov-2020 |
martin |
Add (experimental) entropy input support: Early during new installs or after upgrades we check if entropy is available. If not (no hardware random number generator available) we inform the user and ask them to fix it.
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
#
1.16 |
|
06-Feb-2020 |
martin |
Make re-install sets also work for an explicit selected root wedge
|
#
1.15 |
|
06-Feb-2020 |
martin |
PR bin/54944: make the "explicit single wedge" selection also work for upgrades.
|
#
1.14 |
|
16-Jan-2020 |
martin |
Remove useless calls to get_ramsize() - return value is ignored and the function has no side effects.
|
Revision tags: phil-wifi-20191119
|
#
1.13 |
|
27-Aug-2019 |
martin |
Do not offer to upgared the "current system" if we are running off a CD (i.e. / is mounted read-only)
|
Revision tags: netbsd-9-base
|
#
1.12 |
|
23-Jul-2019 |
martin |
branches: 1.12.2; For upgrade / re-install allow the currently running system as a target in the "disk" selection.
|
#
1.11 |
|
23-Jul-2019 |
martin |
Fix the "reinstall sets" action.
|
#
1.10 |
|
23-Jul-2019 |
martin |
When searching for a partition that may be the root partition for upgrading, allow "/", "/targetroot" and "/altroot" as potential last mount points.
|
#
1.9 |
|
24-Jun-2019 |
martin |
If low on ram, mount the proper swap partition before doing the main upgrade work.
|
#
1.8 |
|
20-Jun-2019 |
christos |
Use _fmt_ msg_ methods when formats are needed.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: netbsd-8-2-RELEASE phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
branches: 1.6.16; Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|
#
1.18 |
|
12-Aug-2021 |
martin |
PR 56354: all actions to set up swap space are not guaranteed to gain us enough virtual memory anyway, so drop return codes from set_swap*. The state for cleanup (which swap dev to unuse) has been made global some time ago anyway.
Previously use of the return values was inconsistent. Error reporting will only confuse users and sometimes the situation is hard to fix or even impossible (like in miniroots copide to swap space for booting).
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.17 |
|
04-Nov-2020 |
martin |
Add (experimental) entropy input support: Early during new installs or after upgrades we check if entropy is available. If not (no hardware random number generator available) we inform the user and ask them to fix it.
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
#
1.16 |
|
06-Feb-2020 |
martin |
Make re-install sets also work for an explicit selected root wedge
|
#
1.15 |
|
06-Feb-2020 |
martin |
PR bin/54944: make the "explicit single wedge" selection also work for upgrades.
|
#
1.14 |
|
16-Jan-2020 |
martin |
Remove useless calls to get_ramsize() - return value is ignored and the function has no side effects.
|
Revision tags: phil-wifi-20191119
|
#
1.13 |
|
27-Aug-2019 |
martin |
Do not offer to upgared the "current system" if we are running off a CD (i.e. / is mounted read-only)
|
Revision tags: netbsd-9-base
|
#
1.12 |
|
23-Jul-2019 |
martin |
branches: 1.12.2; For upgrade / re-install allow the currently running system as a target in the "disk" selection.
|
#
1.11 |
|
23-Jul-2019 |
martin |
Fix the "reinstall sets" action.
|
#
1.10 |
|
23-Jul-2019 |
martin |
When searching for a partition that may be the root partition for upgrading, allow "/", "/targetroot" and "/altroot" as potential last mount points.
|
#
1.9 |
|
24-Jun-2019 |
martin |
If low on ram, mount the proper swap partition before doing the main upgrade work.
|
#
1.8 |
|
20-Jun-2019 |
christos |
Use _fmt_ msg_ methods when formats are needed.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: netbsd-8-2-RELEASE phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
branches: 1.6.16; Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|
#
1.17 |
|
04-Nov-2020 |
martin |
Add (experimental) entropy input support: Early during new installs or after upgrades we check if entropy is available. If not (no hardware random number generator available) we inform the user and ask them to fix it.
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
#
1.16 |
|
06-Feb-2020 |
martin |
Make re-install sets also work for an explicit selected root wedge
|
#
1.15 |
|
06-Feb-2020 |
martin |
PR bin/54944: make the "explicit single wedge" selection also work for upgrades.
|
#
1.14 |
|
16-Jan-2020 |
martin |
Remove useless calls to get_ramsize() - return value is ignored and the function has no side effects.
|
Revision tags: phil-wifi-20191119
|
#
1.13 |
|
27-Aug-2019 |
martin |
Do not offer to upgared the "current system" if we are running off a CD (i.e. / is mounted read-only)
|
Revision tags: netbsd-9-base
|
#
1.12 |
|
23-Jul-2019 |
martin |
branches: 1.12.2; For upgrade / re-install allow the currently running system as a target in the "disk" selection.
|
#
1.11 |
|
23-Jul-2019 |
martin |
Fix the "reinstall sets" action.
|
#
1.10 |
|
23-Jul-2019 |
martin |
When searching for a partition that may be the root partition for upgrading, allow "/", "/targetroot" and "/altroot" as potential last mount points.
|
#
1.9 |
|
24-Jun-2019 |
martin |
If low on ram, mount the proper swap partition before doing the main upgrade work.
|
#
1.8 |
|
20-Jun-2019 |
christos |
Use _fmt_ msg_ methods when formats are needed.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: netbsd-8-2-RELEASE phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
branches: 1.6.16; Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|
#
1.16 |
|
06-Feb-2020 |
martin |
Make re-install sets also work for an explicit selected root wedge
|
#
1.15 |
|
06-Feb-2020 |
martin |
PR bin/54944: make the "explicit single wedge" selection also work for upgrades.
|
#
1.14 |
|
16-Jan-2020 |
martin |
Remove useless calls to get_ramsize() - return value is ignored and the function has no side effects.
|
Revision tags: phil-wifi-20191119
|
#
1.13 |
|
27-Aug-2019 |
martin |
Do not offer to upgared the "current system" if we are running off a CD (i.e. / is mounted read-only)
|
Revision tags: netbsd-9-base
|
#
1.12 |
|
23-Jul-2019 |
martin |
branches: 1.12.2; For upgrade / re-install allow the currently running system as a target in the "disk" selection.
|
#
1.11 |
|
23-Jul-2019 |
martin |
Fix the "reinstall sets" action.
|
#
1.10 |
|
23-Jul-2019 |
martin |
When searching for a partition that may be the root partition for upgrading, allow "/", "/targetroot" and "/altroot" as potential last mount points.
|
#
1.9 |
|
24-Jun-2019 |
martin |
If low on ram, mount the proper swap partition before doing the main upgrade work.
|
#
1.8 |
|
20-Jun-2019 |
christos |
Use _fmt_ msg_ methods when formats are needed.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|
#
1.14 |
|
16-Jan-2020 |
martin |
Remove useless calls to get_ramsize() - return value is ignored and the function has no side effects.
|
Revision tags: phil-wifi-20191119
|
#
1.13 |
|
27-Aug-2019 |
martin |
Do not offer to upgared the "current system" if we are running off a CD (i.e. / is mounted read-only)
|
Revision tags: netbsd-9-base
|
#
1.12 |
|
23-Jul-2019 |
martin |
branches: 1.12.2; For upgrade / re-install allow the currently running system as a target in the "disk" selection.
|
#
1.11 |
|
23-Jul-2019 |
martin |
Fix the "reinstall sets" action.
|
#
1.10 |
|
23-Jul-2019 |
martin |
When searching for a partition that may be the root partition for upgrading, allow "/", "/targetroot" and "/altroot" as potential last mount points.
|
#
1.9 |
|
24-Jun-2019 |
martin |
If low on ram, mount the proper swap partition before doing the main upgrade work.
|
#
1.8 |
|
20-Jun-2019 |
christos |
Use _fmt_ msg_ methods when formats are needed.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|
#
1.13 |
|
27-Aug-2019 |
martin |
Do not offer to upgared the "current system" if we are running off a CD (i.e. / is mounted read-only)
|
Revision tags: netbsd-9-base
|
#
1.12 |
|
23-Jul-2019 |
martin |
branches: 1.12.2; For upgrade / re-install allow the currently running system as a target in the "disk" selection.
|
#
1.11 |
|
23-Jul-2019 |
martin |
Fix the "reinstall sets" action.
|
#
1.10 |
|
23-Jul-2019 |
martin |
When searching for a partition that may be the root partition for upgrading, allow "/", "/targetroot" and "/altroot" as potential last mount points.
|
#
1.9 |
|
24-Jun-2019 |
martin |
If low on ram, mount the proper swap partition before doing the main upgrade work.
|
#
1.8 |
|
20-Jun-2019 |
christos |
Use _fmt_ msg_ methods when formats are needed.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|
#
1.12 |
|
23-Jul-2019 |
martin |
For upgrade / re-install allow the currently running system as a target in the "disk" selection.
|
#
1.11 |
|
23-Jul-2019 |
martin |
Fix the "reinstall sets" action.
|
#
1.10 |
|
23-Jul-2019 |
martin |
When searching for a partition that may be the root partition for upgrading, allow "/", "/targetroot" and "/altroot" as potential last mount points.
|
#
1.9 |
|
24-Jun-2019 |
martin |
If low on ram, mount the proper swap partition before doing the main upgrade work.
|
#
1.8 |
|
20-Jun-2019 |
christos |
Use _fmt_ msg_ methods when formats are needed.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|
#
1.9 |
|
24-Jun-2019 |
martin |
If low on ram, mount the proper swap partition before doing the main upgrade work.
|
#
1.8 |
|
20-Jun-2019 |
christos |
Use _fmt_ msg_ methods when formats are needed.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|
#
1.8 |
|
20-Jun-2019 |
christos |
Use _fmt_ msg_ methods when formats are needed.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|
#
1.7 |
|
12-Jun-2019 |
martin |
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions.
Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART.
Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage:
- partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme".
- implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon)
- partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions".
- all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific)
Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release.
This work was sponsored by The NetBSD Foundation, Inc.
|
Revision tags: phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.6 |
|
28-Aug-2015 |
joerg |
Simplify.
|
#
1.5 |
|
25-Jul-2015 |
isaki |
indent and some KNF.
|
#
1.4 |
|
10-May-2015 |
martin |
Backout the previous incorrect fix for PR 49440 and redo it more globaly: get rid of the global "yesno", introduce utility functions "ask_yesno()" and "ask_noyes()" instead, greatly simplifying a lot of code. Pass in a pointer to the return value to various "set source" menus.
|
#
1.3 |
|
02-Jan-2015 |
abs |
Rather than scatter set_swap() calls wrapped in ram size checks through md_post_disklabel() and md_pre_update(), abstract them out to an MI set_swap_if_low_ram() and call from the appropriate MI places. Now all platforms add swap if the system has <= 32M of RAM.
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
#
1.2 |
|
03-Aug-2014 |
martin |
branches: 1.2.2; 1.2.4; 1.2.6; (Finally) merge a slightly modified version of the 2012 GSoC results from Eugene Lozovoy: add extended partitioning options to sysinst. Still needs some testing and polishing, but it now is possible to use GPT or to create a RAID set from scratch and install onto it.
|
#
1.1 |
|
26-Jul-2014 |
dholland |
Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other changes, to maximize the probability that this will be treated as a rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two goals: making it easier to work on sysinst, and also making sysinst available on running systems for use installing chroots and VM images and other such things. None of the latter is possible yet, but as they say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz, riastradh, me, and groo.
|