tinyramfs icon indicating copy to clipboard operation
tinyramfs copied to clipboard

live hooks

Open eudaldgr opened this issue 3 years ago • 9 comments

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

eudaldgr avatar Oct 10 '20 18:10 eudaldgr

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

illiliti avatar Nov 11 '20 17:11 illiliti

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 avatar Nov 11 '20 19:11 eudaldgr

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

eudaldgr avatar Nov 13 '20 15:11 eudaldgr

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

illiliti avatar Nov 19 '20 14:11 illiliti

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.

eudaldgr avatar Nov 19 '20 14:11 eudaldgr

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

apprehensions avatar Jul 16 '22 13:07 apprehensions

@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

eudaldgr avatar Jul 16 '22 14:07 eudaldgr

my workaround was having a hook do copy_kmod cdrom.

apprehensions avatar Jul 16 '22 17:07 apprehensions

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 avatar Jul 16 '22 19:07 eudaldgr

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 avatar Jan 17 '24 20:01 firasuke

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.

eudaldgr avatar Jan 18 '24 15:01 eudaldgr