You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a project by running scanpipe create-project myproj
Once the project is created, copy the contents of your rootfs tarball to scancode.io/var/projects/<myproj-id>/codebase. This directory should look like a rootfs.
Add the rootfs pipeline to your project: scanpipe add-pipeline --project myproj scanpipe/pipelines/root_filesystems.py
Run the pipeline on your project: scanpipe run --project myproj
This is not a great UX. We should support having an input as a tarball or as an image (see aboutcode-org/extractcode#16 )
In doing so there is some minor issue to resolve which is to determine where is the root of a rootfs.
for now it should be the root of the image or tarball
we should later find the actual rootfs root automatically based on the the typical layout of an image format OR recognizing typically rootfs layouts (e.g. a typial POSIDX fs layout with /usr/lib, /bin, /etc, ... etc.)
The text was updated successfully, but these errors were encountered:
pombredanne
changed the title
Support input as tarball(s) in root fileystem pipelines
Support input as tarball(s) and VM images in root fileystem pipelines
Feb 13, 2021
To run a root_filesystem pipeline, we need to do this for now:
(thanks to @JonoYang for providing the steps! )
Start from a new project:
scanpipe create-project myproj
scancode.io/var/projects/<myproj-id>/codebase
. This directory should look like a rootfs.scanpipe add-pipeline --project myproj scanpipe/pipelines/root_filesystems.py
scanpipe run --project myproj
This is not a great UX. We should support having an input as a tarball or as an image (see aboutcode-org/extractcode#16 )
In doing so there is some minor issue to resolve which is to determine where is the root of a rootfs.
/usr/lib
,/bin
,/etc
, ... etc.)The text was updated successfully, but these errors were encountered: