descriptioncode to create a minimal linux initramfs
ownersylvain.bertrand@legeek.net
last changeSun, 3 Feb 2019 17:56:26 +0000 (3 17:56 +0000)
content tags
add:
README
This is a toolbox to build a linux initramfs. Since it has hardware
autodetection, it should be a good base for a "live"/"mobile" linux based
operating systems.

During early user space
  1 - it modprobes (using libkmod) the disk drivers based on sysfs modalias
  2 - it tries to locate the root file system (using libblkid) based on the
      cinitramfs_root_uuid kernel parameter from the boot loader
  3 - it modprobes (using libkmod) its filesystem (autodetected with libblkid)
      modules
  4 - it execves /bin/init from the real root.

See ./make --help (you should have all required options for cross compiling
friendlyness)

Please use a build directory different than the source directory.

coding style is c90 compact:
 - indent is 2 spaces
 - 80 columns
shortlog
2019-02-03 Sylvain BERTRANDload modules common to all linux revisionsmaster
2018-11-18 Sylvain BERTRANDlinux 4.20 support
2018-09-02 Sylvain BERTRANDlinux 4.19 support
2018-07-01 Sylvain BERTRANDkernel 4.18 support
2018-06-17 Sylvain BERTRANDkernel 4.17 with waring about ext4 soft dep on crc32c
2018-03-01 Sylvain BERTRANDnewer kernels
2017-11-13 Sylvain BERTRANDnew kernels, may remove kernel version specifics
2017-08-04 Sylvain BERTRANDupstream sync and a bit of cleanup
2015-03-17 Sylvain BERTRANDput libs in gnu dynloader trusted dir
2015-03-03 Sylvain BERTRANDrdy for 4.0.0 and switch to /bin/init
2015-01-07 Sylvain BERTRANDfix typo
2014-12-22 Sylvain BERTRANDsome echoes should be printfs
2014-12-16 Sylvain BERTRANDmany script fixes
2014-12-08 Sylvain BERTRANDsome minor cleanup
2014-12-02 Sylvain BERTRANDsome cleanup
2014-12-02 Sylvain BERTRANDMerge branch 'master' of github.com:sylware/cinitramfs
...
heads
5 years ago master