Giter Club home page Giter Club logo

lfs-scripts's Introduction

lfs-scripts

This repo contain scripts to automate LFS build + livecd.

Requirements

  • sudo
  • passes lfs version-check.sh test
  • squashfs-tools & libisoburn (optional to create the livecd iso)

scripts

  • 01-toolchain

    • toolchain script to build base lfs (required)
    • this script need run as regular user
    • this script resume-able, just re-run the script to continue where you left
  • 02-lfs-base

    • script to build base lfs system
    • this script need run as root
    • each package has its own build script
    • you can create your own package build scripts using template (in lfs/pkgscripts dir)
    • extra packages is added into this base lfs, eg:
      • linux kernel
      • wget
      • dhcpcd
      • wpa_supplicant
      • mkinitramfs (taken from Venom Linux, livecd support)
    • this script resume-able, just re-run the script to continue where you left
  • 03-mklfsiso

    • script to build lfs livecd iso
    • this script need run as root
  • version-check.sh

    • script to check utilities requirements to build lfs

Note

  • If you wanna build lfs to run in your machine/virtual you need to create partition for this lfs system and mount to /mnt/lfs directory.
  • If you just wanna create the livecd iso, you can straight run these script without mount partition for lfs.
  • By default this script build the lfs system in /mnt/lfs directory, so make sure you spare this directory for it.
  • If you wanna include extra package to base system/livecd, create build script into lfs/pkgscripts directory using existing template, edit 02-lfs-base script, add your custom package name to 'EXTRA_PKGS' and re-run the script.
  • By default all package built using '-O2 -march=x86-64 -pipe' for CFLAGS and CXXFLAGS, all cores for 'MAKEFLAGS', edit lfs/pkg.conf if you wanna change it.

lfs-scripts's People

Watchers

 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.