Skip to content

Fetch root meta#202

Merged
mike-sul merged 2 commits intomasterfrom
fetch-root-meta
Jul 20, 2022
Merged

Fetch root meta#202
mike-sul merged 2 commits intomasterfrom
fetch-root-meta

Conversation

@mike-sul
Copy link
Copy Markdown
Contributor

Fetch and store root metadata on an ostree-based rootfs during bitbaking.

Comment thread lmp/fetch_root_meta.py Outdated
stream_hdl = logging.StreamHandler(sys.stdout)
stream_hdl.setFormatter(log_formatter)
logging.root.addHandler(stream_hdl)
logging.root.setLevel('INFO')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can replace all of that with:

logging.basicConfig(level="INFO", format="%(asctime)s %(levelname)s: %(message)s")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then logging from other modules won't work, if any.
I will have to change this part anyway, since I need to log into a file since bitbake doesn't output stdout.

Add scripts to be called during bitbaking aimed to dump root role
metadata to the ostree-based rootfs is being bitbaked.

Signed-off-by: Mike <[email protected]>
@mike-sul mike-sul marked this pull request as ready for review July 20, 2022 07:30
@mike-sul mike-sul merged commit 10d00aa into master Jul 20, 2022
@mike-sul mike-sul deleted the fetch-root-meta branch July 20, 2022 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants