Commit Graph

32 Commits

Author SHA1 Message Date
bjorn3 e0cffb0a36 initfs: Allow building an initfs without assembling it on disk first 2026-04-26 18:36:23 +02:00
bjorn3 b0c675634b initfs: Minor cleanups 2026-04-26 18:36:23 +02:00
bjorn3 34471854e2 initfs: Remove Dir wrapper 2026-04-26 18:36:23 +02:00
bjorn3 929486d078 initfs: Replace metadata field on Entry with executable field on EntryKind::File 2026-04-26 18:36:23 +02:00
bjorn3 cdf45983fa initfs: Hard code creation time
This improves reproducibility of the initfs.
2026-04-26 12:16:30 +02:00
bjorn3 dd27c1ae08 initfs: Introduce InodeTable 2026-04-25 13:58:52 +02:00
bjorn3 2052b70212 initfs: Allocate inodes in write_inode 2026-04-25 13:54:23 +02:00
bjorn3 108a9343e3 initfs: Move inode_count write from read_directory to allocate_contents 2026-04-25 13:53:39 +02:00
bjorn3 7e4e3864e5 initfs: Write inode table at the end 2026-04-25 13:53:39 +02:00
bjorn3 42fee3ca8d initfs: Simplify archive cli 2026-04-25 13:53:38 +02:00
bjorn3 8b1fb36e6b initfs: Fix test 2026-04-25 13:49:49 +02:00
auronandace 557a3d1954 consolidate several dependencies into the workspace 2026-03-22 15:11:33 +00:00
auronandace 2f0f5160bb update clap for usbctl 2026-03-22 09:45:09 +00:00
Ribbon 90ea974ce0 Add missing Cargo package description and update drivers README 2026-03-16 10:39:15 -06:00
auronandace 5ffce47607 add clippy precedence lint 2026-02-20 13:43:48 +00:00
bjorn3 200ba82e57 initfs: Actually use Length newtype 2026-02-17 20:57:11 +01:00
bjorn3 7248eda128 initfs: Remove unused function 2026-02-17 20:57:11 +01:00
bjorn3 0e0287cb6d initfs: Use fixed modes for inode types
This also ensures that the write bit is never set and the execute bit
is always set for directories.
2026-02-17 20:57:10 +01:00
bjorn3 c028c49c55 initfs: Symlinks should be resolved relative to symlink parent 2026-02-17 20:54:53 +01:00
bjorn3 f0413aec8e initfs: Fill in st_ino
Otherwise ls and other tools will think they have already visited a
directory when recursively enumerating all files.
2026-02-17 20:54:40 +01:00
bjorn3 edd1c249e9 initfs: Remove uid and gid fields for inodes
The initfs creation code always puts 0 in them.
2026-02-17 20:54:35 +01:00
bjorn3 3e62ff9ec7 initfs: Use CARGO_TARGET_TMPDIR in test 2026-02-17 20:54:30 +01:00
bjorn3 223b497234 initfs: Make redox-initfs library unconditionally no_std 2026-02-17 20:54:19 +01:00
bjorn3 c611054bbd initfs: Move archive-common package into initfs-tools 2026-02-17 20:54:10 +01:00
April Grimoire 2c11d1aee6 Fix initfs space insufficient issue
Credit: willnode

Increase initfs space under debug mode from 128MiB to 256MiB.
The old size causes build failure.
2026-02-09 22:56:55 +08:00
Jeremy Soller 2d672b7cd9 Add anyhow to workspace 2026-01-29 10:47:45 -07:00
Jeremy Soller f740b61774 Use workspace dependencies for many common crates 2026-01-20 10:12:08 -07:00
bjorn3 d5ff91f248 Support mmap in initfs 2025-12-12 21:45:10 +01:00
Wildan Mubarok fde6dab626 Increase initfs in debug build 2025-08-01 06:00:53 +00:00
bjorn3 7655b09d33 Add initfs to the main workspace 2025-05-20 20:34:59 +02:00
bjorn3 2cebcade9f Remove duplicate files 2025-04-23 20:05:33 +02:00
bjorn3 2c96332aa7 Add 'initfs/' from commit 'd0802237d7894881df7ddd338dfc64220d0646ff'
git-subtree-dir: initfs
git-subtree-mainline: bb25f45f43
git-subtree-split: d0802237d7
2025-04-23 19:56:49 +02:00