Commit Graph

42 Commits

Author SHA1 Message Date
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
7de4f82d6b Install opensolaris.ko in the installer for now 2019-07-24 01:59:09 -03:00
William Grzybowski
b496fbb6ea Copy LUA bootloader to installer 2019-07-24 01:59:09 -03:00
William Grzybowski
db2318f420 Preserve /usr/bin/env 2018-11-09 13:27:45 -02:00
Alexander Motin
a4eb4d7c90 Polish debug information generation for base OS.
Modern FreeBSD can generate separate debug information files on its
own for both kernel and world.  Use it where possible, and do things
manually only for ports, since they have no such functionality AFAIK.

Before this the debug package was no including kernel symbols at all.

Ticket:	#39932
2018-09-20 00:38:17 -04:00
Ryan Moeller
ea8bf12fe9 Fix build after removing loader.rc.local 2018-07-17 02:04:21 -07:00
Benno Rice
3fc4dc8a99 Only generate the NOGRUB image and make it the default. 2018-06-19 15:53:38 -07:00
Benno Rice
94eb429ae9 Create ISO images without, as well as with, GRUB. 2018-05-03 14:32:47 -07:00
Kris Moore
23015ac66a When building the SDK ISO file, name the ISO with a -SDK so
we know what it is
2018-03-07 17:07:49 -05:00
Alexander Motin
e43b4f4123 Add ssh-keygen to ISO, needed for sshd. 2017-05-11 00:42:37 +03:00
Alexander Motin
66754949fb Add some SSH tools to install image to make it more like live CD. 2017-05-10 02:32:45 +03:00
Alexander Motin
bcffb48845 Add /sbin/resolvconf to install image.
It should allow already present dhclient to update resolv.conf.
2017-04-15 20:50:49 +03:00
Jakub Klama
f6231343ed Don't cross mountpoints while cleaning INSTUFS_DESTDIR. 2017-02-17 22:18:02 +01:00
Jakub Klama
ae45c7bea9 Force unmount packages directory. 2017-02-17 22:02:52 +01:00
Jakub Klama
948d1af03d Fix another package directory path 2017-02-06 18:20:59 +01:00
Kris Moore
78205c519d Add work-around to build ISO files with xorriso minus the HFS flags
that grub-mkrescue (in it's infinite wisdom) helpfully doesn't provide
a way to disable directly
2017-01-10 14:03:37 -05:00
Kris Moore
1ef3875a76 Don't need to keep /var/db/pkg on the install media, the .sqlite DB
is filling up /var memory filesystem
2017-01-09 15:01:24 -05:00
FreeNAS-10 Builder
a643685a70 Work-around bug in xorisso by using i386-only images in grub-mkrescue. 2016-12-26 12:46:18 -08:00
Sean Eric Fagan
0d34255a2f The build needs to change slightly to properly handle validation scripts.
Ticket: #19137
2016-11-23 11:29:47 -08:00
Josh Paetzel
228172b384 Fix previous commit.
Ticket: #17308
2016-09-19 16:32:27 -05:00
Josh Paetzel
b346a80ade Run watchdogd in the installer.
Ticket: #17308
2016-09-19 15:19:05 -05:00
Jakub Klama
b188ab8863 Provide a better and cleaner way to create unattened install images by using install.conf file. 2016-08-16 16:45:42 +02:00
Jakub Klama
7f672af668 Revert "Add support for building unattended install FreeNAS 10 ISOs."
This reverts commit 91df102c17.
2016-08-16 16:22:50 +02:00
Jakub Klama
91df102c17 Add support for building unattended install FreeNAS 10 ISOs. 2016-08-15 18:48:41 +02:00
Sean Eric Fagan
7ba1f4d4a6 Move freenas-pkgtools to its own repository.
Along the way, add six to its requirements.
2016-06-30 10:26:50 -07:00
Jakub Klama
88f0f00ce6 Strip binaries on installer UFS image. 2016-04-19 14:32:16 +02:00
Alexander Motin
5b4fc476cb Create separate more strict make.conf for ISO boot images.
It saves additional 14MB of ISO size.
2016-03-14 12:10:26 +02:00
Alexander Motin
356d55ddc9 Remove toolchain (compiler/includes/etc) from NAS and kernel modules
from installer.

Together this saves about 43MB on ISO and 35MB on installed system.

While there do not install unneeded kernel into ports building jail.
2016-03-14 00:20:15 +02:00
Alexander Motin
116edc9128 Minor fix for previous. 2016-03-12 20:25:51 +02:00
Alexander Motin
a2f40792ce Add some more GEOM tools/links to ISO. 2016-03-12 20:22:41 +02:00
Jakub Klama
0be418d579 /sbin/swapon doesn't need to be preserved because it's already symlinked from /rescue. 2016-03-11 14:44:35 +01:00
William Grzybowski
a202fde73a Preserve swap utilities in the ISO 2016-03-11 09:03:45 -03:00
William Grzybowski
2794cf2e1e Lets try to add gmirror to installer (required for TrueNAS) 2016-03-10 21:40:20 -03:00
William Grzybowski
3c1f6c5a47 Add support to build debug kernel 2016-03-02 19:52:48 +01:00
William Grzybowski
cc23d80b78 Move all shebangs to python3 2015-11-04 09:00:15 -02:00
Jakub Klama
1fbce3892f Fix "pkg install" for installer sometimes installing packages from wrong jail (if there is more than one) 2015-08-08 11:57:23 +02:00
Jakub Klama
d127f75cd1 Fix /data layout on installer UFS root 2015-08-07 12:58:28 +02:00
Jakub Klama
102a55994b Adapt various bits to FreeBSD 9. 2015-07-11 21:42:23 +02:00
Jakub Klama
02a766c32b Copy /data contents to installer filesystem. 2015-07-10 21:43:11 +02:00
Jakub Klama
6a31887339 Finally make build process work again. 2015-04-24 14:14:02 +02:00
Jakub Klama
2f0321f8ba Adapt more build scripts to use profile config. Remove now useless e() calls in .pyd files. 2015-04-23 23:32:15 +02:00
Jakub Klama
acea4ee59b Initial drop-in of FreeNAS 10 build system. 2015-04-22 11:57:31 +02:00