Commit Graph

155 Commits

Author SHA1 Message Date
riastradh bb38adb487 /etc/rc.d/cerctl_init: New script for certctl rehash in live images.
This is very limited -- it does not supplant postinstall to rehash
certificates on upgrade; it only runs certctl rehash if
/etc/openssl/certs is an empty directory, as you get in live images
not created with sysinst.

We could also have a more general-purpose way to run postinstall(8)
on first boot of an image, but that has a lot more moving parts to
think about, so let's start with this limited-scope low-risk
approach.

PR install/57629

XXX pullup-10
2023-09-27 00:24:12 +00:00
abs 62fe57d219 Enable basic command line editing in evbarm, sparc64 and vax installer shells
(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

With the change of all the install.sh scripts in amd64, evbarm,
i386, sparc64 and vax are identical apart from NetBSD RCD tags and
the sysctl -nx kern.consdev check (some of the latter are definitely
either wrong, or have an incorrect comment attached. Will return
to later)
2023-02-12 19:27:20 +00:00
christos 5cac1204b1 Grow a little 2021-12-31 16:40:59 +00:00
christos 7d4adb44fc bump for clang/llvm 2021-09-08 11:20:44 +00:00
jmcneill 9764bcee56 evbarm: liveimage: use RC_CONF_EXTRA instead of rc.conf.d 2021-07-24 14:00:08 +00:00
jmcneill bbc876812d evbarm: Add build.sh live-image support for armv7/aarch64 2021-07-23 21:53:33 +00:00
christos baa2f24833 We don't need libwrap anymore; libhack replaces it. 2021-03-09 00:08:04 +00:00
martin f44c8ec769 Use the same naming scheme for install images as we use for the ISO images. 2021-02-08 19:11:41 +00:00
rin bdaedb86bc Correctly support aarch64eb and earmv7hfeb in a similar manner to
their little-endian counterparts.

Fix build failures for periodic binary snapshots.
2020-11-16 11:38:29 +00:00
jmcneill 86731f078b Use "efi" boot image platform ID. 2020-11-15 00:19:17 +00:00
jmcneill 8ec3504b1d Only add iso_image target for aarch64 2020-10-15 08:59:57 +00:00
jmcneill 2daa1c2c88 Exclude live images from install media 2020-10-11 14:54:08 +00:00
jmcneill 25ebdff55f Create a bootable El Torito installation ISO. 2020-10-11 14:24:50 +00:00
jmcneill 3794e8818c Sync with amd64 2020-10-11 14:24:31 +00:00
jmcneill fe29b3ea10 Include newfs_msdos 2020-10-11 14:10:34 +00:00
rin ff75e2ce53 x_gzip need liblzma for xz support. 2020-06-03 06:36:44 +00:00
jmcneill df8cb9d11d Revert previous; always use the same INSTIMAGEMB size regardless of
MKDEBUG. Should fit now that USE_XZ_SETS=yes on aarch64.
2020-06-02 14:27:32 +00:00
jmcneill af0e7b8750 Use a larger INSTIMAGEMB value for MKDEBUG builds 2020-06-02 10:41:30 +00:00
jmcneill 65519e6f7f Exclude ramdisk images and empty instkernel directory 2020-06-02 01:34:50 +00:00
jmcneill 6b1f2fdc7f Make room for debug sets 2020-05-30 12:36:37 +00:00
jmcneill 3123321d90 Shrink the evbarm install image by not including the live images on the install media 2020-05-28 19:20:57 +00:00
jmcneill 2e1299c4b4 Remove support for evbarm cdrom images. Not sure that any of them can even
be used.
2020-05-28 15:27:59 +00:00
jmcneill 52ca013273 Build install images for aarch64 and earmv7hf. 2020-05-28 15:23:43 +00:00
martin f5c15489c8 Try to fix previous: include etc.evbarm/Makefile.inc to get proper sub-arch
settings and key the subdirs off KERENEL_SETS instead of ALL_KERNELS
(which is not always defined)
2020-03-28 15:41:23 +00:00
skrll 35f8f9c96c Only build sshramdisk when building RPI_INSTALLx 2020-03-26 08:02:55 +00:00
skrll 909a200b92 Bump IMAGESIZE 2020-03-26 07:44:43 +00:00
martin a5c8ab7a11 Bump image size - new firmware files need more space 2020-03-23 11:45:00 +00:00
christos a2362fee00 Redo the sshsk_sign() stuff properly, but putting the helper in libssh.so 2020-03-01 20:59:52 +00:00
christos a04c941cc5 Deal with sshkey_sign. I am going to fix this properly at some point, but
it needs coordination from upstream (Patrick Welche)
2020-02-28 13:00:51 +00:00
mlelstv 1e89c63a0f Was too slight a bump. 2020-01-21 14:58:58 +00:00
martin 85760d7e91 Bump image size slightly 2020-01-21 11:48:10 +00:00
martin a879768d74 PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
2020-01-09 19:17:40 +00:00
skrll 817923ee4d Update to new RaspberryPi firware
commit 0c01dbefba45a08c47f8538d5a071a0fba6b7e83
Author: popcornmix <popcornmix@gmail.com>
Date:   Wed Dec 11 15:30:08 2019 +0000

and include firmware for RPI4

Firmware has bee updated to support mainline linux kernels as described in
https://github.com/raspberrypi/linux/issues/3237
2019-12-16 11:00:30 +00:00
martin 4a792bdb00 Bump image size for gcc8 2019-11-21 13:01:51 +00:00
christos 7e81d727bc Consistently use ${RELEASEDIR}/${RELEASEMACHINE} instead of
${RELEASEDIR}/${MACHINE} (Paul Ripke)
2019-09-23 13:42:30 +00:00
martin 3d3e06b3da Update to newer sshd (the host key is the same as before, it already
was a rsa key). From Harold Gutch.
2019-08-14 12:08:27 +00:00
martin cc1c81924b Allow individual MDSETTARGETS/MDSET_SUFFIXES to define optional dependencies
between themselves.
Use that to make netbsd-RPI_INSTALL.img depend on netbsd-RPI_INSTALL.bin,
resolving the parallel build race.
2019-08-12 08:04:28 +00:00
thorpej 06edce6041 Fix building of gzboot images in the EABI MACHINE_ARCH universe. 2019-06-02 17:18:57 +00:00
skrll 2c9023a65e Switch the kernel7.img RaspberryPi kernel in the armv7 image to GENERIC
and thus reducing the number of kernels built in an evbarmv7 release.
2019-05-18 07:33:10 +00:00
martin 0e857c5e1f Now that we do not force debug sets off install CDs any more, explicitly
set CDRELEASE_NODEBUG everywhere.
2018-09-28 15:05:19 +00:00
mlelstv ffae521c1c increase sshramdisk from 24000k to 28000k. 2018-04-08 15:48:39 +00:00
ryo fe33aa2786 Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)
- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
2018-04-01 04:35:01 +00:00
skrll f7d67b11fb Build fix (really this time) from Harold Gutch 2017-12-14 06:29:15 +00:00
skrll 135f9c16fd Fix evbarm build - patch from Harold Gutch on port-arm 2017-12-13 11:37:37 +00:00
jmcneill 4d9106a6a2 Add missing RPI FDT build goop, from nick. 2017-12-11 11:38:14 +00:00
joerg 0770e646de Bump image size to 24MB, won't fit for plain evbarm otherwise. 2017-10-22 23:15:54 +00:00
christos ae5bd0fe13 Create the ramdisk destination dir here. 2017-08-20 15:38:22 +00:00
jmcneill 3fa2721f9e Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.
2017-07-05 19:50:49 +00:00
sevan 19c6693036 Bump image size to unbreak builds.
nbmakefs: `work' size of 21610496 is larger than the maxsize of 20480000.

ok jakllsch
2017-03-18 17:07:04 +00:00
christos 9eb2b4b14d fix typo. 2017-02-11 22:57:00 +00:00