Giter Site home page Giter Site logo

tribblix-build's Introduction

Tribblix Build

These are the scripts to build a Tribblix image. It's assumed that you've created all the SVR4 packages already.

The first step is to create a distribution area. named /extport/tribblix by default, and run install-pkgs to install the base. The list of packages in the minimal system is the base overlay. Installation is interactive.

The area you drop the build into ought to contain a 'dist' directory and a 'prebuilt' directory.

Once you've booted up the live image successfully, and have the services running correctly, copy off /etc/svc/repository.db into the prebuilt directory and you'll avoid manifest import from then on.

Likewise after a successful install (without overlays) into repository-installed.db and you'll avoid manifest import at first boot. The generic_live.xml here is the profile used for the live boot.

If you have a commonly installed overlay then you can install that, copy off the repository from after the first boot, and put that into the prebuilt directory named as repository-overlay.db, and update the installation scripts - I do this by default for the kitchen-sink overlay.

You'll need to create dist/pkgs and run mk-pkgs-zap to populate it with the packages referenced in the overlays.

Then just run build_iso to create the iso.

The live_install.sh script is what gets put onto the live CD and used to install Tribblix to a hard disk.

The ufs_install.sh script is a test script that allows install to ufs instead of zfs.

ips2svr4

Conversion scripts for taking IPS packages (either from an installed system or from the repo created from an Illumos build) and creating an equivalent SVR4 package.

pkg_name.sh - an ugly way to translate IPS package names to SVR4 names

ips2svr4.sh - script to convert a package from an installed system

repo2svr4.sh - script to convert a package from an Illumos build

repo_all.sh, mk_all.sh - wrappers to create all packages

These have my own build locations hardcoded, which will need fixing - search for "ptribble", "/packages", and "/var/tmp" in the scripts and put in whatever makes sense for your own system.

Known issues

The scripts have way too many paths hard-coded for my own build server.

Not all package attributes are handled correctly.

Editable files aren't handled as such.

tribblix-build's People

Contributors

ptribble avatar

Watchers

Netbox avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.