Go to file
illiliti e8858c1d34 device-helper: sleep conditionally
Call sleep in loop instead of hoping that sleep 2 is enough.
2021-05-10 11:24:59 +03:00
docs cleanup 2020-09-10 22:53:39 +03:00
hooks Fix bug in lvm hook with lvm_discard unset 2020-11-18 20:54:44 -05:00
device-helper device-helper: sleep conditionally 2021-05-10 11:24:59 +03:00
init cleanup 2020-09-10 22:53:39 +03:00
LICENSE Initial commit 2020-01-03 13:31:04 +00:00
Makefile document kernel command-line parameters 2020-09-07 09:55:41 +03:00
README.md reame: update 2021-05-10 11:22:33 +03:00
tinyramfs cleanup 2020-09-10 22:53:39 +03:00

Tinyramfs

Currently tinyramfs is incomplete, don't expect that everything is working

Features

  • No local's, no bashisms, only POSIX shell
  • Portable, not distro specific
  • Easy to use configuration
  • Build time and init time hooks
  • LUKS (detached header, key), LVM
  • mdev, mdevd, eudev, systemd-udevd

Dependencies

  • POSIX make (build time)
  • POSIX utilities
  • POSIX shell
  • switch_root
  • mount
  • cpio
  • strip
    • Optional. Required for reducing image size by stripping binaries
  • blkid
    • Optional. Required for UUID, LABEL, PARTUUID support
  • mdev OR mdevd OR eudev OR systemd-udevd OR CONFIG_UEVENT_HELPER
    • Optional. Required for modular kernel, /dev/mapper/* and /dev/disk/* creation
  • lvm2
    • Optional. Required for LVM support
  • cryptsetup
    • Optional. Required for LUKS support
  • busybox loadkmap
    • Optional. Required for keymap support
  • kmod OR busybox modutils with patch (already included in KISS Linux)
    • Not required for monolithic kernel

Installation

git clone https://github.com/illiliti/tinyramfs
cd tinyramfs
make install

Usage

# read tinyramfs.config(5) and setup /etc/tinyramfs/config
tinyramfs -o "/boot/initramfs-$(uname -r)"
# update your bootloader
# reboot...

Thanks

E5ten
dylanaraps

Donate

You can donate if you like this project

BTC: 1BwrcsgtWZeLVvNeEQSg4A28a3yrGN3FpK