diff options
Diffstat (limited to 'packages/maemo')
-rwxr-xr-x[-rw-r--r--] | packages/maemo/gconf-osso/gconf-daemon-dbus-oe.sh | 0 | ||||
-rw-r--r-- | packages/maemo/nokia770-init/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/maemo/nokia770-init/fixup-770.sh | 17 | ||||
-rw-r--r-- | packages/maemo/nokia770-init_1.0.bb | 38 | ||||
-rw-r--r-- | packages/maemo/osso-core-config_200515.1.bb | 8 | ||||
-rw-r--r-- | packages/maemo/osso-esd_0.5.bb | 2 |
6 files changed, 57 insertions, 8 deletions
diff --git a/packages/maemo/gconf-osso/gconf-daemon-dbus-oe.sh b/packages/maemo/gconf-osso/gconf-daemon-dbus-oe.sh index 90dfdb7eb0..90dfdb7eb0 100644..100755 --- a/packages/maemo/gconf-osso/gconf-daemon-dbus-oe.sh +++ b/packages/maemo/gconf-osso/gconf-daemon-dbus-oe.sh diff --git a/packages/maemo/nokia770-init/.mtn2git_empty b/packages/maemo/nokia770-init/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/maemo/nokia770-init/.mtn2git_empty 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 <florian@kernelconcepts.de" +PR = "r1" + +DEPENDS = "base-passwd hotplug-dbus" + +SRC_URI = "file://fixup-770.sh" + +FILES_${PN} = "${sysconfdir} ${libdir}" + +inherit update-rc.d + + +INITSCRIPT_NAME = "fixup-770.sh" +INITSCRIPT_PARAMS = "defaults 01" + + +do_install () { + install -d ${D}${sysconfdir}/init.d + install -m 755 ${S}/fixup-770.sh ${D}/${sysconfdir}/init.d/fixup-770.sh + + install -d ${D}/lib/firmware +} + +pkg_postinst () { +#!/bin/sh + +# can't do adduser stuff offline +if [ "x$D" != "x" ]; then + exit 1 +fi + +# set up some links to firmware and modules in initrd + ln -sf /mnt/initfs/lib/firmware/* /lib/firmware/ + + rm -rf /lib/modules + ln -s /mnt/initfs/lib/modules /lib/modules +} diff --git a/packages/maemo/osso-core-config_200515.1.bb b/packages/maemo/osso-core-config_200515.1.bb index e82e5f092d..42281314ac 100644 --- a/packages/maemo/osso-core-config_200515.1.bb +++ b/packages/maemo/osso-core-config_200515.1.bb @@ -1,6 +1,6 @@ LICENSE = "unknown" MAINTAINER = "Florian Boor <florian@kernelconcepts.de" -PR = "r5" +PR = "r6" DEPENDS = "base-passwd osso-af-startup" RDEPENDS = "base-passwd osso-af-startup" @@ -40,10 +40,4 @@ mkdir -p $MAEMOHOME/MyDocs || true adduser --system --home "$MAEMOHOME" --no-create-home --disabled-password --ingroup "$MAEMOUSER" "$MAEMOUSER" chown -R "$MAEMOUSER"."$MAEMOUSER" "$MAEMOHOME" 2>/dev/null chgrp "$MAEMOUSER" "$MAEMOHOME" 2>/dev/null -# set up some links to firmware and modules in initrd - -mkdir -p /lib/firmware -ln -sf /mnt/initfs/lib/firmware/* /lib/firmware/ -rm -rf /lib/modules -ln -s /mnt/initfs/lib/modules /lib/modules } diff --git a/packages/maemo/osso-esd_0.5.bb b/packages/maemo/osso-esd_0.5.bb index e2710c4a0b..ac8f7284ef 100644 --- a/packages/maemo/osso-esd_0.5.bb +++ b/packages/maemo/osso-esd_0.5.bb @@ -2,7 +2,7 @@ PR = "r0" LICENSE = "GPL" MAINTAINER = "Florian Boor <florian@kernelconcepts.de>" PROVIDES = "esd" -RPROVIDES = "esd" +RPROVIDES_${PN} = "esd" DEPENDS = "audiofile osso-dsp-headers" |