diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2015-06-09 11:06:47 +0100 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2015-06-09 11:06:47 +0100 |
commit | b57c098ca0561ff39aa70b3fe2c795b7a0108717 (patch) | |
tree | 63837d4fcc9f4f3597b6dfffd3993aa31a397da5 |
Add files needed for ramdisk creationHEADarmlt-20180812-001armlt-20171110-001armlt-20170810-001armlt-20170809-001armlt-20170808-001armlt-20170727-001armlt-20170714-001armlt-20170607-001armlt-20170424-001armlt-20170412-001armlt-20170206-001armlt-20170116-001armlt-20170110-001armlt-20161212-001armlt-20161208-003armlt-20161117-001armlt-20161018-001armlt-20161012-001armlt-20160926-001armlt-20160917-001armlt-20160916-001armlt-20160907-001armlt-20160906-002armlt-20160906-001armlt-20160809-001armlt-20160803-001armlt-20160720-001armlt-20160714-001armlt-20160622-001armlt-20160518-002armlt-20160518-001armlt-20160512-002armlt-20160512-001armlt-20160322-001armlt-20160222armlt-20160212-001armlt-20160122armlt-20150724-001armlt-20150720-001armlt-20150609armlt-17.04armlt-17.01armlt-16.12armlt-16.11armlt-16.10armlt-16.09-003armlt-16.09-001armlt-16.09armlt-16.08armlt-16.07-001armlt-16.07armlt-16.06armlt-16.05armlt-16.04armlt-16.03armlt-15.12armlt-15.11armlt-15.10armlt-15.09armlt-15.08armlt-15.07armlt-15.06N1SDP-ALPHA1-19.0420160908-00120160907-00320160907-00216.04master18.0716.0816.0716.06
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | files.txt | 15 | ||||
-rwxr-xr-x | init.sh | 41 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d3cd217 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +busybox +*.img diff --git a/files.txt b/files.txt new file mode 100644 index 0000000..997342e --- /dev/null +++ b/files.txt @@ -0,0 +1,15 @@ +dir /dev 755 0 0 +nod /dev/console 644 0 0 c 5 1 +nod /dev/loop0 644 0 0 b 7 0 +dir /bin 755 1000 1000 +file /bin/busybox ./busybox 755 0 0 +slink /bin/sh /bin/busybox 777 0 0 +slink /linuxrc /bin/busybox 777 0 0 +dir /proc 755 0 0 +dir /sys 755 0 0 +dir /mnt 755 0 0 +dir /usr 755 0 0 +dir /sbin 755 0 0 +dir /usr/bin 755 0 0 +dir /usr/sbin 755 0 0 +file /init ./init.sh 777 0 0 @@ -0,0 +1,41 @@ +#!/bin/sh + +# Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# Redistributions of source code must retain the above copyright notice, this +# list of conditions and the following disclaimer. +# +# Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# Neither the name of ARM nor the names of its contributors may be used +# to endorse or promote products derived from this software without specific +# prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +#Mount things needed by this script +/bin/busybox mount -t proc proc /proc +/bin/busybox mount -t sysfs sysfs /sys +echo "init.sh" + +#Create all the symlinks to /bin/busybox +/bin/busybox --install -s + +mdev -s + +exec sh |