-
Notifications
You must be signed in to change notification settings - Fork 327
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
refactor: Remove inject_files rule invocations and move injection of binaries to ext4_image #3497
base: master
Are you sure you want to change the base?
Conversation
# Note that we defer injecting the files from images_deps["rootfs"]. These are mostly slower to build. | ||
|
||
# NOTE: e2fsdroid does not support filenames with spaces, fortunately, | ||
# there are only two in our build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I guess we forgot to update this last time. Maybe better would be to say:
... fortunately, these only occur in firmware that we do not use
@@ -139,80 +139,86 @@ def icos_build( | |||
|
|||
# -------------------- Extract root partition -------------------- | |||
|
|||
# Note that we defer injecting the files from images_deps["rootfs"]. These are mostly slower to build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is no longer true, right?
"-d", | ||
os.path.join(fs_basedir, limit_prefix), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as #3476 (comment), we should make sure to investigate just in case.
Removing this step from our build simplifies the build process and allows for further optimizations.
Runtimes of building the image when rootfs-tree.tar and rootfs contents are available from cache:
HostOS:
GuestOS:
Diff: