summaryrefslogtreecommitdiff
path: root/distrib/utils
AgeCommit message (Collapse)Author
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-05-07RISC-V support that works on QEMU with a single hart.skrll
Thanks for Simon Burge for plic(4).
2023-04-19Install /boot/boot.cfg with EFI bootloaders.brook
On ARM ports, the EFI boot loader handles a boot.cfg file if it exists, but one is not installed by default. In contrast, both the i386 and amd64 ports do install boot.cfg by default. Bring these ports into agreement by installing boot.cfg on ARM ports with EFI boot loaders.
2023-03-18Can't use disklabel to find the real size of a disk since a fake disklabelmlelstv
read from disk is trusted. Revert to use drvctl again.
2023-02-18Handle arbitrary raw partitions.mlelstv
Fetch geometry from disklabel to be consistent. Use disktab format instead of the normal human-readable output for parsing the disklabel. Avoid overflows in size computation.
2022-11-19Update a few www.raspberrypi.com URLsyamt
2022-10-30Silence a warning when machdep.dmi.chassis-asset-tag is not presentjmcneill
2022-10-15ec2_init: Add support for Oracle Cloudjmcneill
2022-08-28Avoid more obsolescent binary primaries not supported by crunched test(1).tsutsui
See PR/54835 and PR/56983 for details.
2022-07-10include bsd.own.mk to ensure that USE_XZ_SETS is set properly before using it.mrg
this should fix PR#56919.
2022-05-11Introduce NOIEEE80211 option, by which IEEE 802.11 support is dropped fromrin
ifconfig(8) in crunched binaries. This saves ~9KB for, e.g., m68k.
2022-04-14Make this no-op variant of fmtcheck() compatible with the libc versionmartin
when called with NULL as first argument.
2021-12-11remove clause 3 from all my licenses that aren't conflicting withmrg
another copyright claim line. again. (i did this in 2008 and then did not update all of my personal templates.)
2021-10-16Background dhcpcd if ec2_init is not enabled to speed up boot.jmcneill
2021-09-25Move DRM-driver firmware from base to its own set, gpufwmaya
This set is only installed on amd64,i386,evbarm. This set is installed on minimal installs and on install media, in case someone needs it for basic driver functionality. Comments: Switched to a single MK tunable for it - that is probably unneeded. An upcoming DRM update will include even fatter firmware, and we'd like to minimize the impact of it.
2021-07-20Extract just the random bits to feed to /dev/urandom.rhialto
This makes no difference in the randomness of the pool, but it improves on the estimation (if any) of how many random bits were obtained. Also make the ftp -q time out a bit longer since I got some time outs.
2021-07-15Add some OpenStack support.rhialto
I found that in the cloud I tried, by the time this script runs, there is no default route in effect yet. That takes some 5 to 10 seconds longer. So I added a retry loop, and to make that easier, changed the order of queries. To make sure it doesn't wait ~forever for a non-existent service I added the -q 1 option to ftp invocations. I also added OpenStack-specific metadata which contains a different random_seed of 512 bytes every time it is requested. See https://github.com/openstack/nova/blob/master/nova/api/metadata/base.py#L355 It may not be trusted data but only in the strictest sense of the word. The data can only be observed by people with access to the cloud's overlay network for the particular VM.
2021-07-06Disable kernfs on live images -- it is not required.jmcneill
2021-07-01AWS marketplace does not allow root ssh logins. Create an ec2-user accountjmcneill
and install the ssh key in that user's home directory instead.
2021-07-01port-evbarm/56274: no network on ec2 arm64 9.99.85jmcneill
Add -w to dhcpcd_flags when running on EC2, since we need to wait for the network to come up before contacting the metadata service.
2021-07-01No need for ec2_init on arm64mbrjmcneill
2021-05-25Provide support to build 32bit crunched ramdisks and use that formartin
macppc64. With help from rin.
2021-05-24refuse should exit(3). Noted by joerg@christos
2021-04-24use GCC_NO_IMPLICIT_FALLTHRUmrg
2021-03-09Add a stubbed version of libwrap (tcpwrappers)christos
2021-02-25Add regcomp.c and regexec.c so that we get a version that does not use NLSchristos
and brings in all the locale code.
2020-12-23Fix fallout from mkimage rev 1.76.rin
For mkimage: - Update "size" if auto-calculated. - Use "dd bs=1" instead of non-portable "head -c". - Some style nits. For MD make_label() functions: - Stop using "newsize" as image size in MB, use "size" instead.
2020-12-21embedded/mkimage: Pad image with zeros to multiple of 4 MB plus 1 MB.riastradh
Otherwise, there may not be enough space after the ffs partition for a gpt, leading to very confusing results.
2020-12-01G/C unused.rin
2020-12-01rpi.img: Bump boot partition in a similar manner to other images.rin
2020-09-29s/occurence/occurrence/msaitoh
2020-07-17Create an "octeon.img.gz" bootable image for evbmips64-eb release builds.jmcneill
2020-06-03Manifest that we need liblzma only when USE_XZ_SETS is enabled.rin
2020-05-28Create a separate Arm64 image that uses MBR partitioning. Amlogic SoCsjmcneill
require the bootloader to be installed on SD cards at LBA1 which makes them incompatible with GPT images.
2020-05-28Allow config file to override hostnamejmcneill
2020-05-27Move back to MBR based images for armv7 because Amlogic's bootloader (forjmcneill
Amlogic S805 based boards) needs to be installed to sector 1, which conflicts with the GPT header.
2020-05-27Fix kernel= order, add pi0w conditional and commentsjmcneill
2020-05-27Conditionally boot kernel.img or kernel7.img depending on boardjmcneill
2020-05-25No need to rename netbsd-GENERIC.img to kernel7.imgjmcneill
2020-05-25Switch to GPT w/ hybrid MBR for armv7 imagesjmcneill
2020-05-24Enable GPT support w/ hybrid MBR for Raspberry Pi compatibility.jmcneill
2020-05-24Add support for hybrid MBR/GPT images.jmcneill
2020-05-24Add GPT support to mkimage.jmcneill
2020-05-18Separate devicetree .dts -> .dtb building from kernel builds. They are nowjmcneill
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This defaults to yes for earmv[67]* and aarch64, and no everywhere else.
2020-04-18enable NO_IOBUF_ALIGNED for x_newfs and x_fsck_ffsjdolecek
2020-04-17include aligned_alloc(3), now needed for newfs and fsck_ffsjdolecek
2020-04-05Extend the curses hack to terminfo - build selected parts ofmartin
libterminfo as part of libhack, so we can drop unwanted features for small install media.
2020-03-02libhack: revert prior, will be done per consumer instead.roy
2020-03-01libhack: build with -D_REENTRANTroy
Some tools that use libhack expect thread locking. An example of this is zpool(8). Without it, it randomly crashes. As such, force _REENTRANT to avoid debugging future random crashes from any other applications which rely on this.
2020-02-23RPi4 has a different root device, so use config.txt conditionals to loadjmcneill
an alternate cmdline txt file (cmdline-pi4.txt) on these boards.