aboutsummaryrefslogtreecommitdiff
path: root/rescue
Commit message (Collapse)AuthorAgeFilesLines
* -lreadline is not required anymore.Max Khon2011-11-291-1/+1
| | | | Notes: svn path=/head/; revision=228112
* -lpthread is required by -lzfs so should be later in LIBS list.Max Khon2011-11-281-1/+1
| | | | | | | | | There were no "undefined symbol pthread_xxx" errors during the link before this fix only because of STATIC_LIB_REQUIRE() declarations in lib/libthr/thread/thr_init.c. Notes: svn path=/head/; revision=228074
* Add netcat (nc) to /rescue.Dag-Erling Smørgrav2011-11-151-1/+1
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=227531
* Finally... Import the latest open-source ZFS version - (SPA) 28.Pawel Jakub Dawidek2011-02-271-1/+1
| | | | | | | | | | | | | | | | | | Few new things available from now on: - Data deduplication. - Triple parity RAIDZ (RAIDZ3). - zfs diff. - zpool split. - Snapshot holds. - zpool import -F. Allows to rewind corrupted pool to earlier transaction group. - Possibility to import pool in read-only mode. MFC after: 1 month Notes: svn path=/head/; revision=219089
* Break out the rules which generate crunchgen'ed binaries into a separateAdrian Chadd2010-11-131-149/+4
| | | | | | | | | | | | | | | | | | | .mk file so they can be reused. Introduce a new option, CRUNCH_BUILDTOOLS, which lists the binaries that require tools built in the local architecture. sh and csh both require this. It was previously hardcoded in rescue/rescue/Makefile . Introduce a new option, CRUNCH_SHLIBS, which lists the shared libraries to link against. These override the static libraries listed in CRUNCH_LIBS. Some build environments may wish to use a handful of shared libraries (eg libc.so) so other small, dynamic binaries can be run in the environment. Remove the now-shared code from rescue/rescue/Makefile and introduce the CRUNCH_BUILDTOOLS option for the above shells. Notes: svn path=/head/; revision=215226
* MFtbemd:Warner Losh2010-08-231-4/+4
| | | | | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform. Notes: svn path=/head/; revision=211725
* Enable liblzma support in libarchiveMartin Matuska2010-05-101-0/+4
| | | | | | | | | | | Adjust dependencies for programs using libarchive Add xz and linkage against liblzma to rescue system Approved by: kientzle, delphij (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=207849
* Remove libulog from the bootstrap again.Ed Schouten2010-01-211-1/+1
| | | | | | | | | libulog now only provides functions that are used by various packages from the ports tree, namely the libutempter ones. There is no reason to link it into the crunch/fixit binaries anymore. Notes: svn path=/head/; revision=202755
* Unbreak rescue(8). We should also link against libulog now.Ed Schouten2009-12-051-1/+1
| | | | Notes: svn path=/head/; revision=200169
* Add the "vnet" and "-vnet" options, to allow moving interfaces betweenJamie Gritton2009-06-241-1/+1
| | | | | | | | | jails with VIMAGE. Approved by: bz (mentor) Notes: svn path=/head/; revision=194871
* Add zfs/zpool to rescue programsKip Macy2009-05-231-1/+14
| | | | | | | | | PR: bin/125878 Submitted by: nork@ MFC after: 3 days Notes: svn path=/head/; revision=192617
* Libarchive is sprouting dependencies on libmd and libcrypto.Tim Kientzle2009-04-181-4/+4
| | | | | | | | | | | | Because crunchgen drops any repeated library (keeping only the first), the -lcrypto reference must be moved to after -larchive, not merely duplicated. I'm considering changing crunchgen's handling of duplicate libraries, but that's a rather more delicate issue. Notes: svn path=/head/; revision=191239
* *** empty log message ***Tim Kientzle2009-04-171-4/+4
| | | | Notes: svn path=/head/; revision=191227
* Remove if_ppp(4) and if_sl(4).Ed Schouten2009-04-051-1/+1
| | | | | | | | | | | | | | | | Not only did these two drivers depend on IFF_NEEDSGIANT, they were broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been replaced by ppp(8). There is no replacement for if_sl(4). If we see regressions in for example the ports tree, we should just use __FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are present. Version 800045 is used to denote the import of MPSAFE TTY. Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the lists. Notes: svn path=/head/; revision=190751
* Fix build when WITH_SSP is set explicitly.Ruslan Ermilov2009-02-212-3/+2
| | | | | | | Submitted by: Jeremie Le Hen Notes: svn path=/head/; revision=188895
* Take a moment to tidy some white space while I'm here. No functionalWarner Losh2008-09-131-10/+9
| | | | | | | changes for this commit. Notes: svn path=/head/; revision=183007
* We don't need pax and tar. These days tar is a strict superset ofWarner Losh2008-09-131-1/+1
| | | | | | | pax. Per discssuion on arch@ eliminate it. Notes: svn path=/head/; revision=183006
* pkill(1) first appeared in /usr/bin, but later it was moved to /binYaroslav Tykhiy2008-08-311-4/+2
| | | | | | | | | | for the convenience of rc.d. Now it has happily lived there for quite a while. So move the pkill(1) source files from usr.bin to bin, too. Approved by: gad Notes: svn path=/head/; revision=182543
* Enable GCC stack protection (aka Propolice) for userland:Ruslan Ermilov2008-06-252-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | - It is opt-out for now so as to give it maximum testing, but it may be turned opt-in for stable branches depending on the consensus. You can turn it off with WITHOUT_SSP. - WITHOUT_SSP was previously used to disable the build of GNU libssp. It is harmless to steal the knob as SSP symbols have been provided by libc for a long time, GNU libssp should not have been much used. - SSP is disabled in a few corners such as system bootstrap programs (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves. - It should be safe to use -fstack-protector-all to build world, however libc will be automatically downgraded to -fstack-protector because it breaks rtld otherwise. - This option is unavailable on ia64. Enable GCC stack protection (aka Propolice) for kernel: - It is opt-out for now so as to give it maximum testing. - Do not compile your kernel with -fstack-protector-all, it won't work. Submitted by: Jeremie Le Hen <jeremie@le-hen.org> Notes: svn path=/head/; revision=180012
* Remove netatm from HEAD as it is not MPSAFE and relies on the now removedRobert Watson2008-05-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT. netatm has been disconnected from the build for ten months in HEAD/RELENG_7. Specifics: - netatm include files - netatm command line management tools - libatm - ATM parts in rescue and sysinstall - sample configuration files and documents - kernel support as a module or in NOTES - netgraph wrapper nodes for netatm - ctags data for netatm. - netatm-specific device drivers. MFC after: 3 weeks Reviewed by: bz Discussed with: bms, bz, harti Notes: svn path=/head/; revision=179308
* Adding glabel alias killed gpart alias; fix it.Ruslan Ermilov2008-03-291-2/+1
| | | | Notes: svn path=/head/; revision=177707
* Add an alias for glabel(8).Xin LI2008-03-051-0/+1
| | | | Notes: svn path=/head/; revision=176853
* o Build geom for all platforms.Marcel Moolenaar2007-11-041-6/+8
| | | | | | | | o Don't build bsdlabel for ia64. o Don't build fdisk and gpt for ia64. Notes: svn path=/head/; revision=173314
* Add some essential tools to rescue(8) in order to make itYaroslav Tykhiy2007-10-271-1/+10
| | | | | | | | | | | | | | | | | | | | | | | a versatile emergency tool: o sed(1) as a multi-purpose text filter -- can do grep's job and much more. o head(1), tail(1), and tee(1) as idiomatic text filters. o mt(1) to control tape drives (PR misc/98383). o chown(8) aka chgrp(8) to complement the ch* subset. o pkill(1) aka pgrep(1) to control running processes easily and thus to be able to recover from a serious problem or a fatal typo in an otherwise live system w/o a reboot. (It also deserves adding to rescue(8) for its having triggered a latent bug in crunchgen(1), but we had better add a regression test for that. :-) The resulting change in rescue(8) size has the following order of magnitude on i386: 3787656 - 3727872 = 59784, i.e. just a tad. Discussed on: -hackers (I seem to have wearied all opponents :-) PR: misc/98383 Notes: svn path=/head/; revision=173073
* Disconnect netatm from the build as it is not MPSAFE and relies onRobert Watson2007-07-141-2/+4
| | | | | | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT, which will shortly be removed. This is done in a away that it may be easily reattached to the build before 7.1 if appropriate locking is added. Specifics: - Don't install netatm include files - Disconnect netatm command line management tools - Don't build libatm - Don't include ATM parts in rescue or sysinstall - Don't install sample configuration files and documents - Don't build kernel support as a module or in NOTES - Don't build netgraph wrapper nodes for netatm This removes the last remaining consumer of NET_NEEDS_GIANT. Reviewed by: harti Discussed with: bz, bms Approved by: re (kensmith) Notes: svn path=/head/; revision=171453
* - Remove UMAP filesystem. It was disconnected from build three years ago,Rong-En Fan2007-06-251-1/+1
| | | | | | | | | | and it is seriously broken. Discussed on: freebsd-arch@ Approved by: re (mux) Notes: svn path=/head/; revision=171023
* Replace the GNU gzip with a slightly modified NetBSD gzip. TheXin LI2007-01-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | NetBSD version is a feature-to-feature re-implementation of GNU gzip using the freely-redistributable zlib and this version is expected to be mostly bug-to-bug compatible with the GNU implementation. - Because this is a piece of mature code and we want to make changes so it is added directly rather than importing to src/contrib. - Connect newly added code to src/usr.bin/ and rescue/rescue build. - Disconnect the GNU gzip code from build for now, they will be eventually removed completely. - Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and WITHOUT_BZIP2. Tested by: kris (full exp-7 pointyhat build) Approved by: core (importing a 4-clause BSD licensed file) Approved by: re (adding new utility during -HEAD code slush) Notes: svn path=/head/; revision=166255
* Remove mount_ext2fs.Craig Rodrigues2006-11-221-1/+1
| | | | Notes: svn path=/head/; revision=164526
* Remove references to mount_devfs, mount_fdescfs, mount_linprocfs, mount_procfs.Craig Rodrigues2006-11-221-2/+1
| | | | | | | Reminded by: ru Notes: svn path=/head/; revision=164487
* Remove alpha left-overs.Ruslan Ermilov2006-08-221-4/+0
| | | | Notes: svn path=/head/; revision=161526
* Respect MK_INET6_SUPPORT.Yaroslav Tykhiy2006-07-271-0/+2
| | | | Notes: svn path=/head/; revision=160744
* Pass -DCRUNCH down to standard targets in individual makefiles.Ruslan Ermilov2006-04-101-4/+4
| | | | Notes: svn path=/head/; revision=157627
* *sigh*Olivier Houchard2006-03-271-2/+2
| | | | | | | | | Move the -lbsdxml after -lgeom, so that ld doesn't get confused and pretend he can't find the symbol from libbsdxml needed in libgeom. This should fix the rescue build breakage. Notes: svn path=/head/; revision=157177
* Extend coverage of the MK_IPX build option to the following:Ruslan Ermilov2006-03-201-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | - <netipx> headers [1] - IPX library (libipx) - IPX support in ifconfig(8) - IPXrouted(8) - new MK_NCP option New MK_NCP build option controls: - <netncp> and <fs/nwfs> headers - NCP library (libncp) - ncplist(1) and ncplogin(1) - mount_nwfs(8) - ncp and nwfs kernel modules User knobs: WITHOUT_IPX, WITHOUT_IPX_SUPPORT, WITHOUT_NCP. [1] <netsmb/netbios.h> unconditionally uses <netipx> headers so they are still installed. This needs to be dealt with. Notes: svn path=/head/; revision=156905
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-03-172-9/+14
| | | | | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine) Notes: svn path=/head/; revision=156813
* Install nextboot in /rescue as /rescue/nextboot rather thanJohn Baldwin2005-12-151-1/+1
| | | | | | | | | | /rescue/nextboot.sh to match the name in /sbin (/sbin/nextboot). Reviewed by: gtetlow MFC after: 1 week Notes: svn path=/head/; revision=153455
* Respect the YES_HESIOD build variable.Poul-Henning Kamp2005-08-061-0/+2
| | | | Notes: svn path=/head/; revision=148796
* Fix path to dhclient-script and reconnect to build.Brooks Davis2005-06-071-7/+7
| | | | Notes: svn path=/head/; revision=147090
* Temporarily disconnect dhclient from the build while I import theBrooks Davis2005-06-071-7/+7
| | | | | | | OpenBSD version. Notes: svn path=/head/; revision=147070
* Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanupDarren Reed2005-04-281-1/+2
| | | | | | | build problems with rescue. Notes: svn path=/head/; revision=145630
* Run "make obj" before "make build-tools" in the directories used forColin Percival2005-03-181-0/+1
| | | | | | | | | | | building the rescue binary. This fixes a problem with NO_TCSH, where the "make obj" stage of buildworld doesn't recurse into bin/csh, resulting in csh build-tools being put into /usr/src/bin/csh. Pointed out by: dougb (on hackers@) Notes: svn path=/head/; revision=143803
* Wrap BSD r* commands in NO_RCMDS.Tom Rhodes2005-03-021-1/+1
| | | | | | | | | Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk. Discussed with: ru, nectar Notes: svn path=/head/; revision=143026
* Add chroot. It can be a real lifesaver, and adds less than 2 kB.Dag-Erling Smørgrav2005-02-071-0/+7
| | | | Notes: svn path=/head/; revision=141478
* Ignoring MAKEFLAGS in rev. 1.15 was a very bad idea. This causesRuslan Ermilov2005-01-201-2/+3
| | | | | | | | | | | | | | | | | | wrong share/mk files to be used, which can be fatal with upgrades or downgrades, e.g., when building RELENG_5 on HEAD. Reported by: glebius For now, just exclude -P from MAKEFLAGS when running crunchgen(1). (Note that it will still break when run with certain -d options.) The real solution is to fix make(1) to not print stuff on stdout when it's not supposed to, e.g., through the -P and -dX options, and to fix crunchgen(1) to not redirect stderr to stdout when running make(1). Once this is implemented, this hack can go. Notes: svn path=/head/; revision=140508
* Don't call "objs" target in rescue.mk twice.Ruslan Ermilov2004-12-231-1/+1
| | | | Notes: svn path=/head/; revision=139234
* Make "===> " prefixes look sane.Ruslan Ermilov2004-12-231-6/+13
| | | | Notes: svn path=/head/; revision=139233
* NOINET6 -> NO_INET6Ruslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139115
* NOCRYPT -> NO_CRYPTRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139113
* NOATM -> NO_ATMRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139105
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103