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