Commit Graph

6499 Commits

Author SHA1 Message Date
Yoshihiro Takahashi
6fdce145de Fix building a release with old release scheme. This catches up with
renaming from Makefile to Makefile.sysinstall.

Approved by:	re (hrs)
2011-08-11 13:13:08 +00:00
Marius Strobl
63788cdff4 The release/pc98/mkisoimages.sh added as part of r221466 now also takes "-b"
to indicate the creation of a bootable image.

Approved by:	re (kib)
2011-08-04 14:38:30 +00:00
Andriy Gapon
88e14bfb6a fix a typo/tautology in the release documentation
Approved by:	re (kib)
MFC after:	1 week
2011-07-30 21:09:45 +00:00
Andriy Gapon
235cc4c620 update smp related documentation after recent changes
Remove references to machdep.hlt_logical_cpus and
machdep.hlt_cpus sysctls and tunables.
Document machdep.hyperthreading_allowed and
hint.lapic.X.disabled tunables.

Prompted by:	ru
Proofreading:	bf
Reviewed by:	jhb
Approved by:	re (kib)
2011-07-30 20:42:14 +00:00
Nathan Whitehorn
86354c8d38 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
Nathan Whitehorn
bfc3bab865 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 Moolenaar
ff06cd0206 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
Hiroki Sato
7d4c35c817 Bump &release.manpath.*;. 2011-06-23 02:38:06 +00:00
Hiroki Sato
97a9e26dd8 Remove links to mirrorlist.FreeBSD.org.
Submitted by:	ryusuke
Reported by:	gavin, brucec
2011-06-23 02:35:55 +00:00
Nathan Whitehorn
01dae98e72 Make the bootonly CD smaller by discarding static libraries that are not
useful without a toolchain.
2011-06-15 23:56:40 +00:00
Nathan Whitehorn
6e352319b6 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
Gregory Neil Shapiro
c495aec412 sendmail has been updated to 8.14.5 2011-06-14 06:45:48 +00:00
Nathan Whitehorn
bb6d0c6c0c Add an MBR to our release media to aid booting some IBM systems. 2011-06-12 00:14:57 +00:00
Marcel Moolenaar
ad1de6722c Don't clobber the hosts /etc/fstab. $1 is empty at this point. 2011-06-06 18:25:11 +00:00
Marcel Moolenaar
4032939145 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
Nathan Whitehorn
0bd47e8362 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 Rao
a072b80e7e Remove actual files supporting sun4v.
Approved by:	re
2011-05-14 01:56:48 +00:00
Attilio Rao
4b547324c0 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
Nathan Whitehorn
df7c03cf8b 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
Nathan Whitehorn
2a2fbadf4f 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
Nathan Whitehorn
88381ca3e3 Simplify this script somewhat, following excellent suggestions from
Ed Schouten.
2011-05-05 19:17:55 +00:00
Nathan Whitehorn
87930d9da2 Convert IA64 ISO script to use makefs instead of mkisofs. 2011-05-05 14:16:40 +00:00
Nathan Whitehorn
eadacd1328 Garbage collect some unused variables and stray debug code.
Submitted by:	marius
2011-05-05 13:55:43 +00:00
Nathan Whitehorn
cf6ba592c5 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
Nathan Whitehorn
d16401694f 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
Nathan Whitehorn
d40df3b2f2 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
Nathan Whitehorn
61741fd7b2 Mention the memstick target here. 2011-04-18 13:20:54 +00:00
Nathan Whitehorn
8ef63d0dcd 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
Nathan Whitehorn
299a8b95ac 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
Nathan Whitehorn
7c3d04b87b Allow the user to use the live environment post-installation, as well
as improving error handling.
2011-04-09 14:25:58 +00:00
Nathan Whitehorn
6f7457a71f Copy all generated ISO images into the release area. 2011-03-27 23:46:52 +00:00
Nathan Whitehorn
46c413fe06 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
Nathan Whitehorn
3a20439f1c 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
Nathan Whitehorn
62800afa46 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
Nathan Whitehorn
0877c11eda 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
Nathan Whitehorn
c0d25a4bbe 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
Nathan Whitehorn
12ad0bb143 Thanks to sysinstall for its 15 years of service. And now to sleep,
perchance to dream...
2011-03-14 13:47:17 +00:00
Nathan Whitehorn
3fc77bec6b 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
Nathan Whitehorn
b70047d413 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
Nathan Whitehorn
5921b7ea2e 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
Nathan Whitehorn
89033280b7 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
Nathan Whitehorn
7ddcfc6c33 Fix bugs and make improvements to documentation renaming.
Submitted by:	Garrett Cooper
2011-03-11 17:47:59 +00:00
Nathan Whitehorn
b94338d4f0 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
Nathan Whitehorn
216c7d1766 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
Nathan Whitehorn
6cc28b780f Remove a redundant rm and avoiding tarring up work directories in ports
trees.
2011-03-09 15:02:23 +00:00
Nathan Whitehorn
68b8b11cd0 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
Nathan Whitehorn
8cfdf36d27 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
Nathan Whitehorn
99ad39c822 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
Martin Matuska
8dc4928bf7 Add release notes for xz update to 5.0.0. 2011-02-11 14:55:17 +00:00
Luigi Rizzo
7f2428704d 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
Yoshihiro Takahashi
9f9569662f Fix making a release. The old libdialog was renamed to libodialog. 2011-01-14 10:56:44 +00:00
Nathan Whitehorn
06b000f542 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 Rizzo
2f8d87d326 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 Strobl
0e7922867a Add gpart and glabel to the release CD mfsroot. 2010-11-07 19:23:25 +00:00
Marius Strobl
b790ac8809 - 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
Xin LI
49727e098f Add a short note about kernel modules in FIXIT mode.
MFC after:	1 month
2010-10-27 17:13:38 +00:00
Hiroki Sato
832f8c8a9b 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 Rizzo
09bc43b0cf 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
John Hay
890ef4f4fe Chase the ports list to make snapshots work again with NOPORTS set. 2010-09-17 07:40:02 +00:00
Christian Brueffer
b039b6f4b1 sis(4) should work on all architectures now. 2010-09-06 11:02:50 +00:00
Gavin Atkinson
86893cf0d5 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 Atkinson
84f583c47e Correct two error messages to match the failure they are reporting.
MFC after:	1 week
2010-08-08 16:20:32 +00:00
Luigi Rizzo
d47335eec9 add some modern stuff: SMP, SCHED_ULE, PREEMPTION
and support for VIMAGE
2010-07-15 16:32:59 +00:00
Nathan Whitehorn
0dd04e5470 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
Nathan Whitehorn
8bb2397180 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 Somers
bcc4111272 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
Martin Matuska
5995fb97d9 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
Martin Matuska
f0e78b02bd Document import of xz.
Approved by:	delphij (mentor)
2010-06-02 21:28:07 +00:00
Marcel Moolenaar
dbd9a3aab3 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
Xin LI
241e22a783 Reorder to have -lcrypto after -larchive. Our linker doesn't seem to like
the current ordering :(
2010-05-26 18:55:40 +00:00
Xin LI
a4aa00d551 Grammar nits.
Submitted by:	b. f. <bf1783 googlemail com>
2010-05-25 22:19:51 +00:00
Xin LI
8755e33a57 libarchive now needs libcrypto and liblzma. 2010-05-25 17:48:17 +00:00
Xin LI
3ffaf7db1c Document bc/dc and nc updates. 2010-05-25 17:43:23 +00:00
Marius Strobl
f09ee54ae0 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
Nathan Whitehorn
c42c0167fe Revise PowerPC hardware notes to reflect status for 8.1. 2010-05-23 20:00:12 +00:00
Marius Strobl
cc4ee0436a 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
Christian Brueffer
3a8a664747 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
Christian Brueffer
42ebc8c692 Automatically generate hardware notes for run(4). 2010-05-12 19:24:31 +00:00
Christian Brueffer
7cd75bfd82 Add et(4), sge(4) and mwl(4). 2010-05-12 17:53:05 +00:00
Nathan Whitehorn
0d526fa829 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
Ken Smith
a3238bcf8f 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
Ken Smith
49ac20555f 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
Ken Smith
c0f29c6e1d 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 Rizzo
28e1dd4b75 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 Rizzo
91f88f8e7a 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
Nathan Whitehorn
21cc242f25 Add a description of supported PowerPC hardware to the hardware notes. 2010-02-05 16:41:19 +00:00
Gregory Neil Shapiro
88ebe73318 Note sendmail 8.14.4 upgrade 2010-01-31 19:56:37 +00:00
John Baldwin
0c61f21af5 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 Schouten
84bee0d7fb 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
Christian Brueffer
ab43eceb0d 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 Strobl
f212a61d5f 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
Christian Brueffer
0a9dd8b0d8 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
Christian Brueffer
1b16866af5 Remove ste(4), it should work on all architectures now. 2010-01-08 17:47:37 +00:00
Yoshihiro Takahashi
3c66b23034 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 Rizzo
7ba6829897 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 Rizzo
996e65afcd clear leftover from previous computations 2009-12-28 01:02:45 +00:00
Luigi Rizzo
5afa69927f more support to import files and libraries from the host. 2009-12-28 00:51:00 +00:00
Luigi Rizzo
745abd5963 add a 'qemu' floppy type, useful for running tests on new kernels 2009-12-27 21:58:48 +00:00
Luigi Rizzo
ebb3eb9a3f 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 Rizzo
a118f94c12 fix a typo (not that it matters) 2009-12-27 21:13:53 +00:00