summaryrefslogtreecommitdiffstats
path: root/rescue
Commit message (Collapse)AuthorAgeFilesLines
* - Trim an unused and bogus Makefile for mount_smbfs.davide2013-06-281-0/+2
| | | | | | - Reconnect with some minor modifications, in particular now selsocket() internals are adapted to use sbintime units after recent'ish calloutng switch.
* Add less to rescue build. On amd64, this increases rescue size by aboutdelphij2013-05-131-0/+3
| | | | | | 130KB or 2.4%. MFC after: 1 month
* Remove all legacy ATA code parts, not used since options ATA_CAM enabled inmav2013-04-041-1/+1
| | | | | | | | | most kernels before FreeBSD 9.0. Remove such modules and respective kernel options: atadisk, ataraid, atapicd, atapifd, atapist, atapicam. Remove the atacontrol utility and some man pages. Remove useless now options ATA_CAM. No objections: current@, stable@ MFC after: never
* WiP merge of libzfs_core (MFV r238590, r238592)mm2013-03-051-1/+1
| | | | not yet working, ioctl handling needs to be changed
* Disconnect non-MPSAFE SMBFS from the build in preparation for droppingattilio2012-10-181-2/+0
| | | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netsmb, which is a base requirement for SMBFS. In the while SMBFS regular users can use FUSE interface and smbnetfs port to work with their SMBFS partitions. Also, there are ongoing efforts by vendor to support in-kernel smbfs, so there are good chances that it will get relinked once properly locked. This is not targeted for MFC.
* Disconnect non-MPSAFE NTFS from the build in preparation for droppingattilio2012-10-171-1/+1
| | | | | | | | | | | | | | GIANT from VFS. This code is particulary broken and fragile and other in-kernel implementations around, found in other operating systems, don't really seem clean and solid enough to be imported at all. If someone wants to reconsider in-kernel NTFS implementation for inclusion again, a fair effort for completely fixing and cleaning it up is expected. In the while NTFS regular users can use FUSE interface and ntfs-3g port to work with their NTFS partitions. This is not targeted for MFC.
* Disconnect non-MPSAFE NWFS from the build in preparation for droppingattilio2012-10-171-4/+0
| | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netncp, which is a base requirement for NWFS. In the possibility of a future maintenance of the code and later readd to the FreeBSD base, maybe we should think about a better location for netncp. I'm not entirely sure the / top location is actually right, however I will let network people to comment on that more specifically. This is not targeted for MFC.
* unbreak build: rescue now needs -ljail if MK_ZFS is onbapt2012-09-201-1/+1
|
* Partial MFV (illumos-gate 13753:2aba784c276b)mm2012-07-301-1/+1
| | | | | | | | | 2762 zpool command should have better support for feature flags References: https://www.illumos.org/issues/2762 MFC after: 2 weeks
* Disable jail support in ifconfig when either building a rescuermh2012-02-141-1/+1
| | | | | | | image or MK_JAIL knob has been set to "no". Reviewed by: bz Approved by: adrian (mentor)
* -lreadline is not required anymore.fjoe2011-11-291-1/+1
|
* -lpthread is required by -lzfs so should be later in LIBS list.fjoe2011-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.
* Add netcat (nc) to /rescue.des2011-11-151-1/+1
| | | | MFC after: 3 weeks
* Finally... Import the latest open-source ZFS version - (SPA) 28.pjd2011-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
* Break out the rules which generate crunchgen'ed binaries into a separateadrian2010-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.
* MFtbemd:imp2010-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.
* Enable liblzma support in libarchivemm2010-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
* 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-212-3/+2
| | | | 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-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>
* 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
|
* Respect MK_INET6_SUPPORT.yar2006-07-271-0/+2
|
* 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-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)
* 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
* Respect the YES_HESIOD build variable.phk2005-08-061-0/+2
|
* 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.
OpenPOWER on IntegriCloud