diff options
author | cperciva <cperciva@FreeBSD.org> | 2004-08-10 18:18:42 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2004-08-10 18:18:42 +0000 |
commit | a683d70aaaf8ec704fccae77ae9cfbdf7dc63de5 (patch) | |
tree | fa4ccf330c27843715e2529edc96b12bc232fd83 /usr.sbin/sysinstall | |
parent | 15d4b7d98976d7d09a3d371553d20db7335b1201 (diff) | |
download | FreeBSD-src-a683d70aaaf8ec704fccae77ae9cfbdf7dc63de5.zip FreeBSD-src-a683d70aaaf8ec704fccae77ae9cfbdf7dc63de5.tar.gz |
Teach sysinstall about the "srescue" distribution, which contains the
contents of /usr/src/rescue. Until now, the files were shipped with
releases but sysinstall would ignore them (resulting in a non-buildable
source tree).
Sanity checked by: jhb
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/dist.c | 1 | ||||
-rw-r--r-- | usr.sbin/sysinstall/dist.h | 3 | ||||
-rw-r--r-- | usr.sbin/sysinstall/menus.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/sysinstall.8 | 2 |
4 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c index 9cd9e66..da39774 100644 --- a/usr.sbin/sysinstall/dist.c +++ b/usr.sbin/sysinstall/dist.c @@ -121,6 +121,7 @@ static Distribution SrcDistTable[] = { DTE_TARBALL("subin", &SrcDists, SRC_UBIN, "/usr/src"), DTE_TARBALL("susbin", &SrcDists, SRC_USBIN, "/usr/src"), DTE_TARBALL("stools", &SrcDists, SRC_TOOLS, "/usr/src"), + DTE_TARBALL("srescue", &SrcDists, SRC_RESCUE, "/usr/src"), { NULL }, }; diff --git a/usr.sbin/sysinstall/dist.h b/usr.sbin/sysinstall/dist.h index e759971..08cb30283 100644 --- a/usr.sbin/sysinstall/dist.h +++ b/usr.sbin/sysinstall/dist.h @@ -49,7 +49,8 @@ #define DIST_SRC_SCRYPTO 0x10000 #define DIST_SRC_SSECURE 0x20000 #define DIST_SRC_SKERBEROS5 0x40000 -#define DIST_SRC_ALL 0x7FFFF +#define DIST_SRC_RESCUE 0x80000 +#define DIST_SRC_ALL 0xFFFFF /* Subtypes for X.Org packages */ #define DIST_XORG_CLIENTS 0x000001 diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c index 38ee368..09e2059 100644 --- a/usr.sbin/sysinstall/menus.c +++ b/usr.sbin/sysinstall/menus.c @@ -1037,6 +1037,8 @@ DMenu MenuSrcDistributions = { dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_LIBEXEC }, { " release", "/usr/src/release (release-generation tools)", dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_RELEASE }, + { " rescue", "/usr/src/rescue (static rescue tools)", + dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_RESCUE }, { " bin", "/usr/src/bin (system binaries)", dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_BIN }, { " sbin", "/usr/src/sbin (system binaries)", diff --git a/usr.sbin/sysinstall/sysinstall.8 b/usr.sbin/sysinstall/sysinstall.8 index 86c7e04..772a57a 100644 --- a/usr.sbin/sysinstall/sysinstall.8 +++ b/usr.sbin/sysinstall/sysinstall.8 @@ -482,6 +482,8 @@ The ports collection. /usr/src/libexec .It Li srelease /usr/src/release +.It Li srescue +/usr/src/rescue .It Li sbin /usr/src/bin .It Li ssbin |