Date: Mon, 17 Jan 2005 20:37:56 +0100 From: Erik Norgaard <norgaard@locolomo.org> To: Chad Morland <cmorland@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Creating a custom package Message-ID: <41EC1414.4030506@locolomo.org> In-Reply-To: <8ca9329050117105257a5664@mail.gmail.com> References: <8ca9329050117105257a5664@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Chad Morland wrote: > I have recently setup a FreeBSD jumpstart server to install using PXE. > I would like to add some additional third-party applications as part > of the install. The last page of the FreeBSD jumpstart guide describes > how to make a custom package but it looks like it has to be built from > the ports tree. The applications that I am trying to install are > heavily customized and built from source. > > Would it be best to create a package of the compiled sources? Can a > package be built if it is not a port? Do I need to create a custom > port first AND THEN create a package? > > or.. > > Should I create a small package with pre and post install scripts that > install the compiled source files via NFS as well as configure any > system settings? > > My aim is to Jumpstart my server and have it running 100% operational > by the end of the install process with no human interaction. So I assume that you have an install.cfg file? You can execute any available command from there by adding lines like system config_and_install_whatever_command.sh Either it should be available on a NFS mount or you must first fetch it with ftp. You will probably add such command at the end of install.cfg when you have a base system installed. This way, you can install your custom package in any way you want, be it compiling from source or installing a package or other. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41EC1414.4030506>