From: Florian Boor Date: Mon, 4 Jul 2005 21:25:25 +0000 (+0000) Subject: Add package to do some initialisation and fixups like unmounting stuff X-Git-Tag: Release-2010-05/1~9453^2~4234 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fefbe57202cc684e99dc408842f38906facc590;p=openembedded.git Add package to do some initialisation and fixups like unmounting stuff from initrd and create some useful links. --- diff --git a/packages/maemo/nokia770-init/.mtn2git_empty b/packages/maemo/nokia770-init/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/maemo/nokia770-init/fixup-770.sh b/packages/maemo/nokia770-init/fixup-770.sh new file mode 100644 index 0000000000..02c18d4108 --- /dev/null +++ b/packages/maemo/nokia770-init/fixup-770.sh @@ -0,0 +1,17 @@ +#! /bin/sh +case "$1" in + start) + echo -n "Unmounting virtual fs from initrd" + umount /mnt/initfs/sys + umount /mnt/initfs/proc + ;; + stop) + ;; + *) + echo "Usage: $SCRIPTNAME {start|stop}" >&2 + exit 1 + ;; +esac + +exit 0 + \ No newline at end of file diff --git a/packages/maemo/nokia770-init_1.0.bb b/packages/maemo/nokia770-init_1.0.bb new file mode 100644 index 0000000000..1cef924598 --- /dev/null +++ b/packages/maemo/nokia770-init_1.0.bb @@ -0,0 +1,38 @@ +LICENSE = "GPL" +MAINTAINER = "Florian Boor