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

Populate devices so kexec can read /proc/iomem. #410

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

rick-masters
Copy link
Contributor

No description provided.

@Googulator
Copy link
Collaborator

I don't quite understand why this does anything at all, given that we run the same script a few steps earlier, but I guess it doesn't harm to re-run it, especially if it fixes something.

@rick-masters
Copy link
Contributor Author

I don't quite understand why this does anything at all, given that we run the same script a few steps earlier, but I guess it doesn't harm to re-run it, especially if it fixes something.

When we run it earlier the mount command has not been built yet but after util-linux builds mount these commands will work in steps/improve/populate_device_nodes.sh:

if mount --version >/dev/null 2>&1; then
    test -d "/dev/shm" || (mkdir /dev/shm && mount -t tmpfs tmpfs /dev/shm)
    test -d "/proc" || (mkdir /proc && mount -t proc proc /proc)
fi

@fosslinux fosslinux merged commit e618541 into fosslinux:master Jan 12, 2024
6 checks passed
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