Commit Graph

6497 Commits

Author SHA1 Message Date
nwhitehorn
7c1cc185fa Mount memsticks read-only by default to prevent them being filled by
user modifications and subsequently preventing a functioning installation.

Approved by:	re (kib)
2011-07-30 00:51:36 +00:00
nwhitehorn
e9f4b69295 Per request of the docs team, install docs as packages, instead of via
the normal distfile mechanism. Thanks to Marc Fonvieille for the patch and
for putting up with me taking entirely too long to commit this!

Submitted by:	blackend
2011-07-09 23:01:54 +00:00
marcel
8ea91bf8fb Add a trivial script for creating memstick images. These are not
bootable yet, but proven to be useful without it already.
2011-07-04 17:03:19 +00:00
hrs
b6944718e6 Bump &release.manpath.*;. 2011-06-23 02:38:06 +00:00
hrs
6bed1e8b26 Remove links to mirrorlist.FreeBSD.org.
Submitted by:	ryusuke
Reported by:	gavin, brucec
2011-06-23 02:35:55 +00:00
nwhitehorn
fd8e41eac7 Make the bootonly CD smaller by discarding static libraries that are not
useful without a toolchain.
2011-06-15 23:56:40 +00:00
nwhitehorn
4049e0f7dd Do not install the rescue tools onto the install CD. Since it is read
only, they are very unlikely to be needed and take up a great deal of
space.
2011-06-15 23:38:15 +00:00
gshapiro
1d8b41ba10 sendmail has been updated to 8.14.5 2011-06-14 06:45:48 +00:00
nwhitehorn
51a4a71669 Add an MBR to our release media to aid booting some IBM systems. 2011-06-12 00:14:57 +00:00
marcel
d64e8f1905 Don't clobber the hosts /etc/fstab. $1 is empty at this point. 2011-06-06 18:25:11 +00:00
marcel
66b850c8c6 Fix ia64 ISO creation:
o   boot/mfsroot.gz is no more. Copy it only when it exists so as still
    to be compatible with Makefile.sysinstall.
o   while here, make ispfw.ko optional as well.
o   '-b bootimage' is not a valid argument for makefs. What was meant
    was '-o bootimage'.
o   create the boot image in the current directory so that makefs can
    find the file. Previously it had to be created under $BASE because
    that's how mkisofs wanted it.
2011-06-06 01:52:15 +00:00
nwhitehorn
a02652f83d As requested by many people, with final prodding from Jason Hall, fix this
so that running make release causes make obj to be run before doing
anything. This fixes a bug wherein, when run for the first time, and
without -DNOSRC, make release would attempt to recursively tar up the src
directory including its own output and enter an infinite loop.

While here, make the cross-building stuff work a little more the way it
should if only one of TARGET/TARGET_ARCH is specified.
2011-05-18 17:39:28 +00:00
attilio
75eec16b78 Remove actual files supporting sun4v.
Approved by:	re
2011-05-14 01:56:48 +00:00
attilio
96139278ce Disconnect sun4v architecture from the three.
Some files keep the SUN4V tags as a code reference, for the future,
if any rewamped sun4v support wants to be added again.

Reviewed by:	marius
Tested by:	sbruno
Approved by:	re
2011-05-14 01:53:38 +00:00
nwhitehorn
24d9363753 Fix pSeries/PAPR boot CD construction after actual testing. It seems that
IBM SLOF is (a) case-sensitive and (b) accepts only booting files in
certain subdirectories of the CD.
2011-05-12 22:31:13 +00:00
nwhitehorn
71da39e09c Add (somewhat speculative) bootable CD support for PAPR/pSeries-type
systems. In principle, FreeBSD should run on at least some of these
already, and support for the remainder will hopefully show up eventually,
so add this while I'm thinking about it.
2011-05-12 15:03:17 +00:00
nwhitehorn
e2514ec90a Simplify this script somewhat, following excellent suggestions from
Ed Schouten.
2011-05-05 19:17:55 +00:00
nwhitehorn
0ed9dc9a04 Convert IA64 ISO script to use makefs instead of mkisofs. 2011-05-05 14:16:40 +00:00
nwhitehorn
3fa339365c Garbage collect some unused variables and stray debug code.
Submitted by:	marius
2011-05-05 13:55:43 +00:00
nwhitehorn
3a0f89209c Repair release CD generation on PC98 and sun4v after release building
changes, and backport the new logic (ISO images are TARGET dependant, not
TARGET_CPUARCH dependant) to Makefile.sysinstall. While modifying ISO
image scripts, change several archs to use makefs (from base) instead of
mkisofs (from ports) which makes release CD generation both faster and
self-hosting.
2011-05-04 23:41:11 +00:00
nwhitehorn
fa658caf7f Change the way powerpc bootable CDs are generated to work around a bug
in hybrid image generation in cdrtools. This produces a small HFS partition
containing loader, mapped in by an oddly-formed APM table using a new
feature in makefs. This does not appear to work yet on early-model G3
systems, which will be fixed later, but produces bootable CDs on
everything else.
2011-05-04 23:34:10 +00:00
nwhitehorn
d035dd6f46 Make sure to run make obj before release. Trying to run them in one step
doesn't always work reliably.
2011-05-04 02:52:41 +00:00
nwhitehorn
67e7e193a2 Mention the memstick target here. 2011-04-18 13:20:54 +00:00
nwhitehorn
0bccc08492 Don't do make release and make install in one step. Setting DESTDIR for
make release has deleterious consequences.
2011-04-11 15:03:01 +00:00
nwhitehorn
5d68dd33d3 Add an install target to release/Makefile instead of grubbing around
(and requesting that users grub around) in /usr/obj. Also make sure that
make clean removes the bootonly media and clean up that target a little.
2011-04-11 14:30:45 +00:00
nwhitehorn
7c133a7cf3 Allow the user to use the live environment post-installation, as well
as improving error handling.
2011-04-09 14:25:58 +00:00
nwhitehorn
aec80ebc21 Copy all generated ISO images into the release area. 2011-03-27 23:46:52 +00:00
nwhitehorn
0fa91de09c Add infrastructure for generation of boot-only ISO images. These have a
reduced world, though still reasonably complete for fixit purposes.
2011-03-27 23:46:12 +00:00
nwhitehorn
d58ef774db Cause the release target to set up its object directory. It is designed
to be a meta-target, and having it do this avoids it spewing files all
over the source tree by default (and possible recursive tarring if
distributing a src tarball).
2011-03-26 13:58:44 +00:00
nwhitehorn
817bc23655 Add support for memstick generation on PowerPC. This is a little suboptimal
since glabel doesn't know about APM partitioning yet, but works well enough.
2011-03-23 16:22:08 +00:00
nwhitehorn
7e04216c28 Use labels to find release media instead of hard-coded device paths. This
makes booting more reliable (and working at all on USB sticks). While here,
move responsibility for setting up fstab into the various platform mk-*.sh
scripts.

Suggested by:	many
2011-03-22 01:14:53 +00:00
nwhitehorn
56ada00856 Add support for checking out ports and doc trees from a CVS repository,
in addition to CVSUP, and add support for alternate SVN roots for src.

Requested by:	jhb
2011-03-19 23:06:17 +00:00
nwhitehorn
45a4292831 Thanks to sysinstall for its 15 years of service. And now to sleep,
perchance to dream...
2011-03-14 13:47:17 +00:00
nwhitehorn
77542b069d Fix some typos due to unremoved commented-out lines. A great big pointy
hat goes to me for this one.
2011-03-13 18:02:28 +00:00
nwhitehorn
da52594639 Add generation of an installation manifest containing SHA256 checksums as
well as package descriptions and add code in the installer to check the
checksums.
2011-03-13 17:15:31 +00:00
nwhitehorn
5f8e906c32 Connect the full doc build (Handbook, etc.) to the build. This is not built
if no doc checkout is found.
2011-03-13 15:08:06 +00:00
nwhitehorn
2397771613 Add generation of memstick images to the bsdinstall release makefile for
i386 and amd64. This involved moving the memstick generation script to
the arch directories from scripts/, in analogy to mkisoimages.sh. This
script was never called from /usr/src/release/Makefile, so that hasn't
been updated.
2011-03-13 01:38:24 +00:00
nwhitehorn
6a2ebb3fe3 Fix bugs and make improvements to documentation renaming.
Submitted by:	Garrett Cooper
2011-03-11 17:47:59 +00:00
nwhitehorn
c5dd777792 Add support for generating release documentation. Note that, due to the
release documentation build being broken at the moment, this is only
partially functional.
2011-03-11 17:01:14 +00:00
nwhitehorn
c0b3df6b71 Add a wrapper script for Makefile.bsdinstall that does the source
checkout/chroot/compile/release dance that the existing release Makefile
does for those who want a totally pristine release build.
2011-03-11 16:58:21 +00:00
nwhitehorn
911d9cd397 Remove a redundant rm and avoiding tarring up work directories in ports
trees.
2011-03-09 15:02:23 +00:00
nwhitehorn
81fefb3581 Make this makefile a little more make-like (e.g. build only things that
need to be rebuilt) and add an FTP-area target. Next will be docs and
memstick builds.
2011-03-06 21:19:33 +00:00
nwhitehorn
1319d94483 Add additional release makefile for bsdinstall-based media, along with
support files. This does not change the default behavior of anything.

To make bsdinstall-based media, pre-build world and GENERIC, then run
the release target in Makefile.bsdinstall.
2011-03-02 16:06:57 +00:00
nwhitehorn
a8c9f18299 Improve the distributeworld target in Makefile.inc1 and update the release
infrastructure to use it. make distributeworld can now be used without
preparing its environment first and installs games into its distribution
using the regular make distribute logic instead of post-processing with
a script.

Also add two new targets, packageworld and packagekernel, that tar up the
results of distributeworld and distributekernel (also new), respectively.
2011-03-02 14:39:26 +00:00
mm
3d28f79783 Add release notes for xz update to 5.0.0. 2011-02-11 14:55:17 +00:00
luigi
03ef5e5e31 following the recent (218130) changes to Makefile and Makefile.inc1,
we need to set TARGET and TARGET_ARCH to get a correct WMAKEENV.
I am setting both to i386 since this is what picobsd is used for,
though there might be a better fix.

Add initial support for parallel make. This is disabled right now,
because there are incorrect dependencies somewhere which require
to run picobsd 2-3 times to complete a build.

MFC after:	2 weeks
2011-02-05 23:03:40 +00:00
nyan
c962e71f7e Fix making a release. The old libdialog was renamed to libodialog. 2011-01-14 10:56:44 +00:00
nwhitehorn
ac2b5f1951 Fix the overflowing livefs ISO by removing man pages from the HFS part of
the hybrid disk. This is a stopgap until a better solution can be found,
but lets the powerpc release build complete for the time being.

MFC after:	1 week
2010-12-15 23:43:25 +00:00
luigi
20a2600f84 move the initialization of BINMAKE earler, so it is
available throughout the entire build process.

Submitted by:	Matteo Landi
MFC after:	3 days
2010-11-12 12:48:41 +00:00
marius
dac207aea8 Add gpart and glabel to the release CD mfsroot. 2010-11-07 19:23:25 +00:00
marius
dc63f8281d - Move Sun Fire V240 to the list of known working machines.
- For the parallel stable/7 and stable/8 branches mention both releases that
  first supported a particular sparc64 machine and update the sparc64 hardware
  list regarding machines that will be supported beginning with 7.4-RELEASE.
2010-11-06 11:38:49 +00:00
delphij
f57b2d5d62 Add a short note about kernel modules in FIXIT mode.
MFC after:	1 month
2010-10-27 17:13:38 +00:00
hrs
4745721fc0 Replace an obsolete flag -L in an mkisofs(1) command line with
-allow-leading-dots to fix "make release" for FreeBSD/powerpc.

Reviewed by:	marcel
2010-10-03 13:13:10 +00:00
luigi
58ec2fd820 use make from the toolchain, as the source tree may depend on
specific features (e.g. on recent HEAD, rtld fails with older 'make')

MFC after:	3 days
2010-09-28 22:30:11 +00:00
jhay
cb16ba1149 Chase the ports list to make snapshots work again with NOPORTS set. 2010-09-17 07:40:02 +00:00
brueffer
7a9b1a4d42 sis(4) should work on all architectures now. 2010-09-06 11:02:50 +00:00
gavin
dfa9620846 Merge r114010 of head/usr.bin/login/login.c into PicoBSD's login.c:
Correct the login.conf variable name used for obtaining the login prompt.

PR:		conf/44717 (indirectly)
Spotted by:	gcooper
MFC after:	1 week
2010-08-08 16:55:27 +00:00
gavin
9127923cf1 Correct two error messages to match the failure they are reporting.
MFC after:	1 week
2010-08-08 16:20:32 +00:00
luigi
64a563ba34 add some modern stuff: SMP, SCHED_ULE, PREEMPTION
and support for VIMAGE
2010-07-15 16:32:59 +00:00
nwhitehorn
2f99e0894d Get powerpc64 install CDs a little closer: some powerpc things should be
used on powerpc64 as well (build scripts, for instance), and the MFS root
must be adjusted upward on powerpc64 as well.

This doesn't completely solve things: sysinstall stil needs some
persuasion to deal with a default kernel named GENERIC64.
2010-07-15 01:48:30 +00:00
nwhitehorn
b59278b060 Connect powerpc64 to the build. It is not presently part of make universe,
which will be added soon.

Reviewed by:	imp
2010-07-13 21:19:59 +00:00
brian
085c49ad8c Remove an unnecessary cat.
PR:		145447
Submitted by:	u at netbeisser dot de
MFC after:	1 week
2010-06-19 09:33:11 +00:00
mm
f3da08a0f5 Document ZFS upgrade to version 14, support for NFSv4 ACLs,
changes in L2ARC and zfs send.

Approved by:	delphij (mentor)
2010-06-07 06:38:12 +00:00
mm
2cbb8fd14a Document import of xz.
Approved by:	delphij (mentor)
2010-06-02 21:28:07 +00:00
marcel
02f6039bb5 The EFI system partition used to make the CD image bootable is running
out of space. Bump it up...
2010-05-28 17:50:35 +00:00
delphij
c64406c79a Reorder to have -lcrypto after -larchive. Our linker doesn't seem to like
the current ordering :(
2010-05-26 18:55:40 +00:00
delphij
05435551be Grammar nits.
Submitted by:	b. f. <bf1783 googlemail com>
2010-05-25 22:19:51 +00:00
delphij
f57b5cd0bc libarchive now needs libcrypto and liblzma. 2010-05-25 17:48:17 +00:00
delphij
b5004a5464 Document bc/dc and nc updates. 2010-05-25 17:43:23 +00:00
marius
9124c5fc65 According to simon@ when referring to a company along a product just to
identify the company one shouldn't use the company trademark.

Approved by:	simon
2010-05-24 16:42:55 +00:00
nwhitehorn
3c09ba5f5a Revise PowerPC hardware notes to reflect status for 8.1. 2010-05-23 20:00:12 +00:00
marius
1eade2f18d Update the sparc64 hardware list regarding machines that will be supported
beginning with 8.1-RELEASE as well as correct some existing entries and
add previously missed ones.

Approved by:	blackend
MFC after:	3 days
2010-05-23 19:46:19 +00:00
brueffer
c8b3be983c et.4 doesn't have a HARDWARE section. Unbreak the build by manually
describing the supported et(4) chips.
2010-05-13 03:56:57 +00:00
brueffer
bb926aa7a5 Automatically generate hardware notes for run(4). 2010-05-12 19:24:31 +00:00
brueffer
edf0207059 Add et(4), sge(4) and mwl(4). 2010-05-12 17:53:05 +00:00
nwhitehorn
653cff7f14 Add gpart and glabel to the release CD mfsroot. Even if sysinstall
cannot partition disks on powerpc, this will allow the user to.

PR:		powerpc/93203
Obtained from:	ia64
MFC after:	1 week
2010-04-20 01:12:23 +00:00
kensmith
558c6be838 Shift the version of perl used by the release build process over to
perl-5.10.  This aligns the release build process with the current
default version of perl in the ports tree.

I'll MFC this to all active branches.

MFC after:	3 days
2010-04-09 14:27:17 +00:00
kensmith
73a173c7a1 Pass the HTTP_PROXY and FTP_PROXY environment variables through in addition
to FTP_PASSIVE_MODE so release building works for a machine that needs
to use a proxy.

PR:		misc/137688
Submitted by:	Michael Leun
MFC after:	2 weeks
2010-04-09 14:24:00 +00:00
kensmith
cff7e8c212 Provide a script that can be used to create the memstick images. For now
it isn't being integrated into 'make release' because for the forseeable
future the memstick images will be identical to what's on the DVD except
for which package set is provided.  If/when what's on the memstick diverges
from what's on the DVD it would make more sense to generate a "memstick"
directory in $CHROOT/R/cdrom and build the memstick image along with the
ISO images.

Reviewed by:	jhb, ru, Garrett Cooper (yanefbsd at gmail dot com)
2010-02-18 15:45:43 +00:00
luigi
264e34b811 use log instead of logverbose in three places so the build won't need
input to run to completion

MFC after:	3 days
2010-02-14 15:55:30 +00:00
luigi
dbd22cf8cf a minimal set of changes to adapt to the utmp->utmpx changes.
lastlog still not implemented, i am hoping that Ed or someone
has some idea on how to fix this, but it is really not important.
2010-02-14 15:51:36 +00:00
nwhitehorn
4b053fe723 Add a description of supported PowerPC hardware to the hardware notes. 2010-02-05 16:41:19 +00:00
gshapiro
c841cfa602 Note sendmail 8.14.4 upgrade 2010-01-31 19:56:37 +00:00
jhb
3e0f5e5d70 Remove slattach from the install mfsroot since it doesn't exist anymore
to quiet a warning from crunchgen.

MFC after:	1 week
2010-01-26 15:28:00 +00:00
ed
f79d0f71d8 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.
2010-01-21 16:56:27 +00:00
brueffer
6e07e8d455 We don't support isdn devices anymore (since May 2008).
PR:		142970
Submitted by:	Matthias Meyser <Meyser@xenet.de>
MFC after:	1 week
2010-01-19 22:44:29 +00:00
marius
7cef302ab8 Update the sparc64 hardware list regarding machines that will be supported
by 7.3-RELEASE.

Approved by:	blackend
MFC after:	3 days
2010-01-16 20:51:33 +00:00
brueffer
3a5e7c8c8b sk(4), stge(4) and vge(4) should work on all architectures, snd_t4dwave(4)
works on sparc64.

Submitted by:	yongari
2010-01-08 20:38:41 +00:00
brueffer
ba9f3a722e Remove ste(4), it should work on all architectures now. 2010-01-08 17:47:37 +00:00
nyan
40c63b4ab7 Do kgzip to the loader on pc98, too. Now pc98's boot2 works for ELF.
MFC after:	2 week
2010-01-02 12:37:54 +00:00
luigi
02f409c5f3 make the memory filesystem larger, and add an example
on how to import files from the host
2009-12-28 01:25:05 +00:00
luigi
cdbc72ad73 clear leftover from previous computations 2009-12-28 01:02:45 +00:00
luigi
f46d0fc3ed more support to import files and libraries from the host. 2009-12-28 00:51:00 +00:00
luigi
2cb3a073b0 add a 'qemu' floppy type, useful for running tests on new kernels 2009-12-27 21:58:48 +00:00
luigi
11ce1df199 dhclient needs to have /var/empty and a _dhcp user
(it also needs /sbin/dhclient-script, will handle that later)
2009-12-27 21:17:31 +00:00
luigi
913d8fc2fa fix a typo (not that it matters) 2009-12-27 21:13:53 +00:00
luigi
49dc424fe3 put back the HZ setting or we see poor timing under qemu
MFC after:	3 days
2009-12-27 01:19:55 +00:00
kensmith
e81b89619b Add "FreeBSD-" to the beginning of the filenames for the ISO images.
People who collect ISOs from more than just us have been requesting
this for a while.

MFC after:	1 week
2009-12-21 14:42:35 +00:00
luigi
3d3f0ecc02 when calling ldd, use the cross libraries and not the host version
MFC after:	3 days
2009-12-09 17:48:05 +00:00
luigi
9502adcb3a use default HZ 2009-12-09 17:42:14 +00:00