Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.
This commit is contained in:
maya 2019-10-02 11:15:59 +00:00
parent eb128c78ad
commit 50f7458533
49 changed files with 119 additions and 97 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bootimage,v 1.11 2019/02/22 22:20:18 tsutsui Exp $
# $NetBSD: Makefile.bootimage,v 1.12 2019/10/02 11:15:59 maya Exp $
#
# Copyright (c) 2009, 2010, 2011 Izumi Tsutsui. All rights reserved.
#
@ -68,8 +68,8 @@
# (default: kern-GENERIC)
# SETS
# binary sets that should be extracted into image
# (default: modules base etc comp games man misc tests text
# xbase xcomp xetc xfont xserver)
# (default: modules base etc comp games man misc rescue tests
# text xbase xcomp xetc xfont xserver)
# SETS_DIR
# directory path where binary sets are stored
# (default: ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets)
@ -218,7 +218,7 @@ SWAPDISK_UUID=`${TOOL_GPT} ${GPT_TIMESSTAMP} ${WORKMBR} show -i 3 | ${TOOL_AWK}
#
# definitions to create root fs
#
SETS_DEFAULT= modules base etc comp games man misc tests text
SETS_DEFAULT= modules base etc comp games man misc rescue tests text
.if ${MKX11} != "no"
SETS_DEFAULT+= xbase xcomp xetc xfont xserver
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bootimage,v 1.21 2019/02/22 22:13:58 tsutsui Exp $
# $NetBSD: Makefile.bootimage,v 1.22 2019/10/02 11:15:59 maya Exp $
#
# Copyright (c) 2009, 2010, 2011 Izumi Tsutsui. All rights reserved.
#
@ -62,8 +62,8 @@
# (default: kern-GENERIC)
# SETS
# binary sets that should be extracted into image
# (default: modules base etc comp games man misc tests text
# xbase xcomp xetc xfont xserver)
# (default: modules base etc comp games man misc rescue tests
# text xbase xcomp xetc xfont xserver)
# SETS_DIR
# directory path where binary sets are stored
# (default: ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets)
@ -192,7 +192,7 @@ SWAPCYLINDERS!= expr ${SWAPSECTORS} / \( ${HEADS} \* ${SECTORS} \) || true
#
# definitions to create root fs
#
SETS_DEFAULT= modules base etc comp games man misc tests text
SETS_DEFAULT= modules base etc comp games man misc rescue tests text
.if ${MKX11} != "no"
SETS_DEFAULT+= xbase xcomp xetc xfont xserver
.endif

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: install.sub,v 1.48 2019/04/10 14:52:53 christos Exp $
# $NetBSD: install.sub,v 1.49 2019/10/02 11:15:59 maya Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
@ -35,9 +35,9 @@ ROOTDISK="" # filled in below
VERSION=89936
export VERSION
ALLSETS="base comp etc games man misc text" # default install sets
UPGRSETS="base comp games man misc text" # default upgrade sets
THESETS= # one of the above
ALLSETS="base comp etc games man misc rescue text" # default install sets
UPGRSETS="base comp games man misc text" # default upgrade sets
THESETS= # one of the above
local_sets_dir="" # Path searched for sets by install_sets
# on the local filesystems

View File

@ -1,4 +1,4 @@
.\" $NetBSD: xfer,v 1.16 2008/09/06 21:39:24 tsutsui Exp $
.\" $NetBSD: xfer,v 1.17 2019/10/02 11:16:00 maya Exp $
.
Installation is supported from several media types, including:
.Pp
@ -92,7 +92,7 @@ system, you can create it as follows:
.Dl # Ic "cd .../NetBSD-\*V/\*M/binary/sets"
.Dl # Ic "T=\*[Lt]tape_device\*[Gt]"
.Dl # Ic "mt -f $T rewind"
.Dl # Ic "for f in base etc comp games man misc text"
.Dl # Ic "for f in base etc comp games man misc rescue text"
.Dl Ic "\ \ \ \ dd if=$f.tgz of=$T conv=osync bs=5k"
.Dl # Ic "done"
.Dl # Ic "mt -f $T rewind"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: xfer,v 1.18 2014/10/17 21:48:38 snj Exp $
.\" $NetBSD: xfer,v 1.19 2019/10/02 11:16:00 maya Exp $
.
Installation is supported from several media types, including:
.(bullet
@ -52,7 +52,7 @@ The installation set tape is created as follows:
.Dl # Ic "cd .../NetBSD-\*V/\*M/binary/sets"
.Dl # Ic "set T = /dev/nrst0"
.Dl # Ic "mt -f $T rewind"
.Dl # Ic "for f in base etc comp games man misc text; do"
.Dl # Ic "for f in base etc comp games man misc rescue text; do"
.Dl Ic "\ \ \ \ gzip -d \*[Lt] $f.tgz | dd of=$T bs=8k conv=osync"
.Dl # Ic "done"
.Dl # Ic "mt -f $T rewind"

View File

@ -1,4 +1,4 @@
# $NetBSD: README,v 1.13 2013/08/06 22:33:59 soren Exp $
# $NetBSD: README,v 1.14 2019/10/02 11:16:00 maya Exp $
the scripts should be run from the directory where they reside.
@ -62,6 +62,8 @@ the sets are as follows:
modules: stand/${MACHINE}/${OSRELEASE}/modules kernel modules
rescue: Standalone system recovery tools.
tests: unit, regression, integration and stress tests for the
whole system.

View File

@ -1,7 +1,8 @@
# $NetBSD: rescue.mi,v 1.46 2019/10/02 09:47:24 maya Exp $
# $NetBSD: mi,v 1.1 2019/10/02 11:16:00 maya Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
./etc/mtree/set.rescue base-rescue-root
./rescue/[ base-rescue-root
./rescue/atactl base-rescue-root
./rescue/badsect base-rescue-root
@ -166,3 +167,4 @@
./rescue/zegrep base-rescue-root
./rescue/zfgrep base-rescue-root
./rescue/zgrep base-rescue-root
./var/db/obsolete/rescue base-rescue-root

View File

@ -1,13 +1,13 @@
#!/bin/sh
#
# $NetBSD: maketars,v 1.89 2018/09/28 15:04:20 martin Exp $
# $NetBSD: maketars,v 1.90 2019/10/02 11:16:00 maya Exp $
#
# Make release tar files for some or all lists. Usage:
# maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir]
# [-M metalog] [-N etcdir] [-F setlistsdir] [-d destdir]
# [-t tardir] [-U] [setname ...]
#
# The default sets are "base comp debug etc games man misc tests text"
# The default sets are "base comp debug etc games man misc rescue tests text"
# The X sets are "xbase xcomp xdebug xetc xfont xserver"
# The extsrc sets are "extbase extcomp extetc"
#

View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# $NetBSD: regpkgset,v 1.12 2009/12/01 15:49:21 apb Exp $
# $NetBSD: regpkgset,v 1.13 2019/10/02 11:16:00 maya Exp $
#
# Copyright (c) 2003,2009 The NetBSD Foundation, Inc.
# All rights reserved.
@ -123,7 +123,7 @@ if [ $# -lt 1 ]; then
fi
case "$1" in
all) list="base comp etc games man misc tests text" ;;
all) list="base comp etc games man misc rescue tests text" ;;
*) list="$*" ;;
esac

View File

@ -1,4 +1,4 @@
# $NetBSD: sets.subr,v 1.186 2019/04/16 21:20:51 mrg Exp $
# $NetBSD: sets.subr,v 1.187 2019/10/02 11:16:00 maya Exp $
#
#
@ -163,7 +163,7 @@ stlib=$shlib
if [ "${MKPIC}" = "no" ]; then
shlib=no
fi
nlists="base comp $debugset etc games man misc $modset $testset text"
nlists="base comp $debugset etc games man misc $modset rescue $testset text"
xlists="xbase xcomp $xdebugset xetc xfont xserver"
extlists="extbase extcomp extetc"
@ -180,7 +180,7 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g"
# In each file, a record consists of a path and a System Package name,
# separated by whitespace. E.g.,
#
# # $NetBSD: sets.subr,v 1.186 2019/04/16 21:20:51 mrg Exp $
# # $NetBSD: sets.subr,v 1.187 2019/10/02 11:16:00 maya Exp $
# . base-sys-root [keyword[,...]]
# ./altroot base-sys-root
# ./bin base-sys-root

View File

@ -3,12 +3,12 @@
# Here is a generic script that makes a Sun2 boot tape using
# the files in ../binary
#
# $NetBSD: MakeInstTape,v 1.1 2001/05/18 00:16:38 fredette Exp $
# $NetBSD: MakeInstTape,v 1.2 2019/10/02 11:16:00 maya Exp $
T=${1:-/dev/nrst0}
# Remember, skip "etc" for an upgrade.
sets="etc base comp games man misc text"
sets="etc base comp games man misc rescue text"
# Entertain...
set -x

View File

@ -3,12 +3,12 @@
# Here is a generic script that makes a Sun3 boot tape using
# the files in ../binary
#
# $NetBSD: MakeInstTape,v 1.2 1997/12/20 02:52:54 gwr Exp $
# $NetBSD: MakeInstTape,v 1.3 2019/10/02 11:16:00 maya Exp $
T=${1:-/dev/nrst0}
# Remember, skip "etc" for an upgrade.
sets="etc base comp games man misc text"
sets="etc base comp games man misc rescue text"
# Entertain...
set -x

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: mkimage,v 1.69 2017/11/28 02:56:44 kre Exp $
# $NetBSD: mkimage,v 1.70 2019/10/02 11:16:00 maya Exp $
#
# Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
# All rights reserved.
@ -61,7 +61,7 @@ MKUBOOTIMAGE=${TOOL_MKUBOOTIMAGE:-mkubootimage}
GZIP_CMD=${TOOL_GZIP:-gzip} # ${GZIP} is special to gzip(1)
src="/usr/src"
sets="base comp etc games man misc modules tests text"
sets="base comp etc games man misc modules rescue tests text"
xsets="xbase xcomp xetc xfont xserver"
minfree="10%"
bar="==="

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.440 2019/09/22 13:08:10 gson Exp $
# $NetBSD: Makefile,v 1.441 2019/10/02 11:16:00 maya Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@ -370,7 +370,7 @@ install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV
# Install var/db/obsolete set lists; this is performed by "make build"
#
OBSOLETE.dir= ${.OBJDIR}/obsolete.dir
OBSOLETE.files= base comp etc games man misc text
OBSOLETE.files= base comp etc games man misc rescue text
.if ${MKDEBUG} != "no"
OBSOLETE.files+= debug
.endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/18 10:34:45 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:01 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -52,7 +52,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.6 2019/07/14 11:27:33 martin Exp $ */
/* $NetBSD: md.h,v 1.7 2019/10/02 11:16:01 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -76,7 +76,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*
* x86_64 has the MD set kern first, because generic kernels are too
* big to fit on install floppies.

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.3 2018/11/18 10:34:45 martin Exp $ */
/* $NetBSD: md.h,v 1.4 2019/10/02 11:16:01 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -51,7 +51,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.3 2019/06/12 06:20:18 martin Exp $ */
/* $NetBSD: md.h,v 1.4 2019/10/02 11:16:01 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -72,7 +72,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"
#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11_NOSERVERS

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/16 19:54:03 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:01 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -58,7 +58,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-ATARITT"
#define SET_KERNEL_2_NAME "kern-FALCON"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/18 10:34:45 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:01 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -49,7 +49,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.3 2018/11/18 10:37:04 martin Exp $ */
/* $NetBSD: md.h,v 1.4 2019/10/02 11:16:01 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -46,7 +46,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"
#define SET_KERNEL_2_NAME "kern-GENERIC.ABLE"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.3 2019/06/12 06:20:19 martin Exp $ */
/* $NetBSD: md.h,v 1.4 2019/10/02 11:16:01 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -69,7 +69,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"
#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11_NOSERVERS

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.4 2018/11/16 19:54:03 martin Exp $ */
/* $NetBSD: md.h,v 1.5 2019/10/02 11:16:02 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -72,7 +72,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"
#define MD_SETS_VALID SET_KERNEL, SET_SYSTEM, SET_X11_NOSERVERS

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2019/06/12 06:20:19 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:02 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -50,7 +50,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-ADI_BRH"
#define SET_KERNEL_2_NAME "kern-INTEGRATOR"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2017/08/09 23:01:06 maya Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:02 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -47,7 +47,7 @@
/*
* Default filesets to fetch and install during installation or upgrade.
* The standard sets are: base etc comp games man misc tests text
* The standard sets are: base etc comp games man misc rescue tests text
*/
#if defined(ARCH_mipsel) || defined(ARCH_mipseb)

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:02 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -50,7 +50,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.4 2019/06/12 06:20:20 martin Exp $ */
/* $NetBSD: md.h,v 1.5 2019/10/02 11:16:02 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -60,7 +60,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:02 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -62,7 +62,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-IPAQ"
#define SET_KERNEL_2_NAME "kern-JORNADA720"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:02 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -60,7 +60,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"
#define SET_KERNEL_2_NAME "kern-TX3912"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:45 dholland Exp $ */
/* $NetBSD: md.h,v 1.2 2019/10/02 11:16:02 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -54,7 +54,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"
#define SET_KERNEL_2_NAME "kern-HPW650PA"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.6 2019/07/14 11:27:33 martin Exp $ */
/* $NetBSD: md.h,v 1.7 2019/10/02 11:16:02 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -76,7 +76,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_GENERIC SET_KERNEL_1

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:46 dholland Exp $ */
/* $NetBSD: md.h,v 1.2 2019/10/02 11:16:03 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -53,7 +53,7 @@
/*
* Default filesets to fetch and install during installation or upgrade.
* The standard sets are: base etc comp games man misc text
* The standard sets are: base etc comp games man misc rescue tests text
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/16 19:54:04 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:03 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -64,7 +64,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"
#define MD_SETS_VALID SET_KERNEL, SET_SYSTEM, SET_X11_NOSERVERS

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.3 2019/06/12 06:20:22 martin Exp $ */
/* $NetBSD: md.h,v 1.4 2019/10/02 11:16:03 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -79,7 +79,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*
* i386 has the MD set kern first, because generic kernels are too
* big to fit on install floppies. i386 does not yet include the x sets.

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:46 dholland Exp $ */
/* $NetBSD: md.h,v 1.2 2019/10/02 11:16:03 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -62,7 +62,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base, etc, comp, games, man, misc, tests, text
* base, etc, comp, games, man, misc, rescue, tests, text
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"
#define MD_SETS_VALID SET_KERNEL, SET_SYSTEM

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.3 2018/11/16 19:54:04 martin Exp $ */
/* $NetBSD: md.h,v 1.4 2019/10/02 11:16:03 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -72,7 +72,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"
#define SET_KERNEL_2_NAME "kern-GENERIC_USB"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.3 2019/06/12 06:20:22 martin Exp $ */
/* $NetBSD: md.h,v 1.4 2019/10/02 11:16:03 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -61,7 +61,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:03 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -54,7 +54,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"
#define SET_KERNEL_2_NAME "kern-KUROBOX"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.3 2019/06/12 06:20:22 martin Exp $ */
/* $NetBSD: md.h,v 1.4 2019/10/02 11:16:03 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -66,7 +66,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC32_IP2x"
#define SET_KERNEL_2_NAME "kern-GENERIC32_IP3x"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:03 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -48,7 +48,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_1_NAME "kern-GENERIC"

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/16 19:54:05 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:04 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -67,7 +67,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*
* x68k has the MD set kern first, because generic kernels are too
* big to fit on install floppies. i386 does not yet include the x sets.

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:04 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -60,7 +60,7 @@
/*
* Default filesets to fetch and install during installation
* or upgrade. The standard sets are:
* base etc comp games man misc tests text xbase xcomp xetc xfont xserver
* base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
*/
#define SET_KERNEL_GENERIC SET_KERNEL_1
#define SET_KERNEL_C700 SET_KERNEL_2

View File

@ -1,4 +1,4 @@
/* $NetBSD: defs.h,v 1.44 2019/08/27 14:11:00 martin Exp $ */
/* $NetBSD: defs.h,v 1.45 2019/10/02 11:16:04 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -117,6 +117,7 @@ enum {
SET_MAN_PAGES, /* online manual pages */
SET_MISC, /* miscellaneuous */
SET_MODULES, /* kernel modules */
SET_RESCUE, /* /rescue recovery tools */
SET_TESTS, /* tests */
SET_TEXT_TOOLS, /* text processing tools */
@ -160,7 +161,8 @@ enum {
#define SET_CORE SET_MODULES, SET_BASE, SET_ETC
/* All system sets */
#define SET_SYSTEM SET_CORE, SET_COMPILER, SET_GAMES, \
SET_MAN_PAGES, SET_MISC, SET_TESTS, SET_TEXT_TOOLS
SET_MAN_PAGES, SET_MISC, SET_RESCUE, \
SET_TESTS, SET_TEXT_TOOLS
/* All X11 sets */
#define SET_X11_NOSERVERS SET_X11_BASE, SET_X11_FONTS, SET_X11_PROG, SET_X11_ETC
#define SET_X11 SET_X11_NOSERVERS, SET_X11_SERVERS

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.mi.de,v 1.15 2019/08/17 17:51:19 martin Exp $ */
/* $NetBSD: msg.mi.de,v 1.16 2019/10/02 11:16:04 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -869,6 +869,9 @@ message set_misc
message set_modules
{Kernel Modules}
message set_rescue
{Recovery tools}
message set_tests
{Testprogramme}

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.mi.en,v 1.21 2019/08/17 17:51:19 martin Exp $ */
/* $NetBSD: msg.mi.en,v 1.22 2019/10/02 11:16:04 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -806,6 +806,9 @@ message set_misc
message set_modules
{Kernel modules}
message set_rescue
{Recovery tools}
message set_tests
{Test programs}

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.mi.es,v 1.16 2019/08/17 17:51:19 martin Exp $ */
/* $NetBSD: msg.mi.es,v 1.17 2019/10/02 11:16:04 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -831,6 +831,9 @@ message set_misc
message set_modules
{Kernel Modules}
message set_rescue
{Recovery tools}
message set_tests
{Programas de prueba}

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.mi.fr,v 1.19 2019/08/17 17:51:19 martin Exp $ */
/* $NetBSD: msg.mi.fr,v 1.20 2019/10/02 11:16:04 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -879,6 +879,9 @@ message set_misc
message set_modules
{Modules du noyau}
message set_rescue
{Recovery tools}
message set_tests
{Programmes de test}

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.mi.pl,v 1.22 2019/08/17 17:51:19 martin Exp $ */
/* $NetBSD: msg.mi.pl,v 1.23 2019/10/02 11:16:04 maya Exp $ */
/* Based on english version: */
/* NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp */
@ -800,6 +800,9 @@ message set_misc
message set_modules
{Moduly kernela}
message set_rescue
{Recovery tools}
message set_tests
{Programy testujace}

View File

@ -1,4 +1,4 @@
/* $NetBSD: util.c,v 1.32 2019/08/27 14:11:00 martin Exp $ */
/* $NetBSD: util.c,v 1.33 2019/10/02 11:16:04 maya Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -117,6 +117,7 @@ distinfo dist_list[] = {
{"games", SET_GAMES, false, MSG_set_games, NULL},
{"man", SET_MAN_PAGES, false, MSG_set_man_pages, NULL},
{"misc", SET_MISC, false, MSG_set_misc, NULL},
{"rescue", SET_RESCUE, false, MSG_set_rescue, NULL},
{"tests", SET_TESTS, false, MSG_set_tests, NULL},
{"text", SET_TEXT_TOOLS, false, MSG_set_text_tools, NULL},