346429 |
20-Apr-2019 |
kevans |
MFC bectl(8)/libbe(3): r337663-337664,337667,337697-337699,337800,337805, 337915-337918,337921,337924,337947,337993-337995,338221-338222,338303, 338417,339047,339972,339994,340334,340507-340508,340592-340594, 340635-340636,340722-340723,340974,342466,342849,342903,342911,343335, 343543,343977,343993-343994,344034,344067,344084,345302,345769, 345845-345846,345848,346082
There are simply too many small changes to enumerate; in summary:
bectl(8)/libbe(3) has been introduced from current state in -CURRENT and added to the stable/11 rescue build. bectl(8) is a tool for managing ZFS boot environments, largely inspired by beadm. It includes features such as being able to jail a boot environment or easily mount it for modification.
Relnotes: probably |
315782 |
23-Mar-2017 |
ngie |
MFC r315654:
Fix linking /rescue/rescue to multiple programs in usr.bin after r315113
I meant for the line that conditionally added in /usr/bin/nc support to be `+=', not `=`. This restores hardlinks for all programs in usr.bin specified before nc(1), e.g., bunzip2 and tar.
Pointyhat to: ngie |
315357 |
16-Mar-2017 |
ngie |
MFC r315113:
Conditionally compile [additional] programs into rescue(8) if requested
Trivial oversight missed in r314240 cleanup because I enable these knobs on my test machines.
MK_INET6_SUPPORT - rtsol MK_NETCAT - nc |
315115 |
12-Mar-2017 |
ngie |
MFC r314239:
Add shutdown/poweroff support to rescue(8)
shutdown is a safer way to power off than reboot (in general), because of the added shutdown process that it executes via /etc/rc.shutdown . It was odd that it was missing from rescue(8) since reboot and friends were added in past commits.
While here, alias poweroff to shutdown for parity with sbin/shutdown/Makefile |
315109 |
12-Mar-2017 |
ngie |
MFC r314240:
Conditionally compile certain programs into rescue(8) if requested
MK_CCD - ccdconfig MK_ROUTED - routed, rtquery |
311188 |
03-Jan-2017 |
bdrewery |
MFC r305258:
DIRDEPS_BUILD: Build crunchide for the host. |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
300807 |
26-May-2016 |
bdrewery |
DIRDEPS_BUILD: Fix and hookup rescue/rescue to the build.
Sponsored by: EMC / Isilon Storage Division
|
298107 |
16-Apr-2016 |
gjb |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
|
291491 |
30-Nov-2015 |
ngie |
Fix the build after ifconfig was converted over to lib80211 in r291470
Reported by: jenkins, O. Hartmann <ohartman@zedat.fu-berlin.de> Pointyhat to: adrian
|
291406 |
27-Nov-2015 |
jhb |
Add support to libkvm for reading vmcores from other architectures. - Add a kvaddr_type to represent kernel virtual addresses instead of unsigned long. - Add a struct kvm_nlist which is a stripped down version of struct nlist that uses kvaddr_t for n_value. - Add a kvm_native() routine that returns true if an open kvm descriptor is for a native kernel and memory image. - Add a kvm_open2() function similar to kvm_openfiles(). It drops the unused 'swapfile' argument and adds a new function pointer argument for a symbol resolving function. Native kernels still use _fdnlist() from libc to resolve symbols if a resolver function is not supplied, but cross kernels require a resolver. - Add a kvm_nlist2() function similar to kvm_nlist() except that it uses struct kvm_nlist instead of struct nlist. - Add a kvm_read2() function similar to kvm_read() except that it uses kvaddr_t instead of unsigned long for the kernel virtual address. - Add a new kvm_arch switch of routines needed by a vmcore backend. Each backend is responsible for implementing kvm_read2() for a given vmcore format. - Use libelf to read headers from ELF kernels and cores (except for powerpc cores). - Add internal helper routines for the common page offset hash table used by the minidump backends. - Port all of the existing kvm backends to implement a kvm_arch switch and to be cross-friendly by using private constants instead of ones that vary by platform (e.g. PAGE_SIZE). Static assertions are present when a given backend is compiled natively to ensure the private constants match the real ones. - Enable all of the existing vmcore backends on all platforms. This means that libkvm on any platform should be able to perform KVA translation and read data from a vmcore of any platform.
Tested on: amd64, i386, sparc64 (marius) Differential Revision: https://reviews.freebsd.org/D3341
|
289469 |
17-Oct-2015 |
ngie |
Make iscsictl and iscsid build if MK_ISCSI == yes
MFC after: 1 month X-MFC with: r289452
|
289452 |
17-Oct-2015 |
trasz |
Add iscsictl(8) and iscsid(8) to rescue(8). The point is to make it easier to build md_root images from rescue(8), to use with iSCSI boot.
The change increases the size of rescue by 62kB, from 8728kB to 8790kB.
Reviewed by: bapt@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3865
|
288228 |
25-Sep-2015 |
bdrewery |
META_MODE: Remove DEP_MACHINE from Makefile.depend files.
This has not been needed since r246865 in projects/bmake.
Sponsored by: EMC / Isilon Storage Division
|
288226 |
25-Sep-2015 |
bdrewery |
META_MODE: Remove DEP_RELDIR from Makefile.depend files.
This has not been needed since r284171 in projects/bmake.
Sponsored by: EMC / Isilon Storage Division
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796 Reviewed by: brooks imp
|
279219 |
23-Feb-2015 |
ken |
Significant upgrades to sa(4) and mt(1).
The primary focus of these changes is to modernize FreeBSD's tape infrastructure so that we can take advantage of some of the features of modern tape drives and allow support for LTFS.
Significant changes and new features include:
o sa(4) driver status and parameter information is now exported via an XML structure. This will allow for changes and improvements later on that will not break userland applications. The old MTIOCGET status ioctl remains, so applications using the existing interface will not break.
o 'mt status' now reports drive-reported tape position information as well as the previously available calculated tape position information. These numbers will be different at times, because the drive-reported block numbers are relative to BOP (Beginning of Partition), but the block numbers calculated previously via sa(4) (and still provided) are relative to the last filemark. Both numbers are now provided. 'mt status' now also shows the drive INQUIRY information, serial number and any position flags (BOP, EOT, etc.) provided with the tape position information. 'mt status -v' adds information on the maximum possible I/O size, and the underlying values used to calculate it.
o The extra sa(4) /dev entries (/dev/saN.[0-3]) have been removed.
The extra devices were originally added as place holders for density-specific device nodes. Some OSes (NetBSD, NetApp's OnTap and Solaris) have had device nodes that, when you write to them, will automatically select a given density for particular tape drives.
This is a convenient way of switching densities, but it was never implemented in FreeBSD. Only the device nodes were there, and that sometimes confused users.
For modern tape devices, the density is generally not selectable (e.g. with LTO) or defaults to the highest availble density when the tape is rewritten from BOT (e.g. TS11X0). So, for most users, density selection won't be necessary. If they do need to select the density, it is easy enough to use 'mt density' to change it.
o Protection information is now supported. This is either a Reed-Solomon CRC or CRC32 that is included at the end of each block read and written. On write, the tape drive verifies the CRC, and on read, the tape drive provides a CRC for the userland application to verify.
o New, extensible tape driver parameter get/set interface.
o Density reporting information. For drives that support it, 'mt getdensity' will show detailed information on what formats the tape drive supports, and what formats the tape drive supports.
o Some mt(1) functionality moved into a new mt(3) library so that external applications can reuse the code.
o The new mt(3) library includes helper routines to aid in parsing the XML output of the sa(4) driver, and build a tree of driver metadata.
o Support for the MTLOAD (load a tape in the drive) and MTWEOFI (write filemark immediate) ioctls needed by IBM's LTFS implementation.
o Improve device departure behavior for the sa(4) driver. The previous implementation led to hangs when the device was open.
o This has been tested on the following types of drives: IBM TS1150 IBM TS1140 IBM LTO-6 IBM LTO-5 HP LTO-2 Seagate DDS-4 Quantum DLT-4000 Exabyte 8505 Sony DDS-2
contrib/groff/tmac/doc-syms, share/mk/bsd.libnames.mk, lib/Makefile, Add libmt.
lib/libmt/Makefile, lib/libmt/mt.3, lib/libmt/mtlib.c, lib/libmt/mtlib.h, New mt(3) library that contains functions moved from mt(1) and new functions needed to interact with the updated sa(4) driver.
This includes XML parser helper functions that application writers can use when writing code to query tape parameters.
rescue/rescue/Makefile: Add -lmt to CRUNCH_LIBS.
src/share/man/man4/mtio.4 Clarify this man page a bit, and since it contains what is essentially the mtio.h header file, add new ioctls and structure definitions from mtio.h.
src/share/man/man4/sa.4 Update BUGS and maintainer section.
sys/cam/scsi/scsi_all.c, sys/cam/scsi/scsi_all.h: Add SCSI SECURITY PROTOCOL IN/OUT CDB definitions and CDB building functions.
sys/cam/scsi/scsi_sa.c sys/cam/scsi/scsi_sa.h Many tape driver changes, largely outlined above.
Increase the sa(4) driver read/write timeout from 4 to 32 minutes. This is based on the recommended values for IBM LTO 5/6 drives. This may also avoid timeouts for other tape hardware that can take a long time to do retries and error recovery. Longer term, a better way to handle this is to ask the drive for recommended timeout values using the REPORT SUPPORTED OPCODES command. Modern IBM and Oracle tape drives at least support that command, and it would allow for more accurate timeout values.
Add XML status generation. This is done with a series of macros to eliminate as much duplicate code as possible. The new XML-based status values are reported through the new MTIOCEXTGET ioctl.
Add XML driver parameter reporting, using the new MTIOCPARAMGET ioctl.
Add a new driver parameter setting interface, using the new MTIOCPARAMSET and MTIOCSETLIST ioctls.
Add a new MTIOCRBLIM ioctl to get block limits information.
Add CCB/CDB building routines scsi_locate_16, scsi_locate_10, and scsi_read_position_10().
scsi_locate_10 implements the LOCATE command, as does the existing scsi_set_position() command. It just supports additional arguments and features. If/when we figure out a good way to provide backward compatibility for older applications using the old function API, we can just revamp scsi_set_position(). The same goes for scsi_read_position_10() and the existing scsi_read_position() function.
Revamp sasetpos() to take the new mtlocate structure as an argument. It now will use either scsi_locate_10() or scsi_locate_16(), depending upon the arguments the user supplies. As before, once we change position we don't have a clear idea of what the current logical position of the tape drive is.
For tape drives that support long form position data, we read the current position and store that for later reporting after changing the position. This should help applications like Bacula speed tape access under FreeBSD once they are modified to support the new ioctls.
Add a new quirk, SA_QUIRK_NO_LONG_POS, that is set for all drives that report SCSI-2 or older, as well as drives that report an Illegal Request type error for READ POSITION with the long format. So we should automatically detect drives that don't support the long form and stop asking for it after an initial try.
Add a partition number to the sa(4) softc.
Improve device departure handling. The previous implementation led to hangs when the device was open.
If an application had the sa(4) driver open, and attempted to close it after it went away, the cam_periph_release() call in saclose() would cause the periph to get destroyed because that was the last reference to it. Because destroy_dev() was called from the sa(4) driver's cleanup routine (sacleanup()), and would block waiting for the close to happen, a deadlock would result.
So instead of calling destroy_dev() from the cleanup routine, call destroy_dev_sched_cb() from saoninvalidate() and wait for the callback.
Acquire a reference for devfs in saregister(), and release it in the new sadevgonecb() routine when all devfs devices for the particular sa(4) driver instance are gone.
Add a new function, sasetupdev(), to centralize setting per-instance devfs device parameters instead of repeating the code in saregister().
Add an open count to the softc, so we know how many peripheral driver references are a result of open sessions.
Add the D_TRACKCLOSE flag to the cdevsw flags so that we get a 1:1 mapping of open to close calls instead of a N:1 mapping.
This should be a no-op for everything except the control device, since we don't allow more than one open on non-control devices.
However, since we do allow multiple opens on the control device, the combination of the open count and the D_TRACKCLOSE flag should result in an accurate peripheral driver reference count, and an accurate open count.
The accurate open count allows us to release all peripheral driver references that are the result of open contexts once we get the callback from devfs.
sys/sys/mtio.h: Add a number of new mt(4) ioctls and the requisite data structures. None of the existing interfaces been removed or changed.
This includes definitions for the following new ioctls:
MTIOCRBLIM /* get block limits */ MTIOCEXTLOCATE /* seek to position */ MTIOCEXTGET /* get tape status */ MTIOCPARAMGET /* get tape params */ MTIOCPARAMSET /* set tape params */ MTIOCSETLIST /* set N params */
usr.bin/mt/Makefile: mt(1) now depends on libmt, libsbuf and libbsdxml.
usr.bin/mt/mt.1: Document new mt(1) features and subcommands.
usr.bin/mt/mt.c: Implement support for mt(1) subcommands that need to use getopt(3) for their arguments.
Implement a new 'mt status' command to replace the old 'mt status' command. The old status command has been renamed 'ostatus'.
The new status function uses the MTIOCEXTGET ioctl, and therefore parses the XML data to determine drive status. The -x argument to 'mt status' allows the user to dump out the raw XML reported by the kernel.
The new status display is mostly the same as the old status display, except that it doesn't print the redundant density mode information, and it does print the current partition number and position flags.
Add a new command, 'mt locate', that will supersede the old 'mt setspos' and 'mt sethpos' commands. 'mt locate' implements all of the functionality of the MTIOCEXTLOCATE ioctl, and allows the user to change the logical position of the tape drive in a number of ways. (Partition, block number, file number, set mark number, end of data.) The immediate bit and the explicit address bits are implemented, but not documented in the man page.
Add a new 'mt weofi' command to use the new MTWEOFI ioctl. This allows the user to ask the drive to write a filemark without waiting around for the operation to complete.
Add a new 'mt getdensity' command that gets the XML-based tape drive density report from the sa(4) driver and displays it. This uses the SCSI REPORT DENSITY SUPPORT command to get comprehensive information from the tape drive about what formats it is able to read and write.
Add a new 'mt protect' command that allows getting and setting tape drive protection information. The protection information is a CRC tacked on to the end of every read/write from and to the tape drive.
Sponsored by: Spectra Logic MFC after: 1 month
|
278433 |
09-Feb-2015 |
rpaulo |
Merge xz 5.2.0.
This brings support for multi-threaded compression. This brings close N times faster compression where N is the number of CPU cores. Because of this, liblzma now depends on libthr.
Soon libarchive will be modified to use the new lzma API.
Thanks to antoine@ for the exp-run.
Differential Revision: https://reviews.freebsd.org/D1786 Reviewed by: bapt
|
277665 |
25-Jan-2015 |
ngie |
Only build vi support into rescue if MK_VI != no
Sponsored by: EMC / Isilon Storage Division
|
275435 |
03-Dec-2014 |
delphij |
Add sleep(1) to /rescue. This adds 664 bytes to the binary on amd64 but it's pretty useful for shell scripts.
MFC after: 1 month Sponsored by: iXsystems, Inc.
|
274217 |
07-Nov-2014 |
marcel |
Add libxo, now needed by df(1).
Pointed out by: rodrigc@ (thanks!)
|
272245 |
28-Sep-2014 |
nyan |
Remove duplicate prog.
|
270189 |
20-Aug-2014 |
delphij |
Add zdb into rescue environment.
On amd64, this would increase the binary size by 1.1MiB and make it possible to examine zpool status offline, useful for recovery and diagnostic purposes.
Submitted by: sef Obtained from: FreeNAS MFC after: 2 weeks
|
269125 |
26-Jul-2014 |
dim |
In r232153, libarchive 3.0.3 was imported, replacing the archive_hash.h header with archive_crypto_private.h, and its ARCHIVE_HASH_xxx macros were renamed to ARCHIVE_CRYPTO_xxx.
Rename these macros in lib/libarchive/config_freebsd.h, to re-enable the hashes for libarchive again. This affects the mtree format writer, and the xar format reader and writer modules.
This also requires changes in the library order for statically linking rescue, otherwise ld would complain about redefined symbols. Thanks to jkim for pointing out the solution.
Reviewed by: kientzle MFC after: 1 week
|
268804 |
17-Jul-2014 |
brooks |
Replace all uses of libncurses and libtermcap with their wide character variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library.
Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL
|
268351 |
07-Jul-2014 |
marcel |
Remove ia64.
This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation
This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h
Discussed at: BSDcan
|
266569 |
23-May-2014 |
imp |
Minor style nits...
|
265420 |
06-May-2014 |
imp |
Use src.opts.mk in preference to bsd.own.mk except where we need stuff from the latter.
|
265239 |
02-May-2014 |
bdrewery |
- Fix build WITHOUT_ZFS/WITHOUT_CDDL after r265229, bin/ps needs libjail.
MFC after: 2 weeks X-MFC-with: r265229
|
264400 |
13-Apr-2014 |
imp |
NO_MAN= has been deprecated in favor of MAN= for some time, go ahead and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
|
263140 |
14-Mar-2014 |
glebius |
Remove IPX support.
IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011.
Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.
|
252356 |
28-Jun-2013 |
davide |
- Trim an unused and bogus Makefile for mount_smbfs. - Reconnect with some minor modifications, in particular now selsocket() internals are adapted to use sbintime units after recent'ish calloutng switch.
|
250626 |
13-May-2013 |
delphij |
Add less to rescue build. On amd64, this increases rescue size by about 130KB or 2.4%.
MFC after: 1 month
|
249083 |
04-Apr-2013 |
mav |
Remove all legacy ATA code parts, not used since options ATA_CAM enabled in 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
|
248571 |
21-Mar-2013 |
mm |
Merge libzfs_core branch: includes MFV 238590, 238592, 247580
MFV 238590, 238592: In the first zfs ioctl restructuring phase, the libzfs_core library was introduced. It is a new thin library that wraps around kernel ioctl's. The idea is to provide a forward-compatible way of dealing with new features. Arguments are passed in nvlists and not random zfs_cmd fields, new-style ioctls are logged to pool history using a new method of history logging.
http://blog.delphix.com/matt/2012/01/17/the-future-of-libzfs/
MFV 247580 [1]: To address issues of several deadlocks and race conditions the locking code around dsl_dataset was rewritten and the interface to synctasks was changed.
User-Visible Changes: "zfs snapshot" can create more arbitrary snapshots at once (atomically) "zfs destroy" destroys multiple snapshots at once "zfs recv" has improved performance
Backward Compatibility: I have extended the compatibility layer to support full backward compatibility by remapping or rewriting the responsible ioctl arguments. Old utilities are fully supported by the new kernel module.
Forward Compatibility: New utilities work with old kernels with the following restrictions: - creating, destroying, holding and releasing of multiple snapshots at once is not supported, this includes recursive (-r) commands
Illumos ZFS issues: 2882 implement libzfs_core 2900 "zfs snapshot" should be able to create multiple, arbitrary snapshots at once 3464 zfs synctask code needs restructuring
References: https://www.illumos.org/issues/2882 https://www.illumos.org/issues/2900 https://www.illumos.org/issues/3464 [1]
MFC after: 1 month Sponsored by: Hybrid Logic Inc. [1]
|
241680 |
18-Oct-2012 |
attilio |
Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 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.
|
241636 |
17-Oct-2012 |
attilio |
Disconnect non-MPSAFE NTFS from the build in preparation for dropping 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.
|
241629 |
17-Oct-2012 |
attilio |
Disconnect non-MPSAFE NWFS from the build in preparation for dropping 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.
|
240740 |
20-Sep-2012 |
bapt |
unbreak build: rescue now needs -ljail if MK_ZFS is on
|
238926 |
30-Jul-2012 |
mm |
Partial MFV (illumos-gate 13753:2aba784c276b) 2762 zpool command should have better support for feature flags
References: https://www.illumos.org/issues/2762
MFC after: 2 weeks
|
231642 |
14-Feb-2012 |
rmh |
Disable jail support in ifconfig when either building a rescue image or MK_JAIL knob has been set to "no".
Reviewed by: bz Approved by: adrian (mentor)
|
228112 |
29-Nov-2011 |
fjoe |
-lreadline is not required anymore.
|
228074 |
28-Nov-2011 |
fjoe |
-lpthread is required by -lzfs so should be later in LIBS list.
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.
|
227531 |
15-Nov-2011 |
des |
Add netcat (nc) to /rescue.
MFC after: 3 weeks
|
219089 |
27-Feb-2011 |
pjd |
Finally... Import the latest open-source ZFS version - (SPA) 28.
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
|
215226 |
13-Nov-2010 |
adrian |
Break out the rules which generate crunchgen'ed binaries into a separate .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.
|
211725 |
23-Aug-2010 |
imp |
MFtbemd:
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
|
207849 |
10-May-2010 |
mm |
Enable liblzma support in libarchive Adjust dependencies for programs using libarchive Add xz and linkage against liblzma to rescue system
Approved by: kientzle, delphij (mentor) MFC after: 2 weeks
|
202755 |
21-Jan-2010 |
ed |
Remove libulog from the bootstrap again.
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.
|
200169 |
05-Dec-2009 |
ed |
Unbreak rescue(8). We should also link against libulog now.
|
194871 |
24-Jun-2009 |
jamie |
Add the "vnet" and "-vnet" options, to allow moving interfaces between jails with VIMAGE.
Approved by: bz (mentor)
|
192617 |
23-May-2009 |
kmacy |
Add zfs/zpool to rescue programs
PR: bin/125878 Submitted by: nork@ MFC after: 3 days
|
191239 |
18-Apr-2009 |
kientzle |
Libarchive is sprouting dependencies on libmd and libcrypto. 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.
|
191227 |
17-Apr-2009 |
kientzle |
*** empty log message ***
|
190751 |
05-Apr-2009 |
ed |
Remove if_ppp(4) and if_sl(4).
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.
|
188895 |
21-Feb-2009 |
ru |
Fix build when WITH_SSP is set explicitly.
Submitted by: Jeremie Le Hen
|
183007 |
13-Sep-2008 |
imp |
Take a moment to tidy some white space while I'm here. No functional changes for this commit.
|
183006 |
13-Sep-2008 |
imp |
We don't need pax and tar. These days tar is a strict superset of pax. Per discssuion on arch@ eliminate it.
|
182543 |
31-Aug-2008 |
yar |
pkill(1) first appeared in /usr/bin, but later it was moved to /bin 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
|
180012 |
25-Jun-2008 |
ru |
Enable GCC stack protection (aka Propolice) for userland: - 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>
|
179308 |
25-May-2008 |
rwatson |
Remove netatm from HEAD as it is not MPSAFE and relies on the now removed 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
|
177707 |
29-Mar-2008 |
ru |
Adding glabel alias killed gpart alias; fix it.
|
176853 |
05-Mar-2008 |
delphij |
Add an alias for glabel(8).
|
173314 |
04-Nov-2007 |
marcel |
o Build geom for all platforms. o Don't build bsdlabel for ia64. o Don't build fdisk and gpt for ia64.
|
173073 |
27-Oct-2007 |
yar |
Add some essential tools to rescue(8) in order to make it 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
|
171453 |
14-Jul-2007 |
rwatson |
Disconnect netatm from the build as it is not MPSAFE and relies on 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)
|
171023 |
25-Jun-2007 |
rafan |
- Remove UMAP filesystem. It was disconnected from build three years ago, and it is seriously broken.
Discussed on: freebsd-arch@ Approved by: re (mux)
|
166255 |
26-Jan-2007 |
delphij |
Replace the GNU gzip with a slightly modified NetBSD gzip. The 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)
|
164526 |
22-Nov-2006 |
rodrigc |
Remove mount_ext2fs.
|
164487 |
22-Nov-2006 |
rodrigc |
Remove references to mount_devfs, mount_fdescfs, mount_linprocfs, mount_procfs.
Reminded by: ru
|
161526 |
22-Aug-2006 |
ru |
Remove alpha left-overs.
|
160744 |
27-Jul-2006 |
yar |
Respect MK_INET6_SUPPORT.
|
157627 |
10-Apr-2006 |
ru |
Pass -DCRUNCH down to standard targets in individual makefiles.
|
157177 |
27-Mar-2006 |
cognet |
*sigh* 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.
|
156905 |
20-Mar-2006 |
ru |
Extend coverage of the MK_IPX build option to the following:
- <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.
|
156813 |
17-Mar-2006 |
ru |
Reimplementation of world/kernel build options. For details, see:
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)
|
153455 |
15-Dec-2005 |
jhb |
Install nextboot in /rescue as /rescue/nextboot rather than /rescue/nextboot.sh to match the name in /sbin (/sbin/nextboot).
Reviewed by: gtetlow MFC after: 1 week
|
148796 |
06-Aug-2005 |
phk |
Respect the YES_HESIOD build variable.
|
147090 |
07-Jun-2005 |
brooks |
Fix path to dhclient-script and reconnect to build.
|
147070 |
07-Jun-2005 |
brooks |
Temporarily disconnect dhclient from the build while I import the OpenBSD version.
|
145630 |
28-Apr-2005 |
darrenr |
Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanup build problems with rescue.
|
143803 |
18-Mar-2005 |
cperciva |
Run "make obj" before "make build-tools" in the directories used for 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@)
|
143026 |
02-Mar-2005 |
trhodes |
Wrap BSD r* commands in NO_RCMDS. Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk.
Discussed with: ru, nectar
|
141478 |
07-Feb-2005 |
des |
Add chroot. It can be a real lifesaver, and adds less than 2 kB.
|
140508 |
20-Jan-2005 |
ru |
Ignoring MAKEFLAGS in rev. 1.15 was a very bad idea. This causes 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.
|
139234 |
23-Dec-2004 |
ru |
Don't call "objs" target in rescue.mk twice.
|
139233 |
23-Dec-2004 |
ru |
Make "===> " prefixes look sane.
|
139115 |
21-Dec-2004 |
ru |
NOINET6 -> NO_INET6
|
139113 |
21-Dec-2004 |
ru |
NOCRYPT -> NO_CRYPT
|
139105 |
21-Dec-2004 |
ru |
NOATM -> NO_ATM
|
139103 |
21-Dec-2004 |
ru |
Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by: core
|
139020 |
18-Dec-2004 |
ru |
Add missing dependencies of $(OUTPUTS) on source makefiles.
Caught by: make -DNOCLEAN buildworld
|
138366 |
04-Dec-2004 |
obrien |
Replace GNU tar with BSD tar.
|
137675 |
13-Nov-2004 |
bz |
Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set. If turned on no NIS support and related programs will be built.
Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
|
137201 |
04-Nov-2004 |
phk |
Remove references to NO_VINUM
|
136910 |
24-Oct-2004 |
ru |
For variables that are only checked with defined(), don't provide any fake value.
|
133799 |
16-Aug-2004 |
marius |
As with the non-rescue version don't build fore_dnld when NOATM is defined.
|
127075 |
16-Mar-2004 |
phk |
Remove dangling raidctl reference
|
126874 |
12-Mar-2004 |
des |
Add id(1) (aka groups(1) aka whoami(1)) since it is used by install.sh.
|
124695 |
18-Jan-2004 |
kientzle |
Revision 1.7 of this file added information 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)
|
123802 |
24-Dec-2003 |
ru |
Properly spell make binary as ${MAKE}.
This fixes buildworld for systems with old make(1) binaries.
Reported by: Benjamin Close
|
123131 |
03-Dec-2003 |
imp |
Remove cxconfig and add sconfig
# maybe we can remove sconfig later from rescue?
Submitted by: Roman Kurakin <rik@cronyx.com> Approved by: re@ <scottl>
|
123114 |
02-Dec-2003 |
brooks |
Reconnect ipfstat, ipnat, and ipftest to the build now that if_xname support is enabled.
Approved by: re (scottl)
|
122341 |
09-Nov-2003 |
obrien |
Alternate version of rev 1.20. Comment out rather than totally remove the ipfilter pieces that we need reconnected some day. This is now only ipnat as it is for configuring NAT. ipfstat is meant for reporting statistics/filter lists. For /rescue it is enough to configure lists but not view the installed ones.
|
121818 |
31-Oct-2003 |
brooks |
Temporarily disable ipfstat and ipnat in /rescue to fix world.
|
120519 |
27-Sep-2003 |
markm |
No need to check for the directory, fols are assumed to have all the correct sources. Only check the crypto macros.
|
120492 |
26-Sep-2003 |
fjoe |
- Support for multibyte charsets in LIBICONV. - CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options (with corresponding modules). - kiconv(3) for loadable charset conversion tables support.
Submitted by: Ryuichiro Imura <imura@ryu16.org>
|
119664 |
02-Sep-2003 |
phk |
Teach rescue about NOATM, NO_VINUM and NOINET6
|
118826 |
12-Aug-2003 |
harti |
Build the atmconfig utility into rescue.
|
118299 |
01-Aug-2003 |
gordon |
When using crunchgen, blow away MAKEFLAGS. This fixes make -j <#> -P from passing the -P flag to crunchgen which seems to confuse crunchgen horribly. This is the preferable solution to modifing crunchgen to unset the MAKEFLAGS environment variable.
Submitted by: gad@
|
117956 |
24-Jul-2003 |
gordon |
Fix rescue build using -j. The problem appears to be make not being able to find the source when the object was specified as <directory>/foo.o.
The fix makes the build go through a make objs before compiling the rest of the crunchgen. This ensures that the dhclient bits are built in the correct place where they are picked up for the final compile of rescue.
I'd like to thank dwhite@ and gad@ for helping me track down the problem.
Fast testing box provided by: phk@ (thanks)
|
117816 |
21-Jul-2003 |
obrien |
Missed one, remove one more.
|
117791 |
19-Jul-2003 |
obrien |
Trim /rescue.
Discussed on: freebsd-arch@
|
117711 |
18-Jul-2003 |
obrien |
Obey NOCRYPT
Submitted by: Skip Ford <skip.ford@verizon.net>
|
117693 |
17-Jul-2003 |
obrien |
NO_TCSH would be set in /etc/make.conf, not here. Also obey NO_IPFILTER.
|
117692 |
17-Jul-2003 |
obrien |
consistify the style some
|
117682 |
17-Jul-2003 |
obrien |
Remove the commented out 'rmail' before someone gets a really bad idea.
|
117680 |
17-Jul-2003 |
obrien |
*major* style problems.
|
117679 |
17-Jul-2003 |
obrien |
We don't need so many -I's.
|
117646 |
15-Jul-2003 |
obrien |
Don't directly use GCC warnings.
|
117601 |
15-Jul-2003 |
gordon |
Depessimize rescue build by only clean'ing and obj'ing the directories we care about, not a full usr.bin tree. This should reduce buildworld times pretty drastically.
Requested by: lots of people
|
117449 |
11-Jul-2003 |
gordon |
Turn rescue back on, conditional to NORESCUE. We seem to be split on using underscores or not, so I just randomly picked a style. I think I have the logic correct, but if someone wants to give it a once over that would be good.
Tim submitted a patch to fix the cross-building issues which I tested with a tinderbox run for sparc64.
Submitted by: Tim Kientzle <kientzle@acm.org>
|
117086 |
30-Jun-2003 |
gordon |
Remove mount_portalfs, it's just wrong in this context.
|
117079 |
30-Jun-2003 |
gordon |
Don't build mount_nwfs or mount_smbfs in rescue. Build fdisk_pc98 on pc98 arch, not fdisk. Don't alias disklabel on pc98, ia64. Don't build fdisk on sparc64, alpha.
Pointed out by: tmm@ Submitted by: Tim Kientzle <kientzle@acm.org>
|
117057 |
30-Jun-2003 |
gordon |
Fix fdisk naming issues on pc98 and other platforms. Fix disklabel, bsdlabel, and sunlabel on various platforms.
Noticed by: tmm@ Submitted by: Tim Kientzle <kientzle@acm.org>
|
117043 |
29-Jun-2003 |
gordon |
Fix typo sparc -> sparc64
Submitted by: tmm@
|
117035 |
29-Jun-2003 |
gordon |
Add /rescue bits. This basically encompasses all of bin and sbin along with a couple of bits from usr.bin in a crunchgen'd binary.
Submitted by: Tim Kientzle <kientzle@acm.org>
|