List of commits:
Subject Hash Author Date (UTC)
some minor cleanup b47f5ef4f6dff33c88943b9a175ae90fc9a02332 Sylvain BERTRAND 2014-12-08 16:47:05
some cleanup 2cf8ba8e82181b954891d688c5bf3ed51dede5ff Sylvain BERTRAND 2014-12-02 02:22:24
Massive refactoring. Support live/mobile linux OSes. dd09f40ecd7ec40b6745bafbbba0743ecafe4bdf Sylvain BERTRAND 2014-12-02 02:04:37
use kernel version for initramfs 2762a46a6eb9d9f3a63a8b69f5e826b89d1a46e9 Sylvain BERTRAND 2014-08-19 16:42:19
enforce kernel version setting, binfmt_script f0aaf75a34bd2b4fdb84bea6bd572ff5b715fd2b Sylvain BERTRAND 2013-09-11 00:41:45
Create LICENSE.md 73147c4952cdeee9ad96fe447c543ffbf6ab494a Sylvain BERTRAND 2013-07-17 19:00:49
scsi_wait_scan is gone from upstream d7bc928da1caea553b1279d131596344df93273f Sylvain BERTRAND 2012-12-19 16:24:37
wrong init place abf8267b4a36f1385facf5a4752746c121914674 root 2012-07-05 00:35:09
adapt sample script for devtmpfs 983e8e944dae73846c5e0ea5ab26726851073dec root 2012-03-28 14:47:01
must up the ethernet interface 79bd84790e904ce471101762a35dbd280bb2673f root 2012-02-02 18:30:24
init have more children than gettys 57f4231ffd8e97b7511226bfc4f058e0814a4e8e Sylvain BERTRAND 2012-01-31 13:10:32
clean sigprogmask for children 89a379820196e9a4de7d6bf38ec49a679f9de917 Sylvain BERTRAND 2012-01-31 12:52:11
ready to be used 51f3d5adedf51ab5b47a61724035141bcbb71354 Sylvain BERTRAND 2012-01-30 15:27:56
ready, now need to know why init libc is crashing 39e165e544af1632e0d1926a686173e8b7543bdd Sylvain BERTRAND 2011-12-30 02:35:57
uevents cleanup 082938475c119d68ce5def18a1c21f69c596b1a1 Sylvain BERTRAND 2011-12-26 23:32:00
uevent monitor to ulinux patterns e9e2e03953d3a28e08aeb3a7388b334cda8a8479 Sylvain BERTRAND 2011-12-26 22:38:45
modules properly loaded ac79794945662bad9e97562c479dea5afe455687 Sylvain BERTRAND 2011-12-26 22:08:54
ulinux patterns: insert a kernel module ed879829ce6c44b77bddcd9c106a106261f47301 Sylvain BERTRAND 2011-12-26 21:29:33
ulinux dir_parse pattern 63cc7acc186efc291a76255e97d86e80901174e5 Sylvain BERTRAND 2011-12-26 02:24:55
ulinux improvements and more patterns a458c52301d3a34e8b51794fea7c1cb06c1c34f8 Sylvain BERTRAND 2011-12-22 22:09:06
Commit b47f5ef4f6dff33c88943b9a175ae90fc9a02332 - some minor cleanup
Author: Sylvain BERTRAND
Author date (UTC): 2014-12-08 16:47
Committer name: Sylvain BERTRAND
Committer date (UTC): 2014-12-08 16:47
Parent(s): 2cf8ba8e82181b954891d688c5bf3ed51dede5ff
Signing key:
Tree: 71fd0eafa9c293915706a6de5a70c1e5083af11e
File Lines added Lines deleted
DEPENDENCIES 2 0
make 0 3
script/example_init.sh 0 95
script/example_shutdown.sh 0 14
File DEPENDENCIES changed (mode: 100644) (index d8302ad..3b1926a)
11 11 * ELF libs indirect dependencies * ELF libs indirect dependencies
12 12 - linux development files: - linux development files:
13 13 * the cpio generator compiled for the host * the cpio generator compiled for the host
14 - the xz compression binary
15 - many "standard" shell commands
File make changed (mode: 100755) (index bce2c17..9f4bb09)
... ... Standard options:
152 152 --lib-path-list=LIB_PATH_LIST colon separated paths to look for target libraries --lib-path-list=LIB_PATH_LIST colon separated paths to look for target libraries
153 153 --uevents-timeout=UEVENTS_TIMEOUT uevents timeout in ms looking up for root block device to go online [$uevents_timeout] --uevents-timeout=UEVENTS_TIMEOUT uevents timeout in ms looking up for root block device to go online [$uevents_timeout]
154 154 --quiet init will be silenced (output code compiled out) --quiet init will be silenced (output code compiled out)
155 --no-tty init won't respawn login processes on ttys
156 155 --linux-src-dir=DIR where to find the target linux source tree [$linux_src_dir_default] --linux-src-dir=DIR where to find the target linux source tree [$linux_src_dir_default]
157 156 --kernel-release=RELEASE the linux releases version [$kernel_release] --kernel-release=RELEASE the linux releases version [$kernel_release]
158 157 --kernel-modules-base-dir=DIR the base dir for linux modules and support files [$kernel_modules_base_dir] --kernel-modules-base-dir=DIR the base dir for linux modules and support files [$kernel_modules_base_dir]
 
... ... for opt do
182 181 ;; ;;
183 182 --quiet) CPPFLAGS="$CPPFLAGS -DQUIET" --quiet) CPPFLAGS="$CPPFLAGS -DQUIET"
184 183 ;; ;;
185 --no_tty) CPPFLAGS="$CPPFLAGS -DNO_TTY"
186 ;;
187 184 *) *)
188 185 optname=${opt%%=*} optname=${opt%%=*}
189 186 optname=${optname#--} optname=${optname#--}
File script/example_init.sh deleted (index 225da95..0000000)
1 #!/bin/sh -l
2
3 /bin/mount -o nosuid,nodev,noexec,relatime -t proc proc /proc
4 /bin/mount -o nosuid,nodev,noexec,relatime -t sysfs sysfs /sys
5
6 #-------------------------------------------------------------------------------
7 #mount /dev
8 /bin/mount -o exec,nosuid,relatime,size=10M,mode=0755 -t devtmpfs udev /dev
9
10 /bin/mkdir -m 0755 -p /dev/pts
11 /bin/mount -o relatime,gid=5,mode=0620 -t devpts devpts /dev/pts
12
13 #may be useless
14 /bin/mkdir -m 1777 -p /dev/shm
15 /bin/mount -o nosuid,nodev,noexec,relatime -t tmpfs shm /dev/shm
16 #-------------------------------------------------------------------------------
17
18 /bin/mount -o nosuid,nodev,relatime,mode=0755 -t tmpfs tmpfs /run
19 /bin/rm -Rf /tmp/*
20 /bin/hostname "freedom"
21
22 #-------------------------------------------------------------------------------
23 #udev
24 /sbin/modprobe unix
25 /bin/rm -Rf /run/udev
26 echo "" >/sys/kernel/uevent_helper
27 /lib/udev/udevd --daemon
28 /sbin/udevadm trigger --type=subsystems --action=add
29 /sbin/udevadm trigger --type=devices --action=add
30
31 #those modules need /dev nodes
32 /sbin/modprobe rtc-cmos
33 /sbin/modprobe radeon
34 /sbin/modprobe fbcon
35
36 /sbin/udevadm settle
37 #-------------------------------------------------------------------------------
38
39 #-------------------------------------------------------------------------------
40 #network
41 /sbin/modprobe sch-dsmark
42 /sbin/ip addr add 127.0.0.1/8 dev lo
43 /sbin/ip addr add 192.168.1.2/24 dev eth0
44 /sbin/ip link set dev lo up
45 /sbin/ip link set dev eth0 up
46 #-------------------------------------------------------------------------------
47
48 #-------------------------------------------------------------------------------
49 #CPUs
50 /sbin/modprobe -r microcode
51 /sbin/modprobe microcode
52 /sbin/modprobe powernow-k8
53 /usr/bin/cpufreq-set --related --governor ondemand
54 #-------------------------------------------------------------------------------
55
56 #-------------------------------------------------------------------------------
57 /sbin/hwclock --utc --hctosys
58 #-------------------------------------------------------------------------------
59
60 /usr/sbin/alsactl restore
61
62 #-------------------------------------------------------------------------------
63 #block scheduler
64 /sbin/modprobe cfq-iosched
65 echo "cfq" > /sys/block/sda/queue/scheduler
66 #-------------------------------------------------------------------------------
67
68 /sbin/swapon -a
69 /sbin/sysctl
70
71 #-------------------------------------------------------------------------------
72 #console terminal setup
73 printf "\033%s" "%G" >/dev/tty1
74 /usr/bin/kbd_mode -u -C /dev/tty1
75 printf "\033%s" "%G" >/dev/tty2
76 /usr/bin/kbd_mode -u -C /dev/tty2
77 printf "\033%s" "%G" >/dev/tty3
78 /usr/bin/kbd_mode -u -C /dev/tty3
79 /usr/bin/loadkeys -q dvorak
80 #-------------------------------------------------------------------------------
81
82 #-------------------------------------------------------------------------------
83 #utmp/wtmp
84 : >/var/run/utmp
85 /bin/chgrp utmp /var/run/utmp 2>/dev/null
86 /bin/chmod 0664 /var/run/utmp
87 if test ! -e /var/log/wtmp; then
88 : >/var/log/wtmp
89 /bin/chgrp utmp /var/log/wtmp 2>/dev/null
90 /bin/chmod 0664 /var/log/wtmp
91 fi
92 #-------------------------------------------------------------------------------
93
94 /usr/sbin/syslog-ng
95 /usr/sbin/fcron
File script/example_shutdown.sh deleted (index 4a454a3..0000000)
1 #!/bin/sh
2 /sbin/dhcpcd --exit
3 /usr/bin/pkill --pidfile /var/run/syslog-ng.pid
4 /usr/sbin/alsactl store
5 /sbin/hwclock --utc --systohc
6
7 /bin/sync
8 if test "$(basename $0)" = "reboot.sh"; then
9 /sbin/reboot -f
10 fi
11
12 if test "$(basename $0)" = "poweroff.sh"; then
13 /sbin/poweroff -f
14 fi
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