diff options
author | Joshua Lock <josh@linux.intel.com> | 2008-11-05 14:46:10 +0000 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2008-11-05 14:46:10 +0000 |
commit | f667a067ba805f26418a6684ea52bc7d90bde0d8 (patch) | |
tree | 2d1fe4dcdd60946f3532f869facbd8cecfc2f441 | |
parent | 47e825a2c4af2df24b0ffcb9182d4ac98ab74c3d (diff) | |
parent | 6e7061263e65601c82f37eb5d4ca5cc3b7876df6 (diff) | |
download | openembedded-core-f667a067ba805f26418a6684ea52bc7d90bde0d8.tar.gz openembedded-core-f667a067ba805f26418a6684ea52bc7d90bde0d8.tar.bz2 openembedded-core-f667a067ba805f26418a6684ea52bc7d90bde0d8.tar.xz openembedded-core-f667a067ba805f26418a6684ea52bc7d90bde0d8.zip |
Merge branch 'master' of ssh://git@git.moblin.org/poky
-rw-r--r-- | meta/packages/initrdscripts/files/init-boot.sh | 8 | ||||
-rw-r--r-- | meta/packages/initrdscripts/initramfs-boot_1.0.bb | 12 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/packages/initrdscripts/files/init-boot.sh b/meta/packages/initrdscripts/files/init-boot.sh new file mode 100644 index 000000000..9d804fc3a --- /dev/null +++ b/meta/packages/initrdscripts/files/init-boot.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +mkdir /proc +mkdir /sys +mount -t proc proc /proc +mount -t sysfs sysfs /sys + +exec sh diff --git a/meta/packages/initrdscripts/initramfs-boot_1.0.bb b/meta/packages/initrdscripts/initramfs-boot_1.0.bb new file mode 100644 index 000000000..de3f932c8 --- /dev/null +++ b/meta/packages/initrdscripts/initramfs-boot_1.0.bb @@ -0,0 +1,12 @@ +DESCRIPTON = "A live image init script" + +SRC_URI = "file://init-boot.sh" + +PR = "r0" + +do_install() { + install -m 0755 ${WORKDIR}/init-boot.sh ${D}/init +} + +PACKAGE_ARCH = "all" +FILES_${PN} += " /init " |