summaryrefslogtreecommitdiffstats
path: root/rescue/rescue
Commit message (Collapse)AuthorAgeFilesLines
* Remove libulog from the bootstrap again.ed2010-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.
* Unbreak rescue(8). We should also link against libulog now.ed2009-12-051-1/+1
|
* Add the "vnet" and "-vnet" options, to allow moving interfaces betweenjamie2009-06-241-1/+1
| | | | | | jails with VIMAGE. Approved by: bz (mentor)
* Add zfs/zpool to rescue programskmacy2009-05-231-1/+14
| | | | | | PR: bin/125878 Submitted by: nork@ MFC after: 3 days
* Libarchive is sprouting dependencies on libmd and libcrypto.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.
* *** empty log message ***kientzle2009-04-171-4/+4
|
* Remove if_ppp(4) and if_sl(4).ed2009-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.
* Fix build when WITH_SSP is set explicitly.ru2009-02-211-1/+1
| | | | Submitted by: Jeremie Le Hen
* Take a moment to tidy some white space while I'm here. No functionalimp2008-09-131-10/+9
| | | | changes for this commit.
* We don't need pax and tar. These days tar is a strict superset ofimp2008-09-131-1/+1
| | | | pax. Per discssuion on arch@ eliminate it.
* pkill(1) first appeared in /usr/bin, but later it was moved to /binyar2008-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
* Enable GCC stack protection (aka Propolice) for userland:ru2008-06-251-0/+1
| | | | | | | | | | | | | | | | | | | | | - 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>
* Remove netatm from HEAD as it is not MPSAFE and relies on the now removedrwatson2008-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
* Adding glabel alias killed gpart alias; fix it.ru2008-03-291-2/+1
|
* Add an alias for glabel(8).delphij2008-03-051-0/+1
|
* o Build geom for all platforms.marcel2007-11-041-6/+8
| | | | | o Don't build bsdlabel for ia64. o Don't build fdisk and gpt for ia64.
* Add some essential tools to rescue(8) in order to make ityar2007-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
* Disconnect netatm from the build as it is not MPSAFE and relies onrwatson2007-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)
* - Remove UMAP filesystem. It was disconnected from build three years ago,rafan2007-06-251-1/+1
| | | | | | | and it is seriously broken. Discussed on: freebsd-arch@ Approved by: re (mux)
* Replace the GNU gzip with a slightly modified NetBSD gzip. Thedelphij2007-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)
* Remove mount_ext2fs.rodrigc2006-11-221-1/+1
|
* Remove references to mount_devfs, mount_fdescfs, mount_linprocfs, mount_procfs.rodrigc2006-11-221-2/+1
| | | | Reminded by: ru
* Remove alpha left-overs.ru2006-08-221-4/+0
|
* Pass -DCRUNCH down to standard targets in individual makefiles.ru2006-04-101-4/+4
|
* *sigh*cognet2006-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.
* Extend coverage of the MK_IPX build option to the following:ru2006-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.
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-7/+10
| | | | | | | | 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)
* Install nextboot in /rescue as /rescue/nextboot rather thanjhb2005-12-151-1/+1
| | | | | | | /rescue/nextboot.sh to match the name in /sbin (/sbin/nextboot). Reviewed by: gtetlow MFC after: 1 week
* Fix path to dhclient-script and reconnect to build.brooks2005-06-071-7/+7
|
* Temporarily disconnect dhclient from the build while I import thebrooks2005-06-071-7/+7
| | | | OpenBSD version.
* Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanupdarrenr2005-04-281-1/+2
| | | | build problems with rescue.
* Run "make obj" before "make build-tools" in the directories used forcperciva2005-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@)
* Wrap BSD r* commands in NO_RCMDS.trhodes2005-03-021-1/+1
| | | | | | Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk. Discussed with: ru, nectar
* Add chroot. It can be a real lifesaver, and adds less than 2 kB.des2005-02-071-0/+7
|
* Ignoring MAKEFLAGS in rev. 1.15 was a very bad idea. This causesru2005-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.
* Don't call "objs" target in rescue.mk twice.ru2004-12-231-1/+1
|
* Make "===> " prefixes look sane.ru2004-12-231-6/+13
|
* NOINET6 -> NO_INET6ru2004-12-211-1/+1
|
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* NOATM -> NO_ATMru2004-12-211-1/+1
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* Add missing dependencies of $(OUTPUTS) on source makefiles.ru2004-12-181-1/+6
| | | | Caught by: make -DNOCLEAN buildworld
* Replace GNU tar with BSD tar.obrien2004-12-041-1/+3
|
* Remove references to NO_VINUMphk2004-11-041-4/+0
|
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* As with the non-rescue version don't build fore_dnld when NOATM is defined.marius2004-08-161-2/+2
|
* Remove dangling raidctl referencephk2004-03-161-1/+1
|
* Add id(1) (aka groups(1) aka whoami(1)) since it is used by install.sh.des2004-03-121-0/+3
|
* Revision 1.7 of this file added informationkientzle2004-01-181-3/+2
| | | | | | | | | | about the location of each program's source. This update optimizes the build a bit by giving that information to crunchgen rather than asking crunchgen to do a directory search to locate sources. Approved by: gordon (Mentor)
* Properly spell make binary as ${MAKE}.ru2003-12-241-8/+8
| | | | | | This fixes buildworld for systems with old make(1) binaries. Reported by: Benjamin Close
OpenPOWER on IntegriCloud