kisslinux / init Goto Github PK
View Code? Open in Web Editor NEWKISS Linux - Init Framework
Home Page: https://kisslinux.github.io
License: MIT License
KISS Linux - Init Framework
Home Page: https://kisslinux.github.io
License: MIT License
At the "checking filesystems" portion of init, I get
/dev/sdb3: clean, 12/29048832 files, [more numbers] blocks
fsck.fat 4.2 (2017-01-24)
open: No such file or directory
/dev/sda2: clean, [numbers] files, [even more numbers] blocks
=> Init system encountered an error, starting emergency shell.
=> When ready, type 'exit' to continue the boot
I am using default init and have dosfstools installed. It's trying to check /dev/sdb3 (fat32) but failing for some reason.
toybox and busybox doesn't have these options
Line 42 in e2840bd
#23 was merged last november (last release was last may) so we ought to make a new release so that this change takes effect on systems.
\x1b[31;1m=>\x1b[m Welcome to KISS!
...
Hey, I'm trying to load amdgpu at boot time using /etc/inittab's ::once feature. it should run /bin/modprobe amdgpu
at startup, but it does not. bin/modprobe amdgpu
runs fine in a tty.
Here is my /etc/inittab since I'm probably doing something wrong.
I think the 'break' in line 120 of /lib/init/rc.boot needs to be a 'continue'. At least that's how I got it to load my /etc/sysctl.conf.
Currently you just skip a line when the crypttab line is incorrect, it would be nice if there was a log that told the user that an incorrect line was skipped.
It could be a hard bug to spot otherwise.
Line 36 in 85cead1
run hooks as it is currently,
run_hooks() {
[ -f "$1" ] && for file in "$@"; do
[ -f "$file" ] && . "$file"
done
}
Does not pass arguments to the hooks that it sources. This breaks sinit and is also confusing.
originally discovered by @cemkeylan (Thanks)
Here is a thread that is likely related to this bug, https://www.reddit.com/r/kisslinux/comments/e257uh/installation_trouble_kernel_panic_unable_to_mount/ , but regardless, my issue is when I have my second hard drive inserted, KISS linux init fails to mount ROOT properly and result is kernel panic. I will try to get the exact error message when I get a chance and post it back here as a reply.
So basically, let's make this smarter so that we can have computers with more than one hard drive okay.
Thanks
Dylan's been MIA for quite some time, the community has moved.
Here you use emergency_shell
rather than sos
:
Line 62 in 85cead1
I think those parts of code should be handled in hooks to be more init agnostic
@cemkeylan pinging you because you maintainer of sysmgr, sinit, runit
rc.boot
Lines 35 to 50 in 0198696
Lines 107 to 121 in 0198696
rc.shutdown
Lines 15 to 17 in 0198696
Lines 57 to 64 in 0198696
Hi, I hope this is the right place to ask this.
I am having a hard time with busybox's init system, but can't find any documentation detailing how to change the init system on kiss, how do I do it?
Again, sorry if this is not the correct place to ask
Instead of eval'ing hooks
Line 64 in e23ae90
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.