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

live hooks #17

Closed
wants to merge 6 commits into from
Closed

live hooks #17

wants to merge 6 commits into from

Conversation

eudaldgr
Copy link

@eudaldgr eudaldgr commented Oct 10, 2020

First try to merge this with tinyramfs.
It only add support for overlayfs, but maybe works with aufs.

@illiliti
Copy link
Owner

Thanks for the PR. This change requires adding appropriate docs to man pages. Would you mind doing this ?

@eudaldgr
Copy link
Author

I want to do, but before i would know your opinion or if i miss something or you don't want my hook. Now i will work with the man pages, if you agree.

@eudaldgr
Copy link
Author

Well, man pages modified, what do you think about this PR?

@illiliti
Copy link
Owner

That's much better! There are some nitpicks that need to be fixed before i merge this

hooks/live/live Outdated Show resolved Hide resolved
hooks/live/live.init Outdated Show resolved Hide resolved
hooks/live/live.init Outdated Show resolved Hide resolved
@eudaldgr
Copy link
Author

eudaldgr commented Nov 19, 2020

Well, in fact i don't use this hook anymore for my kiss livecd so i won't maintain this anymore, but i believe that there is a lot to do to improve it.

EDIT: it works as it is, but I think there is room for improvement.

@apprehensions
Copy link

@eudaldgr , your kiss livecd is mounted from a cdrom.
tinyramfs does not include cdrom kernel drivers, how does it get mounted?

@eudaldgr
Copy link
Author

@eudaldgr , your kiss livecd is mounted from a cdrom. tinyramfs does not include cdrom kernel drivers, how does it get mounted?

The modules are copied from host kernel modules, you need to compile your kernel with cdrom enabled as a module.
This hook are unmantained, I made a live hook diskless for tinyramfs more simple, check it here

@apprehensions
Copy link

my workaround was having a hook do copy_kmod cdrom.

@eudaldgr
Copy link
Author

my workaround was having a hook do copy_kmod cdrom.

When I opened this PR the implementation of tinyramfs was copy_module $_mod now it seems to be copy_kmod $_mod.

It needs improvement from conception.

@eudaldgr eudaldgr closed this Nov 1, 2023
@firasuke
Copy link

This is a very interesting PR for tinyramfs, and its approach for getting live boot to work is more distro-agnostic than what kiss-live is doing (which is having base tarballs and extracting them upon booting, which is slow...).

@eudaldgr I am wondering if you might consider opening it again, as I have written a similar proposal for booster, because apparently having an initramfs that works in live environments is hard, and I am interested in trying to get this working with your help.

@firasuke firasuke mentioned this pull request Jan 17, 2024
19 tasks
@eudaldgr
Copy link
Author

This is a very interesting PR for tinyramfs, and its approach for getting live boot to work is more distro-agnostic than what kiss-live is doing (which is having base tarballs and extracting them upon booting, which is slow...).

@eudaldgr I am wondering if you might consider opening it again, as I have written a similar proposal for booster, because apparently having an initramfs that works in live environments is hard, and I am interested in trying to get this working with your help.

I am no longer working on this, feel free to (re-)open a similar pull request yourself if you are so interested.

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.

4 participants