Comments (6)
it's not a trickery at all. it's really a simple script that would generate basic helpers [`/lib/mkinitramfs-ll/bin], so other scripts or user scripts can use a few of them if need be. actually zfs is implemented using the helpers as an example. i did not want to seperate the init script (550~600 is manageable right now). and i did not want to start separating specific init functions to basic helpers?
from mkinitramfs-ll.
There seems to be a problem, that anytime you change the init you also need to fix the line numbers in the helper generators. And the whole approach seems to me just like scratchning left ear with right hand.
from mkinitramfs-ll.
Right. Do you have a better approach? Keeping the init script this way, one
can be able to build everything at hand easily without ever needing what is
in ./usr' or even
./usr/lib/mkinitramfs-ll/init.sh' or whatsover.
I'm the first person who is annoyed by that shit... and tend to forget to
edit that file. And then tear my head over walls here and there. So I know
that pretty well.
Now, if I did that thing that way, it was to let the very few users who use
that script(s) to made their own to add to initramfs. Yes, nobody did any(
and send it). So I've implemented zfs that way as an example. And yet
nothing. -;)
The easy way is... stripe away the init script and make a definitive
`/lib/mkinitramfs-ll/fuctions.sh' or even add helpers with that. So I'd be
done with it.
Nobody is against it?
2013/4/9 yaccz [email protected]
There seems to be a problem, that anytime you change the init you also
need to fix the line numbers in the helper generators. And the whole
approach seems to me just like scratchning left ear with right hand.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/19#issuecomment-16104809
.
Error 404 citizen was not found
from mkinitramfs-ll.
see https://github.com/yaccz/ynitramfs/blob/master/init#L7-L10 In the future the functions shall be defined in something like initlib which would be sourced by init. which wil exeucte.
This will also allow unit testing of the initlib
from mkinitramfs-ll.
for looking how to make a ~/.shrc like file, or else, one can run source $initlib/function.sh for now untill then with the 0.12.0 version bump.
from mkinitramfs-ll.
closing, fixed with 0.12.0
from mkinitramfs-ll.
Related Issues (20)
- -k version switch adds an extra : in version HOT 1
- wrong find syntax finds no modules HOT 1
- missing / for finding gcc HOT 1
- resume handling broken HOT 1
- cmdline option name HOT 5
- luks option seems to get ignored using BTRFS root HOT 9
- Multiple LUKS Containers HOT 1
- Gentoo install not functional HOT 5
- LVM on LUKS with detached header HOT 8
- Whole disk support HOT 1
- Busybox init process. PID must be 1 HOT 8
- Using an encrypted root with a regular keyfile asks for passphrase HOT 6
- Allow discards for SSDs in cryptsetup HOT 2
- Gentoo's default busybox config: module dependencies not correctly resolved (undefined symbols) HOT 2
- Posix version not working
- Please help
- mkinitramfs command fails if host do not have /dev/mem
- mkinitramfs-ll.sh prints useless error messages
- scripts/busybox.sh fails to build for versions with -r* appended
- custom keymap support broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mkinitramfs-ll.