| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Submitted by: ru
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
I can fix it better.
Requested by: ru@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch strncpy to strlcpy suggested by gad and issue found by pjd.
Add to uname(3) man page describing:
UNAME_s
UNAME_r
UNAME_v
UNAME_m
Add to getosreldate(3) man page describing:
OSVERSION
Submitted by: ru, pjd/gad
Reviewed by: ru (man pages)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD machine. To do this add the man 1 uname changes to __xuname.c
so we can override the settings it reports. Add OSVERSION override
to getosreldate. Finally which Makefile.inc1 to use uname -m instead
of sysctl -n hw.machine_arch to get the arch. type.
With these change you can put a complete FreeBSD OS image into a
chroot set:
UNAME_s=FreeBSD
UNAME_r=4.7-RELEASE
UNAME_v="FreeBSD $UNAME_r #1: Fri Jul 22 20:32:52 PDT 2005 fake@fake:/usr/obj/usr/src/sys/FAKE"
UNAME_m=i386
UNAME_p=i386
OSVERSION=470000
on an amd64 or i386 and it just work including building ports and using
pkg_add -r etc. The caveat for this example is that these patches
have to be applied to FreeBSD 4.7 and the uname(1) changes need to
be merged. This also addresses issue with libtool.
This is usefull for when a build machine has been trashed for an
old release and we want to do a build on a new machine that FreeBSD
4.7 won't run on ...
|
|
|
|
|
|
| |
to hard code /bin/sh since we're forking it for the user to type
commands into. As such, ${SHELL} is the preferred thing users type
commands into.
|
|
|
|
| |
a kernel. It's slower and is generally only applicable to RELENG_4.
|
| |
|
|
|
|
|
|
| |
by a user. Instead, add individual checks as dependencies to
the main "installcheck" target. Make sure that installkernel
etc. depend on it (including the UID/GID checks).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
bsd.incs.mk, and use it when installing 32-bit compat libraries
on amd64. This causes it to *not* overwrite native headers with
i386 versions, which was the case with <fenv.h> and <vgl.h>.
PR: amd64/83806
Prodded by: bde
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
DISTDIR.
Reported by: nyan
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Reported by: scottl
I'm not very fond of using the non-standard lockf(1) here, but I
have no better idea at the moment. NetBSD uses ln(1) to create a
lock file, but this approach can result in a deadlock if make is
interrupted, leaving an orphaned lock file.
|
| |
|
| |
|
|
|
|
| |
First noticed by: kris
|
| |
|
|
|
|
|
| |
- clean ${OBJTREE}/lib32 in _cleanobj
- ensure that ${WORLDTMP} exists in build32
|
|
|
|
| |
- Install lib32 bits using the real install(1) program.
|
| |
|
|
|
|
|
|
|
| |
are called (wrapped in ".if make(...)"). This may reduce the amount of
memory needed for all other targets (the file lists are already large
and they will grow further).
- Be verbose in the batch case of the delete-old part too.
|
|
|
|
|
|
| |
run time, not parse time. This unbreaks cross-builds.
Pointy hat to: netchild
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add a note about the organisation of the sections.
- Expand shell globs (they worked in a previous version of the delete-old
target, but not in this one).
- Use the correct way of checking for a native environment. [1]
- Add some more obsolete files.
- Fix some bad english. [1]
Suggested by: ru [1]
Approved by: mentor (joerg)
|
|
|
|
|
|
|
|
| |
than increase it, and seems to be the cause of the memory leaks which some
users have reported.
Requested by: dougb
MFC after: 5 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- removes obsolete files/dirs or libraries.
- works in interactive (default) and batch mode
- respects DISTDIR
- documented in UPDATING and build(7)
The head of the file ObsoleteFiles.inc contains instructions how to add
obsolete files/dirs/libs to the list. Obviously one should add obsolete
files to this list, when he removes a file/dir/lib from the basesystem.
Additionally add check-old target:
- allows re@ to check if a file on the obsolete list resurfaces
Design goals:
- allows full control by the user (default interactive mode)
- possibility of scripted removal of obsolete files (batch mode)
- opt-in removal of files (explicit list of files)
- seperate removal of libs (2 delete targets)
Important design decissions:
- structured list of files to remove instead of a plain text file:
* allows to remove additional files if a NO_foo knob is specified
without the need to change the targets (no NO_foo knob is respected
yet)
- not using mtree like NetBSD does:
* mtree doesn't has an interactive mode
Discussed on: arch (long ago), current (this year)
Additional input from: re (hrs)
Approved by: mentor (joerg)
|
|
|
|
|
| |
when cross-building (installing). (This is useful for NFS
installing world/kernel to another architecture machine.)
|
|
|
|
|
|
|
|
| |
dependencies. We do not need to build 32bit compat tools to compile
a kernel.
Approved by: re (scottl)
Reported by: jhb
|
|
|
|
|
|
| |
Prodded by: obrien
Nodded by: peter
Approved by: re
|
|
|
|
| |
shim libraries on amd64.
|
|
|
|
|
|
| |
always bootstrap texinfo.
Reported by: scottl
|
| |
|
| |
|
|
|
|
|
| |
entirely to fix the tinderbox machine. This change will be reverted
once the tinderboxen are tindering again.
|
|
|
|
|
| |
32 bit libraries by default. Define NO_LIB32 in make.conf if you do not
want this.
|
|
|
|
| |
That change exposed the fact that I'd forgotten to set $MACHINE here.
|
|
|
|
| |
(Initially spotted by kris@ on RELENG_5.)
|
|
|
|
| |
Reported by: pav
|
|
|
|
|
|
|
|
| |
native and foreign architectures and comparing products).
They eliminate most of the differences caused by different
object directory paths, timestamping, and identification.
(Note WORLDTMP was renamed to ${OBJTREE}${.CURDIR}/tmp.)
|
| |
|
|
|
|
| |
we've eventually changed the user interface of a common command.
|
| |
|
| |
|
|
|
|
| |
OK'ed by: phantom
|
|
|
|
|
|
| |
target of the same name from src/etc/Makefile with a proper
environment, suitable to be used during upgrades and cross-
builds.
|
|
|
|
| |
versions prior to 5.3.
|