Skip to content
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

Shellless initd #48

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Shellless initd #48

merged 1 commit into from
Dec 19, 2023

Conversation

ericcurtin
Copy link
Collaborator

By nulling out bash, we can get a shellless initrd, this gets us down to 12M initrd size in Fedora.

Once you mount storage and initoverlayfs you have a shell again.

Kindof try and think of initrd as extended kernelspace with some userspace capabilities.

By nulling out bash, we can get a shellless initrd, this gets us down to
12M initrd size in Fedora.

Once you mount storage and initoverlayfs you have a shell again.

Kindof try and think of initrd as extended kernelspace with some
userspace capabilities.

Signed-off-by: Eric Curtin <[email protected]>
@rhatdan
Copy link
Member

rhatdan commented Dec 19, 2023

LGTM

@ericcurtin ericcurtin merged commit 29ff844 into main Dec 19, 2023
5 checks passed
@ericcurtin ericcurtin deleted the shellless-initrd branch December 19, 2023 14:16
@dougsland
Copy link
Collaborator

nice

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.

3 participants