Jonas 'Sortie' Termansen
9ea3edf36f
Convert mkinitrd to C.
2016-03-03 23:02:24 +01:00
Jonas 'Sortie' Termansen
2228dee514
Fix mkinitrd(8) manifest support.
2016-02-07 22:20:36 +01:00
Jonas 'Sortie' Termansen
507d7d73ab
Add --manifest option to mkinitrd(8).
2016-02-07 14:58:38 +01:00
Jonas 'Sortie' Termansen
ba4fa25341
Fix mkinitrd creating unaligned structs.
2015-12-12 16:53:42 +01:00
Jonas 'Sortie' Termansen
b2aae6094f
Add mkinitrd support for multiple roots.
2015-10-28 16:28:17 +01:00
Jonas 'Sortie' Termansen
3191e18966
Cache only mkinitrd nodes with multiple hardlinks.
2015-10-28 16:28:17 +01:00
Jonas 'Sortie' Termansen
a306193824
Fix mkinitrd default uid and gid not being root.
2015-08-01 14:02:23 +02:00
Jonas 'Sortie' Termansen
69159d275f
Fix mkinitrd and initrdfs endian issues.
2015-01-19 18:03:13 +01:00
Jonas 'Sortie' Termansen
e7844535e0
Add --format option to mkinitrd(1).
2014-11-24 22:22:38 +01:00
Jonas 'Sortie' Termansen
5e124c9df0
Update mkinitrd to current coding conventions.
2014-11-24 21:32:25 +01:00
Jonas 'Sortie' Termansen
bf9e9d0b25
Fix mkinitrd not maintaining correct hard link count.
2014-05-16 14:48:28 +02:00
Jonas 'Sortie' Termansen
a212ec0ee3
Split libc/unistd/ioleast.cpp into multiple files.
2013-12-17 14:30:43 +01:00
Jonas 'Sortie' Termansen
472155173d
Adopt struct timespec as the kernel time format.
...
Note: Incompatible ABI change.
2013-12-17 14:30:30 +01:00
Jonas 'Sortie' Termansen
90036ca6a8
Update copyright headers of old files to the current format.
2013-12-17 14:30:23 +01:00
Jonas 'Sortie' Termansen
eb5be61d20
Fix trailing blank lines.
2013-12-17 14:30:23 +01:00
Jonas 'Sortie' Termansen
25a988442e
Support filtering paths in the mkinitrd program.
...
This will allow initrds to omit certain files, such as other initrds,
irrelevant files, iles for another platform, and so on. This will be useful
when initrd contain entire system roots.
2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
2bfaa81f76
Use same inode for hardlinks in mkinitrd.
...
This saves memory as the contents of the inode doesn't need to be duplicated
needlessly in the final image.
2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
39a8433b23
Fix mkinitrd compile warnings.
2013-07-08 15:47:27 +02:00
Jonas 'Sortie' Termansen
c39473157a
Implemented a new initrd format with better inode support.
...
This enables useful features such as directories, CRC32 checksums, and other
useful features. The initrdfs in the kernel is now hooked up against the new
API, although the kernel's current limited FS support is a problem for now.
To work around that, directories are not supported at runtime, although the
internal API understands them wonderfully. This will be fixed when the
kernel gets a real VFS.
2012-07-02 17:40:52 +02:00
Jonas 'Sortie' Termansen
db79994e64
Refactored all the sortix headers into a include directory.
...
Also got rid of trailing white space. That corrupted .git/.
Big ass-commit because of recovered .git directory.
2012-03-22 00:52:29 +01:00
Jonas 'Sortie' Termansen
889646d033
Removed excess space.
2011-12-04 21:31:53 +01:00
Jonas 'Sortie' Termansen
b0884584a1
Added a very simple checksum field to the init ramdisk.
...
This uncovers a bug where the bootloader may corrupt the initrd on x64.
This is probably related to our kernel64 hack..
2011-12-01 21:44:11 +01:00
Jonas 'Sortie' Termansen
fa7834b5d6
Added a mkinitrd program that creates initrds for Sortix.
2011-08-27 16:57:03 +02:00