From abaa655d4acf0e019a922b58543b34b37d6c0321 Mon Sep 17 00:00:00 2001 From: Ivan Davidov Date: Sat, 23 Aug 2014 21:23:44 +0300 Subject: [PATCH] =?UTF-8?q?=E2=80=A2=20The=20kernel=20is=20now=20"3.16.1".?= =?UTF-8?q?=20=E2=80=A2=20Some=20additional=20minor=20improvements.=20Most?= =?UTF-8?q?=20notable=20change=20-=20the=20'init'=20script=20is=20generate?= =?UTF-8?q?d=20by=20using=20cat=20+=20here.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note - all changes, including the latest few merges are *not* tested yet. TODO 1 - test all changes since the last release and prepare new release if there are no issues. TODO 2 - create new tutorial document based on the latest scripts (optional, if there is free time). --- src/.config | 2 +- src/5_generate_rootfs.sh | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/.config b/src/.config index e06a644ce..c74df5ea2 100644 --- a/src/.config +++ b/src/.config @@ -2,7 +2,7 @@ # # http://kernel.org # -KERNEL_SOURCE_URL=https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.16.tar.xz +KERNEL_SOURCE_URL=https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.16.1.tar.xz # You can find the latest BusyBox source bundles here: # diff --git a/src/5_generate_rootfs.sh b/src/5_generate_rootfs.sh index 76b725862..f820a0f27 100644 --- a/src/5_generate_rootfs.sh +++ b/src/5_generate_rootfs.sh @@ -25,10 +25,12 @@ cd etc cat > bootscript.sh << EOF #!/bin/sh + dmesg -n 1 mount -t devtmpfs none /dev mount -t proc none /proc mount -t sysfs none /sys + EOF chmod +x bootscript.sh @@ -55,12 +57,18 @@ tty3::once:cat /etc/welcome.txt tty3::respawn:/bin/sh tty4::once:cat /etc/welcome.txt tty4::respawn:/bin/sh + EOF cd .. -echo '#!/bin/sh' >> init -echo 'exec /sbin/init' >> init +cat > init << EOF +#!/bin/sh + +exec /sbin/init + +EOF + chmod +x init cp ../../*.sh src