Commit Graph

134 Commits

Author SHA1 Message Date
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
martin c5a38fe1e4 Add libpthread.so* - new lzma needs it. 2015-04-18 08:56:56 +00:00
tsutsui 3960313655 Don't forget to put /ofwboot into the image otherwise boot fails.
Should be pulled up to netbsd-6* and netbsd-7 branches.
2015-03-22 14:02:15 +00:00
roy 4b34ebf614 Punt custom dhcpcd hooks in favour up upstream hooks 2014-09-13 10:18:24 +00:00
riastradh 75f2a57740 CD images need libarchive if MKBSDTAR is yes. 2014-08-14 16:27:17 +00:00
martin 3f4482a092 Bump image size 2014-08-10 14:42:33 +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
rtr e9c95bf579 patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.
2014-06-28 09:16:18 +00:00
palle 3ce6c8957e Ensure a disklabel is present since sun4v OpenBoot requires a valid disklabel in the disk file image. With this change the miniroot.fs can be used as a virtual disk when using sun4v LDOMs. OK martin@ 2014-05-27 19:04:29 +00:00
martin 25fbf89b06 Create /var/tmp for vi. Pointed out by Izumi Tsutsui. 2014-05-19 15:57:04 +00:00
martin 483126c11b PR install/48818: put vi on install CDs 2014-05-18 13:06:12 +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
nakayama 1042b8dfbe pppd has moved. 2013-11-30 08:19:30 +00:00
tsutsui f836ad2f40 Sync with amd64 and i386 installcds:
>> PR/47276: ftp has https support now
(i.e. now libcrypto and libssl are required in non-crunched installcd)
2012-12-22 17:51:19 +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
riz b053ad40a5 Change the naming scheme of "live" images and usb install images
to incorporate the OS name and version.

XXX should also not hardcode ${BOOTDISK} in the name, but that would
require reordering stuff and more testing than I have time for right now.
Another day.

As discussed on current-users@ back in March, with some adjustments.
2012-08-17 16:56:34 +00:00
joerg fc67b0cd11 Switch terminfo(3) to cdb(5). 2012-06-03 23:19:09 +00:00
joerg 1907ec3a61 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +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 4b2d521801 use ${CDIMAGE} instead of ${CDBASE}.iso 2012-01-15 22:34:33 +00:00
martin 0d76365484 Enable INET6 in the installer 2011-11-01 09:28:14 +00:00
mrg 3e0afb42a3 sparc64 with GCC 4.5 has about a 2% code bloat, unfortunately.
bump the instfs size to 9MB.
2011-07-10 08:51:24 +00:00
tron df862fd957 Update location of "less" source directory to the build of various
install medias.
2011-07-03 23:11:31 +00:00
martin 130dae22e3 Include liblzma to unbreak gzip on the install CD. (Hi Joerg!) 2011-06-22 14:05:38 +00:00
martin 351873a5b2 Apply Joerg's changes to x86 CDs here alos:
Include libgcc_s.so symlinks in /usr/lib, so that binaries in /usr
  linked against it actually work.

We realy should split this into MD and MI lists and share the MI one.
2011-06-19 10:52:08 +00:00
tsutsui 607c670f96 Fix indent. 2011-06-19 02:27:41 +00:00
tsutsui 42f3f96fed Remove unnecessary gnu/usr.bin path from SRCDIRS. 2011-06-19 02:25:45 +00:00
tsutsui efc2552edb Use src/distrib/utils/x_gzip in all install ramdisks/miniroots for now
since installation file systems might be flooded by -llzma.
2011-06-19 02:18:28 +00:00
martin dd3f377a8d On install CDs: make ^C and ^Z work (mostly) as they used to do on
crunched/ramdisk install media again.
Fixes the remaining parts of PR 44738.
2011-04-17 12:18:19 +00:00
martin 56d78e2532 Add /usr/bin/getopt, it is needed by /usr/mdec/binstall.
Noticed by Jaime Fournier.
2011-03-20 09:04:53 +00:00
tsutsui 7e57c1a44f Adjust file lists for recent move:
usr/sbin/chown -> sbin/chown
 usr/bin/chgrp  -> bin/chgrp
2011-01-14 10:26:28 +00:00
martin f2db49e8b2 Add /libdata/firmware and /usr/lib/libintl* to install CDROMs with
root on iso9660; fixes PR install/43692 and install/43693.
2010-08-02 10:03:12 +00:00
he 686c73fd73 Um, as has been noted, INSTALL_FILE records what's installed if it's
done unprived, and that doesn't go down well on a re-build.  So use
${INSTALL} ${COPY} instead to fix this problem.
2010-04-23 14:10:19 +00:00
he 91dbb8c445 Change use of ${CP} and ${CHMOD} to ${INSTALL_FILE}, so that if the
target is made un-writeable, the build won't bomb out during an
UPDATE build.  OK'ed by martin@.
2010-04-22 11:58:59 +00:00
martin dd15332205 Ooops, do not try to create a symlink in a not-yet existing directory 2010-04-18 16:10:03 +00:00
martin 07b122db7c Change the install CD to go to full multiuser mode. This clearly
separates the setup done by /etc/rc once, and the repeated stuff
(install.sh invoking sysinst).
2010-04-18 12:58:57 +00:00
martin b4deff4fda Cherry-pick the /libexec content for (non miniroot) CDs and add the sysinst
specific dhcpcd hook scripts
2010-04-04 23:02:23 +00:00
martin 8299a0b61d Remove bogus workaround hiding a real bug: /tmp/dhcpcd-lease should be
created by the sysinst specific dhcpcd hook
2010-04-04 22:56:44 +00:00
martin 2866ed0d7d Ooops, remove leftovers from the ramdisk / 2010-04-02 21:58:46 +00:00
martin 411ff5dead Move install CDs over to / on cd9660 (instead of a memory disk image) 2010-04-02 21:29:30 +00:00
martin 9034c8a049 Simplify the console type check by passing -nx to sysctl. Pointed out
by Alan Barrett.
2010-03-13 14:05:39 +00:00
martin e19ffe5ce4 Provide full terminfo.db on install media 2010-03-12 23:07:13 +00:00
martin e4ef8b1dd7 Use sysctl kern.consdev to check wether we use ttyE* as console - in that
case just set up TERM as needed and go straight to sysinst. Otherwise
give a slightly verbose explanation (with common sample values) and
ask for TERM before running sysinst.
2010-03-12 21:36:52 +00:00
mrg ed186a47bf bump the size of the boot.fs, we bloated. 2010-03-02 08:05:48 +00:00
martin d41883434c add mount_tmpfs 2010-02-17 16:15:15 +00:00
roy 0adc6cef21 Remove terminfo.db as it's now embedded in libterminfo. 2010-02-11 09:06:47 +00:00
roy bb3a353864 Use the rescue terminfo.db in our images instead of termcap. 2010-02-05 10:01:16 +00:00
he 3bb1e78986 Bump the miniroot size from 8m to 9m, so that the contents fits again.
OK'ed by mrg@
2010-01-05 18:36:16 +00:00