martin
b581f3b106
Put a full "init" /dev on the CD, not just "all". The install environment
...
relies on it currently. (XXX fix that and revert this)
2015-05-29 06:28:50 +00:00
martin
62f7d89400
Deal with WORKSPECFILE not existing for many cd images
2015-05-27 15:17:59 +00:00
martin
3cf95378a5
Do not default any CD_SETS - let the MD makefiles request them specifically.
2015-05-27 09:44:40 +00:00
martin
07d3d9969e
Pass -U to maketars if we are not building as root.
2015-05-27 09:27:40 +00:00
martin
9565aae1bf
2nd try: make amd64, i386, sparc64 and vax iso images use full sets.
...
While there fix an old bug that makefs used the build hosts /etc/group
and passwd information when creating the image.
Thanks to Andreas Gustafsson for extensive testing.
2015-05-25 15:38:33 +00:00
martin
dd29c6c2e1
Revert previous untill fallout has been fixed.
2015-05-19 06:58:52 +00:00
martin
0298cca26c
Add a new simple method to put whole sets on CD images (instead of
...
listing single binaries or patterns) and use those for the existing
ISO images.
2015-05-18 06:25:04 +00:00
riastradh
c6f6be16c2
Fix ytpo: INSTALLBOOTOPTIONS, not INSTALLBOOTOPTOINS.
...
From qjsgkem on Freenode.
2015-05-08 17:46:03 +00:00
snj
186287030e
unbreak amd64 install images by passing ipty to MAKEDEV. revision 1.21
...
of etc/etc.amd64/MAKEDEV.conf removed them from 'all'. (hi christos!)
2015-03-12 04:41:23 +00:00
roy
ec4a0efb33
Use the 20-resolv.conf hook from dhcpcd rather than the minimal one.
...
Extract configured information from resolv.conf and hostname instead
of scraping the last dhcpcd script run.
This will allow the use of DHCPv6 and IPv6RA DNS details in the future.
2014-09-12 20:42:13 +00:00
nonaka
953d3a57a3
Remove rtsol.
2014-09-12 14:39:49 +00:00
martin
d4a4ba1584
Add a IMAGEPREBUILD option for makefiles to ovveride (e.g. to additionally
...
add files to the staging directory)
2014-08-12 11:48:22 +00:00
matt
547b3a3b01
Changes to existing files to enable building AARCH64 userland.
...
evbarm64-el
This is clang only. While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
apb
9e8101899d
To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program
...
${TOOL_GZIP}" on the command line, and refrain from passing "-z". If
passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
2014-08-06 11:41:18 +00:00
apb
e4ed3c4254
Introduce and use GZIP_FLAGS variable.
...
The previous use of GZIP="-9 ${GZIP_N_FLAG}" happened to work, but
the new use of GZIP=${GZIP_FLAGS:Q} is safer.
For consistency, also use GZIP_FLAGS elesehere in this file.
2014-08-06 10:41:13 +00:00
apb
f78c710fb2
Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n
...
in the environmentto commands that invoke ${TOOL_GZIP}.
This will allow them to use -nT instead of just -n with pigz.
2014-08-05 15:43:50 +00:00
apb
71da667fc9
Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
...
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.
This will pass -nT instead of just -n if the gzip program is
actually pigz.
2014-08-05 15:40:58 +00:00
dholland
779842189d
Adjust for sysinst move.
2014-07-26 19:34:08 +00:00
martin
836e302df5
Add a variable CDMAKEFSEXTRAOPTS to provide additional parameters to the
...
makefs invocation that do not belong in the image option list (CDMAKEFSOPTIONS)
2014-05-31 10:18:47 +00:00
dsl
ec9cf4df7b
If MAKEVERBOSE < 2 remove the -v from pax command lines.
2014-02-15 09:43:02 +00:00
matt
53a841187b
Pass DBG to crunchgen so it can get into the created mk file.
2014-02-01 21:05:54 +00:00
apb
a452d8c9e2
Pass the -n flag to gzip invocations.
...
This prevents it from embedding a timestamp in the output. We pass
"-n" unconditionally, not conditional on MKREPRO, because many other
invocations of gzip already passed the -n flag unconditionally.
2014-01-27 21:37:17 +00:00
apb
36ef98548b
Use ${TOOL_GZIP} instead of just gzip in all Makefiles
...
outside */dist/* subdirectories.
When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.
2014-01-27 08:18:07 +00:00
christos
dbc15d6fe0
don't include bsd.files.mk here, it is intended as a fragment
2014-01-22 00:52:56 +00:00
christos
2b043c75b6
eliminate use of bsd.sys.mk from Makefiles
2014-01-16 01:15:32 +00:00
joerg
c25bfae0c4
Save space and strip .eh_frame sections for the ramdisks as well.
2013-08-15 12:39:28 +00:00
khorben
7e7403a7ed
Common definitions for full-disk encryption support, including the rc script responsible for asking the passphrase and chrooting. wsconsctl is also built and used in case a splash screen is enabled.
2013-07-15 00:25:38 +00:00
christos
22e0a3bf24
Add IMGMAKEFSOPTIONS like in the bootimage Makefile
2013-05-24 21:34:19 +00:00
he
36984c64cc
Fix the ALL_KERNELS default value assignment, so that the double
...
quotes don't become a part of the value, causing all the targets
to be skipped by default.
2013-01-30 13:47:36 +00:00
christos
9a9b8c8de6
revert previous, it was an unintended side effect. fixed in makefs
2013-01-29 19:48:41 +00:00
he
e10de0f72f
The rockridge option of makefs now requires a =1, follow suit.
2013-01-29 18:17:29 +00:00
mlelstv
3bc93874c5
build.sh lets you build releases with a limited set of kernels by
...
using the ALL_KERNELS environment variable to override the arch default.
Fix this mechanism for evbarm by limiting the generated boot images
accordingly.
2013-01-13 14:43:23 +00:00
jakllsch
d57a76d195
Don't enable WAPBL in images.
2012-11-20 20:16:03 +00:00
tsutsui
7be7385533
Allow overriding live-image and install-image sizes by
...
INSTIMAGEMB (for install-images), USBIMAGEMB (for x86 sd0root liveimages),
and EMUIMAGEMB (for other liveimages) variables.
Per discussion on current-users@:
http://mail-index.NetBSD.org/current-users/2012/10/29/msg021368.html
2012-11-03 14:25:32 +00:00
apb
8d127e2f7d
Add distrib/common/Makefile.minirootkmod. Apart from comments and the
...
conversion of some constants to variables, this is identical to the code
that was previously present in both distrib/amd64/kmod/Makefile and
distrib/i386/kmod/Makefile.
Change distrib/amd64/kmod/Makefile and distrib/i386/kmod/Makefile to just
set some variables and .include "../../common/Makefile.minirootkmod".
2012-10-16 08:19:36 +00:00
riz
81f27d3683
Install fully-populated .iso images in ${RELEASEDIR}/images instead
...
of ${RELEASEDIR}/iso, since we'll be putting non-iso images in there too.
2012-08-17 16:57:59 +00:00
matt
e63fd2b971
Add a dependency on etc.${MACHINE}/MAKEDEV.conf
2012-08-10 05:22:22 +00:00
matt
034cfa7ab5
Add a dependency for Makefile so that when you add device to the Makefile
...
it will automatically regenerate the device mtree file and cause the ramdisk
to be updated.
2012-07-20 11:19:03 +00:00
tsutsui
f5e4f3d0bd
Fix typo in comments.
2012-04-22 07:23:42 +00:00
tsutsui
e70f6aa789
Add two optional variables for liveimage/installimage builds:
...
---
MBR_BOOTCODE
optional MBR bootcode which should be installed by fdisk(8)
(default: empty)
- specified MBR_BOOTCODE must exist in ${DESTDIR}/usr/mdec
- if MBR_BOOTCODE is not specified,
MBR_DEFAULT_BOOTCODE (default: mbr) will be used
if the target ${MACHINE} has the one in /usr/mdec
INSTALLBOOTOPTIONS
options passed to installboot(8), e.g., -o console=com0
(default: empty)
---
Proposed by Brook Milligan on current-users@:
http://mail-index.NetBSD.org/current-users/2012/04/16/msg019892.html
Also make USE_MBR work on ${MACHINE}s which don't have the default
/usr/mdec/mbr bootcode. (no such port has the liveimage target yet though)
XXX: tools fdisk(8) implicitly uses host's /usr/mdec/mbr for the default
XXX: bootcode even for non-x86 targets if host is x86
2012-04-22 05:24:39 +00:00
riz
a59062a175
s/Createing/Creating/
2012-04-09 19:22:49 +00:00
martin
550cdc2ff9
Fix typo in usage
2012-02-22 16:12:34 +00:00
njoly
e46cff4057
Tweak MAKEDEVSPEC target to properly report MAKEDEV failures:
...
- No need to ignore `rm -f' failures which should not happen.
- Do not pipe MAKEDEV output, but use a temp file.
2012-02-18 14:26:27 +00:00
riz
d77699356b
Use a new variable, MODULEVER, for kernel modules, tracking what's been
...
done elsewhere.
2012-02-17 00:33:24 +00:00
tsutsui
02828259e9
Appease warnings `"expr 0 \* 1024 \* 1024 / 512" returned non-zero status.'
...
SWAPMB could be zero (in install-image case) and
expr(1) returns exit status 1 in that case. Umm.
2012-01-22 16:56:22 +00:00
tsutsui
99c3f09a00
Fix checks for RELEASEDIR (and xxxxIMGBASE) variables to perform it
...
only on live_image or install_image targets. PR toolchain/45864
2012-01-22 16:50:00 +00:00
tsutsui
3cf69f27e2
Add "live-image" and "install-image" target support to build.sh.
...
"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
msdosfs or partitioning MD label structures) support this target.
"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.
For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html
No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.
Closes PR toolchain/45153 and PR misc/45155.
2012-01-22 03:53:29 +00:00
jmcneill
ce4646dd28
PR# install/44593: Please give release ISO's more meaningful names
...
Change release ISO filenames, what was once 'i386cd.iso' will now look
like 'NetBSD-5.99.60-i386.iso'.
ok snj@
2012-01-14 22:56:30 +00:00
christos
c5a15770f9
SRCDIRS is not the way to do this; some testing would have been nice.
2011-05-31 06:19:11 +00:00
jym
8d179afa97
Document MDSET_NOIMAGE.
2011-01-01 16:56:18 +00:00