Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171302 - [Contribution] on init script for initramfs, 2 new features
Summary: [Contribution] on init script for initramfs, 2 new features
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-18 03:31 UTC by Diego Jacobi
Modified: 2007-11-17 03:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
my modified init script (init,26.94 KB, text/plain)
2007-03-18 03:32 UTC, Diego Jacobi
Details
my modified initrd.scripts (initrd.scripts.epsilon,25.10 KB, text/plain)
2007-03-18 03:33 UTC, Diego Jacobi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Jacobi 2007-03-18 03:31:34 UTC
I have edited the provided init script which genkernel uses to when it builds initramfs, becouse i was working on a little more complex livecd with multiple branches for unionfs, and have finally made a new concept of boot alternatives, with this just addon and all current features.
Also added keymap=es or dokeymap=es to not be asked on boot.

Reproducible: Always

Steps to Reproduce:
1.extract initramfs contents
2.copy init and initrd.scripts.epsilon inside it
3.build a new initramfs with those files

Actual Results:  
Is not really a problem, but:
My livecd should be able to install any of a stage3 gentoo system and a my own complete gentoo distribution. User should be capable of decide.
So the best way for me to do this without having a waste of cd-space, is to build my live cd from a base of stage3 or stage2 using unionfs, then build each one, stage3.squashfs and distro.squashfs

Expected Results:  
gentoo init only supports livecd.squashfs in very rigid ways as the only branch, so i have modified it, and now it works, and adds much more less rigid configuration possibilies and maybe new concepts on booting a linux system.

The init script can do a lot of things with a few improvements which also i have not done, but i have made a TODO list for me.
Hardly will find now the time to continue, becouse my holidays are done, and all my time is fully dedicated to the university.
So i have documented it to maybe continue it on next holidays.
I hope you accept those modifications or comment me about it.
It is completely tested on my livecd (x86 2 branches and 1 branch) and should not alterate the behavior of other features.
Comment 1 Diego Jacobi 2007-03-18 03:32:28 UTC
Created attachment 113617 [details]
my modified init script
Comment 2 Diego Jacobi 2007-03-18 03:33:20 UTC
Created attachment 113618 [details]
my modified initrd.scripts
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-21 00:39:09 UTC
Well, I have no problem with any of this, but would love if they were patches with a single set of new functionality per patch.  Your changes are too large and change too much for me to easily evaluate them.  Everything seems good, but I don't want to break anything via manually having to copy things over.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2007-08-13 22:52:53 UTC
If you want these features even considered for inclusion, please resubmit them as patches against current SVN instead of submitting the entire files themselves. The developers have enough work to do without trying to figure out what few lines you've changed in a bunch of large files.
Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2007-11-17 03:05:11 UTC
Please reopen if you decide to respond and submit patches.