Commit Graph

160 Commits

Author SHA1 Message Date
William Grzybowski
6ad62eebe6 Unify names 2019-10-24 12:00:22 -03:00
Waqar Ahmed
fb5e400fd6 Unify builder for both FN/TN images 2019-09-18 18:38:26 +05:00
Alexander Motin
197055bf1f Reduce loader.conf divergence from running system. 2019-09-17 15:58:33 -04:00
Alexander Motin
4c6c81293b AHCI Enclosure Management is not useless any more. 2019-08-28 18:16:06 -04:00
Alexander Motin
4d17d9d313 Switch console to text mode, when possible.
While there, sync some other options.

Ticket: NAS-102814
2019-08-28 14:37:09 -04:00
Ryan Moeller
e295fb46d8 Installer ISO housekeeping
We can omit some links to nonexistent base zfs utils and remove Forth
loader files and opensolaris.ko.
2019-08-08 13:31:12 -04:00
William Grzybowski
d6b817de04 Load opensolaris 2019-07-24 01:59:09 -03:00
William Grzybowski
bf989df1f7 Use openzfs 2019-07-24 01:59:09 -03:00
Kris Moore
75a6d95f0f Push downloads to download-master.freenas.org automatically 2019-04-15 20:26:20 -04:00
William Grzybowski
2a7927ff87 Remove ix-installer since it was never used 2019-03-11 15:53:41 -03:00
Ryan Moeller
891550c6e0 Reduce the number of make jobs to ncpu + 1 2018-09-21 10:02:04 -07:00
Alexander Motin
a09755ce1e Remove unneeded nestind level (world) in debug package.
Ticket:	#39932
2018-09-20 01:15:30 -04:00
Alexander Motin
63c31d6a7e Wait for all device probe to complete before mounting root, even if the
root device is already available.  This allows to avoid USB probe messages
printed over the installer menu.  This is needed only in installer with
its UFS, since ZFS root of installed system implies it automatically.

Ticket:	#35497
2018-07-20 13:20:14 -04:00
Ryan Moeller
cf651e831d Replace nanobsd template placeholders
Use the new template system variable instead.

Ticket: #38455
2018-07-16 14:48:38 -07:00
Ryan Moeller
24bf467dc4 Fix empty product name in loader menu
*_name has special meaning in loader.conf so is a bad variable name.
Rename ${product_name} to ${product} so it behaves like a regular
environment variable.

Ticket: #35730
2018-07-13 11:25:18 -07:00
Ryan Moeller
9de22da14f Increase loader autoboot timeout
Sets the installer autoboot delay to 10 seconds to give the user enough
time to read the menu options and make a choice.

Ticket: #37970
2018-07-12 17:35:12 -07:00
Ryan Moeller
2f3a623eeb Add product_name loader variable
This variable contains a presentable string to indicate the product name
in menu entries and wherever else it may be handy.  It helps
distinguish the installer media from an installed system.

Ticket: #35730
2018-07-10 12:01:52 -07:00
Ryan Moeller
78b4d24c56 Clarify installer boot loader menu
Sets the loader menu title to show that the ${PRODUCT} installer is
being booted, not an existing installation.

Ticket: #35730
2018-07-02 12:34:40 -07:00
Alexander Motin
2076c146a7 Revert "Light up as many consoles as we can."
This change cause more harm then good.  Without setting boot_serial it
makes unpredictable which console become primary, and on which installer
menu will appear.  We probably need some loader menu or other solution.

This reverts commit 3b05806bac.
2018-06-21 12:34:28 -04:00
Benno Rice
ee1fd0b9fd Eliminate GRUB and xorriso. 2018-06-19 15:57:29 -07:00
Benno Rice
3b05806bac Light up as many consoles as we can. 2018-05-07 16:09:55 -07:00
Benno Rice
94eb429ae9 Create ISO images without, as well as with, GRUB. 2018-05-03 14:32:47 -07:00
Kris Moore
674afe49b3 Switch to " git log -1 --pretty=format:%ct" when figuring out
what version to set in the FreeBSD ports we build. This is
to work around an issue with shallow checkouts (Which we should be
using everywhere) and still provide the port a numerical that
increases.
2018-02-08 12:35:53 -02:00
Alexander Motin
7d3ca3f1ad Sync NTB loader tunables from TrueNAS. 2018-02-04 22:45:56 +02:00
Alexander Motin
8a53ecc322 Update following loader.conf, disabling unused GEOM labels. 2018-02-04 22:37:58 +02:00
Alexander Motin
3f80b857a0 While unifying loader.conf's, disable unused GEOM labels.
We are not using labels other then gptid and iso9660 in normal run,
and ufs during ISO updates from ancient versions.  Removing them
should reduce disk tasting time by GEOM.
2018-02-04 22:29:47 +02:00
vaibhav-rbs
43f12e04ce add stable train and remove unused IX_KEY_PASSWORD variable
(cherry picked from commit 026f655777)
2017-10-23 16:57:51 -07:00
John Hixson
04c8e78aec Build iocage directly, move py-libzfs to ports 2017-08-03 01:53:17 -07:00
Kris Moore
401ae3a8be Fix a missing BUILD_SDK define, cleanup 2017-06-21 23:33:07 -04:00
Kris Moore
1de4b2c6f4 Make SDK usage consistant with other things, use lower "yes"
and make BUILD_SDK the toggle to turn it on/off
2017-06-21 23:05:03 -04:00
Kris Moore
ccefb5a80c Cleanup some SDK logic 2017-06-21 21:38:58 -04:00
Kris Moore
6de0c062c3 Yo dawg, I hear you like SDK!
Initial work to start adding a SDK build of FreeNAS - Add
SDK {no|yes} option that can be set during build, turn off a bunch
of flags if this isn't set to the default "no".
2017-06-17 19:25:58 -04:00
Sean Eric Fagan
b1dad27368 Put the new installer on the ISO. It is not used yet (there is
a commented lin in /etc/rc to show how to use it).  This will allow
it to be used in real builds.  Also to see if I screwed up on my
builds.  (I've been building with it for a while now, however.)
2017-04-21 10:03:58 -07:00
Alexander Motin
8eb5962013 Manually sync tunables from loader.conf to grub.cfg.
It is probably a bug to have grub.cfg hardcoded here, but this
seems to be what we are doing.
2017-04-19 15:50:36 +03:00
Alexander Motin
00e23b35ee Copy some loader tunables used for live system to the installer. 2017-04-18 13:42:11 +03:00
William Grzybowski
efe895409e MIDDLEWARE_ROOT is not used 2017-04-17 09:53:53 -03:00
William Grzybowski
ed85fea4a9 Use freenas repo for installer port revision 2017-04-17 09:07:05 -03:00
Alexander Motin
6d75d721b6 Set hw.uart.console instead of own grub.serial* variables.
This variable really configure serial console with these parameters,
while previous ones could leave us with black screen during install.

Ticket:	#23147
2017-04-15 12:07:04 +03:00
Alexander Motin
47c58504bf Instead of own grub.serialmode variable, use existing FreeBSD one.
Ticket:	#23147
2017-04-15 11:22:06 +03:00
Kris Moore
4d76afec98 Add grub.serialspeed and grub.serialport, both defaulting to AUTO
on the installation media

Ticket: #23147
2017-04-14 23:47:27 -04:00
Kris Moore
2b15de7c13 Make sure grub.serialmode is always YES/NO for later parsing 2017-04-14 00:24:58 -04:00
Kris Moore
8c7160c045 Add grub.serialmode=YES when booted installer via serial mode
Ticket: #23147
2017-04-14 00:12:45 -04:00
Kris Moore
9b398bbe26 Add GRUB menu entry for booting install media with serial mode
enabled

Ticket: #23108
Ticket: #23111
2017-04-06 06:24:19 -04:00
Jordan Hubbard
4985d1254d Revert "Try to work around some problem or other where download.freenas.org is not"
This reverts commit 53a91873a7.
2017-03-12 10:18:07 -07:00
Jordan Hubbard
53a91873a7 Try to work around some problem or other where download.freenas.org is not
as good as download-master.freenas.org.
2017-03-12 10:16:21 -07:00
Jakub Klama
274aefeba6 Add support for running poudriere /w ZFS. 2017-02-05 22:55:49 +01:00
Kris Moore
ad37734456 Fix an issue with pushing freebsd-stable or freebsd-head
to mirrors, don't split on '-'
2017-01-16 22:17:34 -05:00
Kris Moore
c830793f2b Fix some ISO naming with FREEBSD-HEAD and FREEBSD-STABLE trains 2017-01-15 15:40:27 -05:00
Sean Eric Fagan
ba04aa5394 Allow UPDATE_DB to be set via environment/make. 2017-01-04 11:04:48 -08:00
Dennis Jensen
c706764434 FIX-GENERIC-00002
Move the Profile Specific Release directory data into the appropriate Profile directory.  Add a build-tool that copies this release information from the appropriate Profile Release directory into the common Release directory during build as part of the make checkout: –and– update: just after the point where the data has been updated.

A checkout prior to this point will yield:
* The Common Release directory contains the release information for multiple Profiles making it non-generic
* The Release directory was laid out in Version Product Build order instead of Product Version Build order, which is more intuitive because generally a Build belongs to a Version, which belongs to a Product
2016-12-20 10:38:59 -06:00