Giter Site home page Giter Site logo

blankon-live-build's Introduction

BlankOn live-build

This is repository for BlankOn live-build configuration. Before migrated to live-build, Blankon used to build the ISOs using custom-made script called pabrik-cc based on old debootstrap.

The Debian Live project produces the framework used to build live systems based on Debian and the official Debian Live images themselves.

References:

Prerequisites and preparation

Need live-build version 20191222 or commit sha on 7360d50fa6b

Install tools:

sudo apt install debootstrap make git apt-utils
git clone https://salsa.debian.org/live-team/live-build.git debian-live-build
cd debian-live-build
git checkout 7360d50fa6b
sudo make install
sudo lb --version

Clone Repo and Preparation

  • Clone repo
    git clone https://github.com/BlankOn/blankon-live-build.git
    
  • Install blankon-keyring
    cd blankon-live-build
    sudo dpkg -i config/packages/blankon-keyring_2020.10.29-1.0_all.deb
    
  • Create file /usr/share/debootstrap/scripts/verbeek with this content
    mirror_style release
    download_style apt
    finddebs_style from-indices
    variants - buildd fakechroot minbase
    keyring /usr/share/keyrings/blankon-archive-keyring.gpg
    
    # include common settings
    if [ -e "$DEBOOTSTRAP_DIR/scripts/debian-common" ]; then
     . "$DEBOOTSTRAP_DIR/scripts/debian-common"
    elif [ -e /debootstrap/debian-common ]; then
     . /debootstrap/debian-common
    elif [ -e "$DEBOOTSTRAP_DIR/debian-common" ]; then
     . "$DEBOOTSTRAP_DIR/debian-common"
    else
     error 1 NOCOMMON "File not found: debian-common"
    fi
    
  • Create symlink in host files to satisfy udeb packages (?) see this issue. (no need symlink if you're using docker for building images)
    sudo ln -s /usr/share/live/build/data/debian-cd/squeeze /usr/share/live/build/data/debian-cd/verbeek
    

Build

  • sudo lb clean --purge
  • sudo lb config
  • sudo lb build

There is build.sh script that could be used to export the result to BlankOn's jahitan-harian directory.

Simple way

bash build.sh

TODO

Notification to blankon-dev mailing list (need SMTP server).

blankon-live-build's People

Contributors

herpiko avatar artemtech avatar tuanpembual avatar kudaliar032 avatar samsulmaarif 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.