summaryrefslogtreecommitdiff
path: root/distrib
AgeCommit message (Collapse)Author
2017-02-01syncJonathan Gray
2017-01-30syncTheo Buehler
2017-01-30Sync md sets for arm64, continuing to omit the parts that need to moveJonathan Gray
out of mi for now.
2017-01-27Switch alpha, luna88k and sparc64 ramdisks to makefs.Martin Natano
ok deraadt
2017-01-27quick partial sync: libtls.so to unbreak snaps - there may be others to doStuart Henderson
2017-01-26syncStuart Henderson
2017-01-25enter arm64Theo de Raadt
2017-01-25Add arm64 to the allarchs target.Patrick Wildt
ok jsg@
2017-01-25Updates to OpenBSD/arm64 install notes.Patrick Wildt
with jsg@
2017-01-25syncPatrick Wildt
2017-01-25Copy install notes for arm64 from armv7. These still need to bePatrick Wildt
modified to make sense for arm64.
2017-01-24syncTheo de Raadt
2017-01-24syncTheo de Raadt
2017-01-24ftplist.cgi provides the http server from previous installs as theRobert Peichaer
first line of its output. In contrast to the rest of the list of mirror servers, this first line does not have any location info. Only use this first line as default answer, if it has no location info. OK krw@
2017-01-24Don't allow any control and space characters in the answer to theRobert Peichaer
"System hostname" question. OK tb@ krw@ 'sure' deraadt@ positive feedback on the idea halex@
2017-01-24There are two u-boot targets which should work with the sabre liteJonathan Gray
boards. mx6qsabrelite (which sets fdt_addr) and nitrogen6q (which sets fdtaddr). The difference seems to be the mx6qsabrelite target uses a small loader in SPI connected flash which will load the rest of u-boot from an SD card. The nitrogen6q target normally loads all of u-boot from an image in flash and then searches for a 6x_bootscript file with u-boot commands on MMC and SATA. While neither of them supports "Generic Distro Configuration" which would automatically search for an EFI image, if they did fdt_addr is intended to be used for a DTB in ROM, while fdt_addr_r is intended to be used for a DTB in RAM. Change the 6x_bootscript u-boot commands to load the DTB to fdtaddr instead of fdt_addr as matthieu@ reported fdt_addr was not present in the u-boot environment on his system.
2017-01-24syncTheo de Raadt
2017-01-23syncTheo de Raadt
2017-01-23Add support for creating RAMDISK kernels for arm64. Based onPatrick Wildt
the armv7 code, but with the u-boot, device tree and mkuboot bits stripped out. ok deraadt@
2017-01-23Clean up possible leftover prefetch area in case of installer restarts.Robert Peichaer
OK tb@
2017-01-23Export AI_MAC and AI_SERVER in addition to AI_MODE so they're visibleRobert Peichaer
in the install.site and upgrade.site scripts. OK tb@
2017-01-23Use stubs for arm64 as well.Patrick Wildt
ok phessler@
2017-01-22Whitespaces ...Robert Peichaer
2017-01-22Ensure the right hand side of the test is not treated as pattern.Robert Peichaer
OK tb@
2017-01-22= -> == inside [[ ]] tests.Robert Peichaer
2017-01-22Unobscure the installer script code a bit by adding and rewording comments.Robert Peichaer
2017-01-22Prefix local variables with '_'.Robert Peichaer
2017-01-22Remove sony8x16 and sony12x24 fonts.Frederic Cambus
They were not compiled in by default, and are Serif fonts, which doesn't work very well for monospaced bitmap fonts intended for console use. OK mpi@, visa@, jcs@
2017-01-22syncPatrick Wildt
2017-01-22syncTheo de Raadt
2017-01-22Tweak previous ...Robert Peichaer
- remove the unsued _err variable - rework the extraction of the mirror dir info from HTTP_LIST - use INSTALL_MIRROR to save the mirror info from HTTP_LIST - use _http_proto to for the final INSTALL_URL if it's a mirror - assign the correct info to INSTALL_URL - write INSTALL_URL to /etc/installurl on install if a mirror was used Feedback and OK tb@ 'Looks good' deraadt@
2017-01-21syncVisa Hankala
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
"warning:" rectification.
2017-01-21Start creating and using /etc/installurl. This file is createdRobert Peichaer
during installation if an OpenBSD mirror server is used for the sets download. It contains the mirror server url in the same format as provided by ftplist.cgi. The installurl file is used by the OpenBSD installer, the syspatch(8) and the pkg_add(1) commands. Stop creating and updating the /etc/pkg.conf file - the pkg_add(1) command will use the information in installurl. Use a new dbversion of the CGIs which accecpt and provide mirror urls without the release/arch part at the end.. Idea from ajacoutot@ Joint work with and OK ajacoutot@ tb@ beck@ deraadt@
2017-01-20Use a global variable PUB_KEY for the location of the key file.Robert Peichaer
OK tb@ krw@
2017-01-19Enable building wsfontload on Loongson.Frederic Cambus
OK visa@, mpi@, deraadt@
2017-01-19Mainline u-boot on SABRE Lite/BD-SL-i.MX6 does not have the genericJonathan Gray
distro hooks that automatically load an efi file if found. Instead it looks for a '6x_bootscript' u-boot script as the original boundary devices u-boot did. Create a script in the nitrogen miniroot and on install that will load a dtb and bootarm.efi then call bootefi. Based on notes from matthieu@
2017-01-19The u-boot package was renamed to u-boot-arm.Jonathan Gray
2017-01-17rework some of the variables for better directory name handling andRobert Nagy
add support for linking against libraries inside the fake root so that syspatches can include static binaries linked with the fixed libraries
2017-01-13syncTheo de Raadt
2017-01-11Eliminate an error message by checking whether /tmp/i/hosts exists beforeTheo Buehler
calling sed -i on it. While there, use a stricter regular expression, as suggested by halex. Problem reported by Pedro Caetano. ok mestre, halex; ok rpe for earlier version without regex tweak
2017-01-11typo: verfied -> verifiedAntoine Jacoutot
ok jmc@
2017-01-11syncTheo de Raadt
2017-01-10whitespaceTheo de Raadt
2017-01-10When installing with a dhcp server that does not provide domain-nameAlexander Bluhm
and name-server information, the user was not asked for this configuration. Do not assign a default value to _dn and _ns before the values are checked with -n in donetconfig(). Fix from halex@; tested and OK rpe@
2017-01-09Use a verified list of distribution set files extracted fromRobert Peichaer
the SHA256.sig file which is signed by the OpenBSD project. Deny the use of mirror servers where the verification fails. Site specifc sets (siteXX.tgz and siteXX-hostname.tgz) or self compiled sets in local setups are still supported by using the index.txt file. Files listed in SHA256.sig override any file listed in index.txt. Support http://server and https://server as answers to the "HTTP Server?" question. This allows a user to control the logic used to download the set files on architectures that have tls support for ftp(1). 'server' --> Use https for the sets download. If the server does not support https, fall back to http but only after user confirmation. 'https://server'--> Use https only for the sets download. 'http://server' --> Use http only for the sets download. NOTE: If the autoinstall(8) feature is used, the installer aborts the installation or upgrade in the following cases: - a mirror server provides an invalid SHA256.sig file - 'server' is used, https fails and the question to confirm the fallback to http is not answered in the response file. - 'https://server' is used but ftp(1) has no tls support. - 'https://server' is used but not supported by the server. Suggested by, in joint work with and OK deraadt@ Feedback, testing and OK tb@ positive feedback halex@ for the http/https part
2017-01-08Use makefs to build bsd.rd. ok deraadtMartin Natano
2017-01-07syncTheo de Raadt
2017-01-06syncTheo de Raadt
2017-01-05syncTheo de Raadt