From 9f85179b7fd706ddc9b5386dfae3514f16ca26f9 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Tue, 5 Jan 2010 23:56:23 +0100 Subject: Start moving from klibc to glibc+busybox Remove klibc-isms from base and init (except kinit, which will be done in a later commit) Install busybox to the initramfs and change /init so it can be used with busybox --- init | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'init') diff --git a/init b/init index 8885b39..e77a0dc 100644 --- a/init +++ b/init @@ -1,11 +1,13 @@ -#!/bin/sh +#!/bin/busybox ash +# Mount /proc so busybox can access /proc/self/exe +/bin/busybox mount -t proc proc /proc +# Install busybox's applets as symlinks +/bin/busybox --install -s . /init_functions msg ":: Loading Initramfs" - /bin/mount -t sysfs none /sys -/bin/mount -t proc none /proc read CMDLINE