GithubHelp home page GithubHelp logo

gnuos / custom-initramfs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from csmart/custom-initramfs

2.0 0.0 0.0 18 KB

Script that uses static busybox to create an initramfs

License: GNU General Public License v3.0

Shell 100.00%

custom-initramfs's Introduction

This uses Busybox static binary from Fedora's RPM to create a simple initramfs.

$ ./create_initramfs.sh --help

	Usage: ./create_initramfs.sh --arch <string> [options]

	Required options:
	--arch <string>		architecture, e.g. aarch64, arm, ppc64, ppc64le, i386, x86_64

	Options:
	--dir <dir>		directory to use for building and output of initramfs
	--debug			enable set -x
	--noclean		don't clean the build directory (we clean by default)
	--noinit		don't use busybox init system, boot to /bin/sh instead
	--overlay <dir>		files to copy over top of initramfs filesystem
	--overlay-dst <dir>	dir to copy overlay files into on initramfs, defaults to /
	--printk		enable printk on console
	--tty <string>		the tty(s) to run getting on, defaults to "tty0 hvc0"
	--help			show this help message

	Short Options:
	-a <string>		Same as --arch
	-d <dir>		Same as --dir
	-o <dir>		Same as --overlay
	-O <dir>		Same as --overlay-dst
	-t <string>		Same as --tty
	-h			Same as --help

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.