/README (7a42d994441512f51ef00734953e94e3cb89548b) (474 bytes) (mode 100644) (type blob)
Configure in conf.mk, then run make and follow the instruction.
This is a toolbox to build a combined initramfs and main init process.
During early user space, it loads the modules requiered to mount the root file
system, then it runs a process of your choice which will init the system (see
examples in script dir), to finally spawns some gettys on ttys, respawning them
when they die.
coding style is c99 compact:
- indent is 2 spaces
- 80 columns
- comments use //
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
474 |
7a42d994441512f51ef00734953e94e3cb89548b |
README |
100644 |
blob |
64 |
fae48d3badf8b799435342a1a4372c319facc1af |
TODO |
100644 |
blob |
1077 |
eedbc290c56bbf0d0be576c5fcae5f15a7642290 |
conf.mk |
100644 |
blob |
715 |
736621ea6373728f5ea091cf7f0705225b93f7b6 |
globals.h |
100644 |
blob |
5046 |
3989b586f4c49cf5c07d69a9088228f0c0b2028d |
init.c |
100644 |
blob |
3400 |
2eebf4f8ecff7c8a054f0d18bc715b62866e2ad0 |
makefile |
100644 |
blob |
1714 |
b701806637f3779cd8697b53f6533ef5d9c8f80e |
modules.c |
100644 |
blob |
406 |
f5e162a64baf80fef122ef374b138aa50fc4158b |
modules.h |
100644 |
blob |
3264 |
d0b3b3d53097117b7919f5b35936ad6f44a44dd0 |
ramfs.c |
100644 |
blob |
403 |
4e38d9f1f1c8c5235493322737469627277f86c4 |
ramfs.h |
040000 |
tree |
- |
05675bc0e91096e2d9be441909dd301c49e7f6d2 |
script |
100644 |
blob |
3358 |
6c62952dc3479ba202b797f412a2f203d58ca52b |
uevent.c |
100644 |
blob |
416 |
867f22d10d93effd2a58227deded6274f63ebcfd |
uevent.h |
100644 |
blob |
4158 |
cef85f6fdac6d626135a76df290eb774056b9532 |
uevents.c |
100644 |
blob |
463 |
233e58ec60a14a4fd0d984fb96fb70326ddb0654 |
uevents.h |
040000 |
tree |
- |
2c408b1f2db0904b4a75faa48e2a0904eccd626b |
ulinux |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/cinitramfs
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/cinitramfs
Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/cinitramfs
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main