-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for decoding erofs into lcfs_node, and some tooling using it #185
Commits on Sep 14, 2023
-
tests/dumpdir: Print mode in octal, makes it easer to read
Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fa6107 - Browse repository at this point
Copy the full SHA 7fa6107View commit details -
Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c69f93 - Browse repository at this point
Copy the full SHA 1c69f93View commit details -
lib: Drop reference to unused overlayfs xattr
trusted.overlay.verity doesn't exist anymore, its just trusted.overlay.metacopy. Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b0e9f3 - Browse repository at this point
Copy the full SHA 1b0e9f3View commit details -
lcfs-internal.h; Add cleanup_node macro
Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc30bb6 - Browse repository at this point
Copy the full SHA fc30bb6View commit details -
Use cleanup_node to simplify some code
Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ca622f - Browse repository at this point
Copy the full SHA 6ca622fView commit details -
Move erofs helpers to new lcfs-erofs-internal.h
Right now these are only used from cfs-fuse.c, but they will be reused more later. Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ccb7374 - Browse repository at this point
Copy the full SHA ccb7374View commit details -
Move some utility functions to lcfs-utils.h
Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55067ad - Browse repository at this point
Copy the full SHA 55067adView commit details -
Add (and use) defines for overlayfs xattr names
Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d186f4c - Browse repository at this point
Copy the full SHA d186f4cView commit details -
When escaping whiteouts, also set the userxattrs xatrs.
This allows a whiteout in the composefs mount be used as a whiteout both with a regular and an userxattr overlayfs mount. Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe81a66 - Browse repository at this point
Copy the full SHA fe81a66View commit details -
lib: Add lcfs_node_get_payload/hardlink_target()
We want to be able to read back everything that we can set. Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30bcbe5 - Browse repository at this point
Copy the full SHA 30bcbe5View commit details -
lib: Add support to load image to lcfs_node
This is useful to figure out the content of a composefs iamge. Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0366de5 - Browse repository at this point
Copy the full SHA 0366de5View commit details -
tools: Add composefs-info tool
This lets you list the content of an image, and dump the objects it references. Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc73fbf - Browse repository at this point
Copy the full SHA cc73fbfView commit details -
Test ability to reproduce parsed images
For all the images we generate from json, try also to regenerated them and ensure we get the same bits. To do the dumping we add the internal composefs-dump tool. Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1340829 - Browse repository at this point
Copy the full SHA 1340829View commit details -
composefs-from-json: Add new x-content key type
This lets you test lcfs_node_set_content() Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e958ded - Browse repository at this point
Copy the full SHA e958dedView commit details -
Move tests from tools/test-assets to tests/assets
Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f0594cb - Browse repository at this point
Copy the full SHA f0594cbView commit details -
This tesets various special things like device nodes, escaped xattrs whiteouts and inlined files. Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 90676ee - Browse repository at this point
Copy the full SHA 90676eeView commit details -
tests: Run fsck.erofs (if available) on generated erofs
This may catch any weird stuff we might generate. Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c65eb0 - Browse repository at this point
Copy the full SHA 7c65eb0View commit details -
Now uses more of the new helpers and code. Also supports inlined data. Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4110ef4 - Browse repository at this point
Copy the full SHA 4110ef4View commit details -
Add some more unit tests to make check
Signed-off-by: Alexander Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fbdf4e4 - Browse repository at this point
Copy the full SHA fbdf4e4View commit details