1

I want to build my own FreeBSD installation media (an .iso file to burn on a DVD) with selected ports. What I mean is: I use a DVD to install new system, and after installing it I can (for example) use git and gcc49. Is that possible? I know it's possible while compiling source code for ARM's (like Raspi or Beaglebone), but is that possible for i386/amd64 version? Googling gave me nothing and so do posting on official FreeBSD forum. Thank you in advance for your answer. Greethings

  • Read this post – eyoung100 Jun 20 '15 at 20:14
  • thank you for a quick response, eyoung. Unfortunately, m0n0wall's dev handbook is a bit outdated (last update was ten years ago), and FreeSBIE boots from CD. Is there anything else? – Jan Bońkowski Jun 20 '15 at 20:31
  • Can you not install freesbie from a FreeBSD install port? See the Official Website and install the toolkit. I apologize for not being clear, but I believe the toolkit can be used to "roll your own ISO", which is what you want... – eyoung100 Jun 20 '15 at 22:06
1

I was about to answer this question with a link to the release man page and go into great detail about how to build packages and include them in releases etc.

But then I realized that your question is mixing up which packages are installed after the install. Packages are no longer included in the ISO, you can install the packages by installing them from the network post install by running pkg install packagename.

  • so you want to say that pre-install programs in my release is not possible? okay, then :( So another idea: you say that I can build packages and include them in my release. Do I have to build ALL packages, or can I remove those I will not use (in example games, arabic or japanese packages etc.)? If that's possible, how do I do this? Thank you in advance :) – Jan Bońkowski Jun 23 '15 at 19:24
  • What I'm saying is the installer no longer installs packages of things from ports. You can install them after the OS is installed. The packages the project provides will probably work for you, but If you want to build your own packages, you can. You'll just need to setup poudriere to build and a pkg repo to install. Setting all that up is more than I can explain in the space provided in comments here. See freebsd.org/doc/handbook/pkgng-intro.html and freebsd.org/doc/handbook/ports-poudriere.html – Steve Wills Jun 23 '15 at 19:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.