summaryrefslogtreecommitdiff
path: root/usr.sbin/sysinst
AgeCommit message (Collapse)Author
2023-06-24Fix typo in comment.msaitoh
2023-06-09If the install medium does not come with any openssl trusted root certs,martin
tell ftp(1) not to verify trust chains when doing https downloads.
2023-06-03adapt to ${CC_WNO_STRINGOP_TRUNCATION}lukem
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-03-26fix various typos in documentation, comments and sysctl device description.andvar
mainly aion -> ation and inlude -> include.
2023-03-14Correct a minor word usage error in a comment. NFC.kre
2023-02-12Add "-i -E" to /bin/sh called from sysinstabs
This enables command line editing (primarily for arrow keys, but basic emacs sequences will also work) In the event that the shell has been compiled without command line editing features (for memory contrained install environments) the -E is ignored
2023-01-06When matching real partitions to "wanted" install descriptions, skipmartin
all types of special partitions (like raw disk, or the MBR container partition for the NetBSD part of the disk). The start of the partition is no unique identifier if we include these in the matching (e.g. boot partition and raw partition may both start at sector 0).
2023-01-06PR 55058: force the boot partition to sd0d, so our root partitions becomesmartin
sd0a again.
2023-01-06cosmetics: fix indentationmartin
2023-01-06Minor fix calculating the remaining buffer size for partition flags.martin
2023-01-06Provide a disklabel specific MD hook MD_DISKLABEL_PART_INDEX_CHECKmartin
to allow MD code to veto specific disklabel partitions for specific uses, e.g. to make sure a boot partition does not end up as sd0a. Most architectures won't need this, as the file system type makes the generic heuristic do the right thing (e.g. move the ESP to wd0e for x86) - but for some architectures the boot partition uses FFS and our heuristic fails.
2023-01-03Clear the msg area after prompting for the network device to usemartin
2022-12-27PR 57132: when calculation additional space available for the "expanded"martin
partition (typically /) do not forget the reserved space (that might be required for the system/bootloader/other MD stuff).
2022-12-16Switch back to FFSv2ea as default for new installationsmartin
2022-12-15PR 57100: in manual mode, we can not ignore existing partitionsmartin
completley, as that causes inconsistent internal state.
2022-12-15PR 57100: check if we can newfs the proper fstype when adding a newmartin
partition and accepting the default FS type.
2022-12-15Add an (expert) option to manually edit partitions, inspired by PR 57100.martin
2022-12-15PR 57100: when adding a new partition, update current flags aftermartin
the backend has added the partion, so the re-sorting later can match the new data properly.
2022-12-15Temporarily back out rev 1.66 and switch the default FFS type back tomartin
FFSv2 (w/o ea) for the upcoming netbsd-10 branch.
2022-12-15PR 57100: fix install flag handling for newly added GPT partitions,martin
fix multiple install flags when updating existing partitions.
2022-12-11When generating a script for disklabel(8) do not use the "pretty printed"martin
file system type names, but the raw ones that disklabel(8) actually knows about.
2022-12-10Update list with file systems who do have fsck adding udf since there is now areinoud
fsck_udf.
2022-12-10Always map FS_BSDFFS to one of "FFS", "FFSv2" or "FFSv2ea" - previouslymartin
the disklabel name "4.2BSD" could show up initially but we could never go back to it via the menu used to change the file system type. This was confusing.
2022-12-10Comment and code style (cosmetic) changes, no functional changemartin
2022-12-10VAX bootxx has had ffsv2 support since May 2018, allow its use as bootjakllsch
filesystem in sysinst. Sucessfully tested in simh-microvax3900 booting from FFSv2ea.
2022-12-09Add set_default_sizemult() calls to some architectures obviouslymartin
lacking it.
2022-12-09A little less (confusing) magic: adjust the size of / when adding /usrmartin
only if / has not beenn manually resized.
2022-11-30Fix primary boot selection for FFSv2ea filesystemsmartin
2022-11-30Switch the default FFS type from FFSv2 to FFSv2ea - we want extendedmartin
attribute support to be exercised and tested. If you want to share a new installed disk with older NetBSD installations or (read only) with other OSes you need to explicitly set the FS type to FFSv2 now.
2022-11-30Add support for FFSv2ea in the partition type menus (internally settingmartin
fs version to 3 for this, where 2 is FFSv2 and 1 is FFSv1)
2022-11-17Restore backward compatibility of UFS2 with previous NetBSD releases bychs
disabling support in UFS2 for extended attributes (including ACLs). Add a new variant of UFS2 called "UFS2ea" that does support extended attributes. Add new fsck_ffs operations "-c ea" and "-c no-ea" to convert file systems from UFS2 to UFS2ea and vice-versa (both of which delete all existing extended attributes in the process).
2022-10-02PR install/57025: revert bogus rev 1.9 which was only papering overmartin
a bug in the adoption of the MBR handling code and fix the original conversion bug instead: - run fdisk to install the MBR bootcode on the raw disk partition - run installboot against the NetBSD root partition (not the raw partition).
2022-08-30Simplify name trimming following a suggestion from rillig.martin
2022-08-30Fix typo (pointed out by rillig)martin
2022-08-30Invoke magic C promotion rules as originally intended - oops!martin
Pointed out by rillig@
2022-08-29Trim trailing whitespace from disk names we got via drvctl.martin
2022-08-28Choose a proper kernel set per a running kernel during installation.tsutsui
Mostly taken from sgimips. This avoids users from overwriting by the default ATARITT kernel on non TT machines like Falcon, Hades, and Milan etc.
2022-07-22Add a menu option to set the file extension of the downloaded sets.christos
amd64 sets are .tar.xz and sysinst fails by default.
2022-07-11Avoid C++-isms (stupid muscle memory) to fix the build.martin
2022-07-10We may try to extract the "last mounted on" field from EFI partitionsmartin
too.
2022-07-10Preparations to make the extended partitioning during normal installationmartin
more usefull - pass an optional install_description to partman().
2022-06-26Fix typomartin
2022-06-24Check on-disk disklabel properly even on ports without raw BSD disklabel.tsutsui
Fixes PR install/56890.
2022-06-24Use proper ANSI function declarations.tsutsui
2022-06-21Fix inverted condition in previous and only apply special handling formartin
the "all of NetBSD" partition when we have an outer MBR label. Pointed out by Izumi Tsutsui. Hopefully the last fix needed for PR 56886.
2022-06-21Fix free space accounting when partitions change size or are deleted.martin
Part of PR 56886.
2022-06-21renumber_partitions() needs to deal with removed/added partitions.martin
2022-06-21Fix free space accounting for partition size changes and deletions.martin
Part of PR 56886.
2022-06-21disklabel_can_add_partition() did not consider additional partitionsmartin
(while there still is space in the disklabel). Part of PR 56886.