Giter Site home page Giter Site logo

initramfs-tools-halium's Introduction

initramfs-tools-halium

Hooks and configuration to build a Halium initramfs

Build an initramfs image

Building your own initramfs image wtih the tools in this repository is simple.

Requirements:

  • Any OS with debootstrap
  • sudo rights on the machine, to create the chroot
  1. Clone this repository into your home folder
  2. Install the prerequisites: sudo apt install debootstrap qemu-user-static binfmt-support dpkg-dev
  3. cd into the repository
  4. Run sudo ./build-initrd.sh -a [ARCH]

The initrd will be saved as ./out/initrd.img-touch-$ARCH by default.

Command-line / Environment options

-a|--arch / ARCH= The architecture to build an initrd for. Can be any architecture supported by Debian. Default armhf.

-m|--mirror / MIRROR= Mirror to pass to debootstrap. Default http://deb.debian.org/debian.

RELEASE= Debian release to use for building this initrd. Default stable.

ROOT= Location to place build chroot. Default ./build/$ARCH.

OUT= Location to copy finished initrd to. Default ./out.

INCHROOTPACKAGES= Packages to install in the chroot. These are installed in addition to the minbase packages specified by debootstrap. Default initramfs-tools dctrl-tools e2fsprogs libc6-dev zlib1g-dev libssl-dev busybox-static

FAQ

I'm getting a strange error when I try to build

Try deleting your chroots (normally in the build/ directory) and building again.

I can't delete my chroots! They say that something is busy!

Just run umount build/*/* to unmount anything that's mounted. If that doesn't work, reboot your computer. The mounts should be gone after that. Then you can delete the chroots.

initramfs-tools-halium's People

Contributors

adconrad avatar cjwatson avatar jbbgameich avatar lool avatar martinpitt avatar ogra1 avatar peat-psuwit avatar sergobot avatar stgraber avatar tofee avatar universalsuperbox avatar xnox avatar zeropointenergy 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.