Giter VIP home page Giter VIP logo

rrr-builder's Introduction

Official ISO build system for Rolling Rhino Remix

How to install

First you need

  • cd-boot-images-amd64
  • xorriso
  • axel (optional, for faster downloads)
  • GNU Coreutils

Next chmod +x ./fetch_build && ./fetch_build to build the entire iso. After do sudo make clean to clean empty files.

In detail

First fetch_build downloads a file from fetch_build.conf and names it ubuntu.iso which is the base for all operations. Next it runs sudo make. This defaults to building the ISO. Next the stuff from makefile begins where it firsts starts by uncompressing the iso/cd image (ubuntu.iso from fetch_build and fetch_build.conf) to extract-cd then uncompresses the actual stuff you install inside of it to ./edit. Then it prepares to go inside of that with chroot and executes ./build/build.sh inside the chroot/filesystem which prepares a bit then executes ./build/switch.sh which changes the actual OS from generic Ubuntu. After switch.sh is finished build.sh ends soon after and the makefile still goes on. Next we move on to editing the cd image; not the filesystem stuff where the grub.cfg and loopback.cfg is copied to extract-cd and the filesystem is compressed to save space. Next after the disk stuff has been defined, it is given md5 checksum to every file inside. And finally with that it is compressed to a iso with setttings from build.conf. and last thing is a md5 of it.

How to create your own spin

the files you'll need to edit are build.conf, grub.cfg, loopback.cfg, files in ./build, ./.github/make_release.yml and maybe fetch_build.conf. This may look intimidating but don't worry. for loopback.cfg and grub.cfg all you have to do is edit the names from Rolling Rhino to whatever the name of os is. Currently this will be automated in future the fetch_build.conf is where the base iso is from and generally it uses ubiquity, and is apt-based but doesn't have to be and generally it can be untouched most of time. Next build.conf I think this is self explaintory but this is name of os, disk info and the name of the outputting .iso. next the files in ./build, the build.sh is used for startup generally this is used in the middle to remove gnome packages and stuff but it is okay if you do it in the switch.sh which converts your install to the os. For .github/make_release.yml this is if you want to use github runners but if not then this file isn't needed. Change the branch your cloning and at the end for uploading artifacts section you may want to change the name from rolling-rhino-generic.

Suggestions

If you want to create a unnoficial spin, you can easily fork this repo and create your own remix of Rolling Rhino Remix

Thanks To...

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.