summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-09-17 21:53:11 +0200
committerKoen Kooi <koen@openembedded.org>2009-09-17 21:53:11 +0200
commit2d899b917c23141945ad34f52b3fd80f93f105fb (patch)
treeecc965c7414892cecb75006a86c5c447f7e59c32
parent62b5c01bde0a1e5769ab4dba184be51d2907933a (diff)
parentd56ffbe90a9e19915f7bbe1de559438946daa916 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
-rw-r--r--conf/distro/include/shr-autorev-unstable.inc128
-rw-r--r--conf/distro/include/shr-autorev.inc140
-rw-r--r--recipes/efl1/e-wm-illume-dict-pl_git.bb15
-rw-r--r--recipes/efl1/illume-keyboard-arabic_git.bb11
-rw-r--r--recipes/efl1/illume-keyboard-browse_git.bb19
-rw-r--r--recipes/efl1/illume-keyboard-danish_git.bb11
-rw-r--r--recipes/efl1/illume-keyboard-default-alt_git.bb11
-rw-r--r--recipes/efl1/illume-keyboard-dutch_git.bb21
-rw-r--r--recipes/efl1/illume-keyboard-dvorak_git.bb11
-rw-r--r--recipes/efl1/illume-keyboard-french_git.bb10
-rw-r--r--recipes/efl1/illume-keyboard-german_git.bb11
-rw-r--r--recipes/efl1/illume-keyboard-hebrew_git.bb11
-rw-r--r--recipes/efl1/illume-keyboard-numeric-alt_git.bb18
-rw-r--r--recipes/efl1/illume-keyboard-russian-terminal_git.bb9
-rw-r--r--recipes/efl1/illume-keyboard-russian_git.bb11
-rw-r--r--recipes/efl1/illume-keyboard.inc14
-rw-r--r--recipes/shr/alsa-scenarii-shr_git.bb25
-rw-r--r--recipes/shr/e-wm-menu-shr_git.bb18
-rw-r--r--recipes/shr/e-wm-sysactions-shr_git.bb21
-rw-r--r--recipes/shr/e-wm-theme-illume-niebiee_git.bb23
-rw-r--r--recipes/shr/e-wm-theme-illume-shr_git.bb23
-rw-r--r--recipes/shr/e-wm-theme-illume-sixteen_git.bb23
-rw-r--r--recipes/shr/elementary-theme-niebiee_git.bb21
-rw-r--r--recipes/shr/elementary-theme-sixteen_git.bb23
-rw-r--r--recipes/shr/etk-theme-shr_git.bb22
-rw-r--r--recipes/shr/initscripts-shr/alignment.sh6
-rw-r--r--recipes/shr/initscripts-shr/bootmisc.sh47
-rw-r--r--recipes/shr/initscripts-shr/checkroot.sh45
-rw-r--r--recipes/shr/initscripts-shr/devpts5
-rw-r--r--recipes/shr/initscripts-shr/finish.sh7
-rw-r--r--recipes/shr/initscripts-shr/functions17
-rw-r--r--recipes/shr/initscripts-shr/g_ether.sh93
-rw-r--r--recipes/shr/initscripts-shr/halt25
-rw-r--r--recipes/shr/initscripts-shr/hostname.sh11
-rw-r--r--recipes/shr/initscripts-shr/mountall.sh52
-rw-r--r--recipes/shr/initscripts-shr/mountdevsubfs.sh14
-rw-r--r--recipes/shr/initscripts-shr/mountkernfs.sh33
-rw-r--r--recipes/shr/initscripts-shr/mountnfs.sh87
-rw-r--r--recipes/shr/initscripts-shr/populate-volatile.sh248
-rw-r--r--recipes/shr/initscripts-shr/reboot11
-rw-r--r--recipes/shr/initscripts-shr/rmnologin14
-rw-r--r--recipes/shr/initscripts-shr/save-rtc.sh5
-rw-r--r--recipes/shr/initscripts-shr/sendsigs17
-rw-r--r--recipes/shr/initscripts-shr/umountfs18
-rw-r--r--recipes/shr/initscripts-shr/umountnfs.sh28
-rw-r--r--recipes/shr/initscripts-shr/volatiles40
-rw-r--r--recipes/shr/initscripts-shr_git.bb107
-rw-r--r--recipes/shr/libphone-utils_git.bb12
48 files changed, 1592 insertions, 0 deletions
diff --git a/conf/distro/include/shr-autorev-unstable.inc b/conf/distro/include/shr-autorev-unstable.inc
new file mode 100644
index 0000000000..5e7a0ddfa3
--- /dev/null
+++ b/conf/distro/include/shr-autorev-unstable.inc
@@ -0,0 +1,128 @@
+
+# SHR - override revs for shr-unstable
+
+
+# KERNEL
+SRCREV_pn-linux-openmoko-shr-devel = "${AUTOREV}"
+
+PREFERRED_VERSION_vala-native = "0.7.4+0.7.5-fso2"
+
+
+# FSO stuff
+SRCREV_pn-dbus-hlid = "${AUTOREV}"
+SRCREV_pn-frameworkd = "${AUTOREV}"
+SRCREV_pn-frameworkd-config-shr = "${AUTOREV}"
+SRCREV_pn-frameworkd-config-shr_FSO_REV = "${AUTOREV}"
+SRCREV_pn-frameworkd-config-shr_SHR_REV = "${AUTOREV}"
+SRCREV_pn-fsod = "${AUTOREV}"
+SRCREV_pn-fsodeviced = "${AUTOREV}"
+SRCREV_pn-fsonetworkd = "${AUTOREV}"
+SRCREV_pn-fsousaged = "${AUTOREV}"
+SRCREV_pn-fsoraw = "${AUTOREV}"
+SRCREV_pn-fso-abyss = "${AUTOREV}"
+SRCREV_pn-fso-apm = "${AUTOREV}"
+SRCREV_pn-fso-term = "${AUTOREV}"
+SRCREV_pn-fso-gsm0710muxd = "${AUTOREV}"
+SRCREV_pn-fso-gpsd = "${AUTOREV}"
+SRCREV_pn-fso-monitord = "${AUTOREV}"
+SRCREV_pn-fso-sounds = "${AUTOREV}"
+SRCREV_pn-fso-specs = "${AUTOREV}"
+SRCREV_pn-fso-term = "${AUTOREV}"
+SRCREV_pn-gsmd2 = "${AUTOREV}"
+SRCREV_pn-illume-theme-freesmartphone = "${AUTOREV}"
+SRCREV_pn-libascenario = "${AUTOREV}"
+SRCREV_pn-libfsobasics = "${AUTOREV}"
+SRCREV_pn-libfsoframework = "${AUTOREV}"
+SRCREV_pn-libfsotransport = "${AUTOREV}"
+SRCREV_pn-libframeworkd-glib = "${AUTOREV}"
+SRCREV_pn-libfso-glib = "${AUTOREV}"
+SRCREV_pn-libgsm0710 = "${AUTOREV}"
+SRCREV_pn-libgsm0710mux = "${AUTOREV}"
+SRCREV_pn-mickeydbus = "${AUTOREV}"
+SRCREV_pn-mickeyterm = "${AUTOREV}"
+SRCREV_pn-misc-vapi = "${AUTOREV}"
+SRCREV_pn-python-pytrc = "${AUTOREV}"
+SRCREV_pn-vala-dbus-binding-tool-native = "6071da6ad645e1200eb2aee88d254ada348d361b"
+SRCREV_pn-vala = "${AUTOREV}"
+SRCREV_pn-zhone = "${AUTOREV}"
+
+
+# SHR stuff
+SRCREV_pn-libhito = "${AUTOREV}"
+SRCREV_pn-neod = "${AUTOREV}"
+SRCREV_pn-shr-settings = "${AUTOREV}"
+SRCREV_pn-ophonekitd = "${AUTOREV}"
+SRCREV_pn-ophonekitd-vala = "${AUTOREV}"
+SRCREV_pn-libmodulo = "${AUTOREV}"
+SRCREV_pn-shr-messages = "${AUTOREV}"
+SRCREV_pn-shr-contacts = "${AUTOREV}"
+SRCREV_pn-shr-dialer = "${AUTOREV}"
+SRCREV_pn-libframeworkd-phonegui = "${AUTOREV}"
+SRCREV_pn-libframeworkd-phonegui-efl = "${AUTOREV}"
+SRCREV_pn-libframeworkd-phonegui-efl2 = "${AUTOREV}"
+SRCREV_pn-libframeworkd-phonegui-gtk = "${AUTOREV}"
+SRCREV_pn-libframeworkd-phonegui-gtk2 = "${AUTOREV}"
+SRCREV_pn-opimd-utils = "${AUTOREV}"
+SRCREV_pn-pyphonelog = "${AUTOREV}"
+SRCREV_pn-shr-theme = "${AUTOREV}"
+SRCREV_pn-shr-theme-brave = "${AUTOREV}"
+SRCREV_pn-shr-theme-gtk-e17lookalike = "${AUTOREV}"
+SRCREV_pn-shr-splash = "${AUTOREV}"
+SRCREV_pn-shr-splash-theme-simple = "${AUTOREV}"
+SRCREV_pn-shr-splash-theme-dontpanic = "${AUTOREV}"
+SRCREV_pn-shr-splash-theme-handy = "${AUTOREV}"
+SRCREV_pn-shr-splash-theme-dociswatchingyou = "${AUTOREV}"
+SRCREV_pn-shr-installer = "${AUTOREV}"
+SRCREV_pn-shr-config = "${AUTOREV}"
+SRCREV_pn-alsa-scenarii-shr = "${AUTOREV}"
+SRCREV_pn-libphone-utils = "${AUTOREV}"
+SRCREV_pn-python-phoneutils = "${AUTOREV}"
+
+
+# E17 stuff
+EFL_SRCREV = "41040"
+SRCREV_pn-python-elementary = "41040"
+SRCREV_pn-e-wm-config-illume-shr = "${AUTOREV}"
+SRCREV_pn-e-wm-sysactions-shr = "${AUTOREV}"
+SRCREV_pn-e-wm-theme-illume-shr = "${AUTOREV}"
+SRCREV_pn-e-wm-theme-illume-sixteen = "${AUTOREV}"
+SRCREV_pn-elementary-theme-sixteen = "${AUTOREV}"
+SRCREV_pn-e-wm-menu-shr = "${AUTOREV}"
+SRCREV_pn-e-wm-illume-dict-pl = "${AUTOREV}"
+SRCREV_pn-etk-theme-shr = "${AUTOREV}"
+SRCREV_pn-libeflvala = "${AUTOREV}"
+
+SRCREV_pn-illume-keyboard-german = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-arabic = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-browse = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-danish = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-default-alt = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-dutch = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-dvorak = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-french = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-hebrew = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-numeric-alt = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-russian-terminal = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-russian = "${AUTOREV}"
+
+# Other stuff
+SRCREV_pn-navit = "${AUTOREV}"
+SRCREV_pn-omview = "${AUTOREV}"
+SRCREV_pn-pythm = "${AUTOREV}"
+SRCREV_pn-omoney = "29"
+SRCREV_pn-enotes = "19"
+SRCREV_pn-ebrainy = "${AUTOREV}"
+SRCREV_pn-boost-signals2 = "52299"
+SRCREV_pn-dbus-c++-native = "${AUTOREV}"
+SRCREV_pn-dbus-c++ = "${AUTOREV}"
+SRCREV_pn-openmoocow = "${AUTOREV}"
+SRCREV_pn-libmokoui2 = "4695"
+SRCREV_pn-intone = "${AUTOREV}"
+SRCREV_pn-connman = "aac35324deb8c0b57f881338d87cb36b0979e7df"
+SRCREV_pn-msn-pecan = "${AUTOREV}"
+SRCREV_pn-omgps = "${AUTOREV}"
+SRCREV_pn-shr-launcher = "${AUTOREV}"
+SRCREV_pn-e-tasks = "${AUTOREV}"
+SRCREV_pn-mokonnect = "${AUTOREV}"
+SRCREV_pn-elmdentica = "${AUTOREV}"
+SRCREV_pn-vala-terminal = "${AUTOREV}"
diff --git a/conf/distro/include/shr-autorev.inc b/conf/distro/include/shr-autorev.inc
new file mode 100644
index 0000000000..1605e8607a
--- /dev/null
+++ b/conf/distro/include/shr-autorev.inc
@@ -0,0 +1,140 @@
+# SHR conf file
+
+# We need to override some machine stuff as well; include the machine-
+# specific file here (if it exists).
+#include conf/distro/include/shr-${MACHINE}.conf
+
+# Nail down some SRCREV's for the kernels. There is a real potential problem
+# here, in that git hashes are hashes, not incrementing version numbers. Thus
+# we need to have something else in the kernel version string that gets bumped
+# with each change. So if you change one of these, go to the kernel recipe
+# and bump the OEV value up as well.
+SRCREV_pn-linux-eten = "df9715883efa3e6a88866813168fabb1c16b0b7a"
+SRCREV_pn-linux-openmoko-shr-devel = "2d158aae9d8d36f575504f59884ed8e80802efe2"
+
+# FSO stuff
+SRCREV_pn-dbus-hlid = "39e804f28808247df2573788cb99897d4d765e69"
+SRCREV_pn-frameworkd = "e96a204768744130859ab091162ec5c976854d49"
+SRCREV_pn-frameworkd-config-shr = "${AUTOREV}"
+SRCREV_pn-frameworkd-config-shr_FSO_REV = "e96a204768744130859ab091162ec5c976854d49"
+SRCREV_pn-frameworkd-config-shr_SHR_REV = "${AUTOREV}"
+SRCREV_pn-fsod = "${AUTOREV}"
+SRCREV_pn-fsodeviced = "${AUTOREV}"
+SRCREV_pn-fsonetworkd = "${AUTOREV}"
+SRCREV_pn-fsousaged = "3c3e1b862cdde806cef8f502dfe79f1d48f1c5d7"
+SRCREV_pn-fsoraw = "${AUTOREV}"
+SRCREV_pn-fso-abyss = "ff68be1581069ca494a559e85f6299246888d3b5"
+SRCREV_pn-fso-apm = "${AUTOREV}"
+SRCREV_pn-fso-term = "${AUTOREV}"
+SRCREV_pn-fso-gsm0710muxd = "abcbcd7cc532a8834906de3fc24c8f8fe7643cd4"
+SRCREV_pn-fso-gpsd = "78fe48dffb923175bde9f0aabc3500a9264a57e0"
+SRCREV_pn-fso-monitord = "${AUTOREV}"
+SRCREV_pn-fso-sounds = "3a4767ec01988bd0fd8f72f0c35d6d36e5fbc815"
+SRCREV_pn-fso-specs = "${AUTOREV}"
+SRCREV_pn-fso-term = "${AUTOREV}"
+SRCREV_pn-gsmd2 = "${AUTOREV}"
+SRCREV_pn-illume-theme-freesmartphone = "${AUTOREV}"
+SRCREV_pn-libascenario = "${AUTOREV}"
+SRCREV_pn-libfsobasics = "3c3e1b862cdde806cef8f502dfe79f1d48f1c5d7"
+SRCREV_pn-libfsoframework = "3c3e1b862cdde806cef8f502dfe79f1d48f1c5d7"
+SRCREV_pn-libfsotransport = "3c3e1b862cdde806cef8f502dfe79f1d48f1c5d7"
+SRCREV_pn-libframeworkd-glib = "680276e4cddabeb1edd088ddd421f363dd106a50"
+SRCREV_pn-libfso-glib = "9d292508739452b55b80ec40ec57405a5de2159f"
+SRCREV_pn-libgsm0710 = "3bb80ba6cc9f86ed3996f88bfa2986cc572489d6"
+SRCREV_pn-libgsm0710mux = "8e3e7533b286d8086bce8fa09bce23bb9f18bb98"
+SRCREV_pn-mickeydbus = "6d7f51b5189a00a07d9b88100a565f46fcb62644"
+SRCREV_pn-mickeyterm = "6d7f51b5189a00a07d9b88100a565f46fcb62644"
+SRCREV_pn-misc-vapi = "${AUTOREV}"
+SRCREV_pn-python-pytrc = "f15ff7c58946a2fd6ba767628b2fe5d6f46ff9bb"
+SRCREV_pn-vala-dbus-binding-tool-native = "6071da6ad645e1200eb2aee88d254ada348d361b"
+SRCREV_pn-vala = "${AUTOREV}"
+SRCREV_pn-zhone = "${AUTOREV}"
+
+
+# SHR stuff
+SHRREV = "c3d97171723d8e824cb5acf58b711aa78b3b82d9"
+
+SRCREV_pn-libhito = "${AUTOREV}"
+SRCREV_pn-neod = "${AUTOREV}"
+SRCREV_pn-shr-settings = "4e0fbe17e4fddd18b0455ec4d007ab3f1d19918e"
+SRCREV_pn-ophonekitd = "${SHRREV}"
+SRCREV_pn-ophonekitd-vala = "${AUTOREV}"
+SRCREV_pn-libmodulo = "${AUTOREV}"
+SRCREV_pn-shr-messages = "${SHRREV}"
+SRCREV_pn-shr-contacts = "${SHRREV}"
+SRCREV_pn-shr-dialer = "${SHRREV}"
+SRCREV_pn-libframeworkd-phonegui = "${SHRREV}"
+SRCREV_pn-libframeworkd-phonegui-efl = "${SHRREV}"
+SRCREV_pn-libframeworkd-phonegui-efl2 = "${AUTOREV}"
+SRCREV_pn-libframeworkd-phonegui-gtk = "${AUTOREV}"
+SRCREV_pn-libframeworkd-phonegui-gtk2 = "${AUTOREV}"
+SRCREV_pn-opimd-utils = "${AUTOREV}"
+SRCREV_pn-pyphonelog = "9da559f0242a32aa5d0b72c795f53d7d9ef8c973"
+SRCREV_pn-shr-theme = "${AUTOREV}"
+SRCREV_pn-shr-theme-brave = "${AUTOREV}"
+SRCREV_pn-shr-theme-gtk-e17lookalike = "${AUTOREV}"
+SRCREV_pn-shr-splash = "${AUTOREV}"
+SRCREV_pn-shr-splash-theme-simple = "${AUTOREV}"
+SRCREV_pn-shr-splash-theme-dontpanic = "${AUTOREV}"
+SRCREV_pn-shr-splash-theme-handy = "${AUTOREV}"
+SRCREV_pn-shr-splash-theme-niebiee = "${AUTOREV}"
+SRCREV_pn-shr-installer = "${AUTOREV}"
+SRCREV_pn-shr-config = "${AUTOREV}"
+SRCREV_pn-alsa-scenarii-shr = "${AUTOREV}"
+SRCREV_pn-libphone-utils = "${AUTOREV}"
+SRCREV_pn-python-phoneutils = "${AUTOREV}"
+
+
+# E17 stuff
+EFL_SRCREV = "41040"
+SRCREV_pn-python-elementary = "41040"
+SRCREV_pn-e-wm-config-illume-shr = "${AUTOREV}"
+SRCREV_pn-e-wm-sysactions-shr = "${AUTOREV}"
+SRCREV_pn-e-wm-theme-illume-shr = "${AUTOREV}"
+SRCREV_pn-e-wm-theme-illume-sixteen = "${AUTOREV}"
+SRCREV_pn-e-wm-theme-illume-niebiee = "${AUTOREV}"
+SRCREV_pn-elementary-theme-sixteen = "${AUTOREV}"
+SRCREV_pn-elementary-theme-niebiee = "${AUTOREV}"
+SRCREV_pn-e-wm-menu-shr = "${AUTOREV}"
+SRCREV_pn-e-wm-illume-dict-pl = "${AUTOREV}"
+SRCREV_pn-etk-theme-shr = "${AUTOREV}"
+SRCREV_pn-libeflvala = "${AUTOREV}"
+
+SRCREV_pn-illume-keyboard-german = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-arabic = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-browse = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-danish = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-default-alt = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-dutch = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-dvorak = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-french = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-hebrew = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-numeric-alt = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-russian-terminal = "${AUTOREV}"
+SRCREV_pn-illume-keyboard-russian = "${AUTOREV}"
+
+
+# Other stuff
+SRCREV_pn-bt-configure = "${AUTOREV}"
+SRCREV_pn-navit = "2309"
+SRCREV_pn-omview = "${AUTOREV}"
+SRCREV_pn-pythm = "${AUTOREV}"
+SRCREV_pn-omoney = "29"
+SRCREV_pn-enotes = "19"
+SRCREV_pn-ebrainy = "${AUTOREV}"
+SRCREV_pn-boost-signals2 = "52299"
+SRCREV_pn-dbus-c++-native = "${AUTOREV}"
+SRCREV_pn-dbus-c++ = "${AUTOREV}"
+SRCREV_pn-openmoocow = "${AUTOREV}"
+SRCREV_pn-libmokoui2 = "4695"
+SRCREV_pn-intone = "${AUTOREV}"
+SRCREV_pn-connman = "aac35324deb8c0b57f881338d87cb36b0979e7df"
+SRCREV_pn-msn-pecan = "${AUTOREV}"
+SRCREV_pn-omgps = "${AUTOREV}"
+SRCREV_pn-shr-today = "${AUTOREV}"
+SRCREV_pn-shr-launcher = "${AUTOREV}"
+SRCREV_pn-e-tasks = "${AUTOREV}"
+SRCREV_pn-mokonnect = "${AUTOREV}"
+SRCREV_pn-elmdentica = "${AUTOREV}"
+SRCREV_pn-vala-terminal = "${AUTOREV}"
+
diff --git a/recipes/efl1/e-wm-illume-dict-pl_git.bb b/recipes/efl1/e-wm-illume-dict-pl_git.bb
new file mode 100644
index 0000000000..a5cf1938c4
--- /dev/null
+++ b/recipes/efl1/e-wm-illume-dict-pl_git.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Polish dictionary for Illume keyboard"
+SECTION = "x11/data"
+PV = "1.0-gitr${SRCREV}"
+PR = "r0"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/e-wm/${PN}"
+
+FILES_${PN} = "${libdir}/enlightenment/modules/illume/dicts/Polish.dic"
+
+do_install() {
+ install -d ${D}${libdir}/enlightenment/modules/illume/dicts
+ install -m 0644 ${S}/Polish.dic ${D}${libdir}/enlightenment/modules/illume/dicts/Polish.dic
+}
diff --git a/recipes/efl1/illume-keyboard-arabic_git.bb b/recipes/efl1/illume-keyboard-arabic_git.bb
new file mode 100644
index 0000000000..41ea9e1cd4
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-arabic_git.bb
@@ -0,0 +1,11 @@
+AUTHOR = "Mohammad Fahmi / Tom Hacohen"
+DESCRIPTION = "Illume keyboard with arabic layout"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "arabic"
+INSTFILES = "Arabic.kbd Arabic.png"
+
+require illume-keyboard.inc
+
+
diff --git a/recipes/efl1/illume-keyboard-browse_git.bb b/recipes/efl1/illume-keyboard-browse_git.bb
new file mode 100644
index 0000000000..268140c75a
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-browse_git.bb
@@ -0,0 +1,19 @@
+AUTHOR = "Pander"
+DESCRIPTION = "Illume keyboard with a layout optimized for browsing"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "browse"
+INSTFILES = "\
+Browse.kbd \
+end-browse.png \
+pagedown-browse.png \
+browse.png \
+home-browse.png \
+pageup-browse.png \
+space-browse.png \
+"
+
+require illume-keyboard.inc
+
+
diff --git a/recipes/efl1/illume-keyboard-danish_git.bb b/recipes/efl1/illume-keyboard-danish_git.bb
new file mode 100644
index 0000000000..21f8ff954a
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-danish_git.bb
@@ -0,0 +1,11 @@
+AUTHOR = "Esben Damgaard"
+DESCRIPTION = "Illume keyboard with danish layout"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "danish"
+INSTFILES = "Danish.kbd danish.png"
+
+require illume-keyboard.inc
+
+
diff --git a/recipes/efl1/illume-keyboard-default-alt_git.bb b/recipes/efl1/illume-keyboard-default-alt_git.bb
new file mode 100644
index 0000000000..34c3c299bb
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-default-alt_git.bb
@@ -0,0 +1,11 @@
+AUTHOR = "Pander"
+DESCRIPTION = "Illume keyboard with an alternative default layout"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "default-alt"
+INSTFILES = "Default-alt.kbd"
+
+require illume-keyboard.inc
+
+
diff --git a/recipes/efl1/illume-keyboard-dutch_git.bb b/recipes/efl1/illume-keyboard-dutch_git.bb
new file mode 100644
index 0000000000..2300ac7101
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-dutch_git.bb
@@ -0,0 +1,21 @@
+AUTHOR = "Pander"
+DESCRIPTION = "Illume keyboard with dutch layout"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "dutch"
+INSTFILES = "\
+capslock-negative.png \
+end.png \
+pagedown.png \
+qwerty-dutch-nl.png \
+Terminal-dutch-nl.kbd \
+capslock.png \
+home.png \
+pageup.png \
+space.png \
+"
+
+require illume-keyboard.inc
+
+
diff --git a/recipes/efl1/illume-keyboard-dvorak_git.bb b/recipes/efl1/illume-keyboard-dvorak_git.bb
new file mode 100644
index 0000000000..795d78dcc7
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-dvorak_git.bb
@@ -0,0 +1,11 @@
+AUTHOR = "Gabor Adam TOTH"
+DESCRIPTION = "Illume keyboard with dvorak layout"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "dvorak"
+INSTFILES = "Dvorak.kbd dvorak.png"
+
+require illume-keyboard.inc
+
+
diff --git a/recipes/efl1/illume-keyboard-french_git.bb b/recipes/efl1/illume-keyboard-french_git.bb
new file mode 100644
index 0000000000..205a6ad991
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-french_git.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "Illume keyboard with french layout"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "french"
+INSTFILES = "Azerty.kbd Azerty.png"
+
+require illume-keyboard.inc
+
+
diff --git a/recipes/efl1/illume-keyboard-german_git.bb b/recipes/efl1/illume-keyboard-german_git.bb
new file mode 100644
index 0000000000..0252932116
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-german_git.bb
@@ -0,0 +1,11 @@
+AUTHOR = "Florian Hackenberger"
+DESCRIPTION = "Illume keyboard with german layout"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "german"
+INSTFILES = "German.kbd German.png"
+
+require illume-keyboard.inc
+
+
diff --git a/recipes/efl1/illume-keyboard-hebrew_git.bb b/recipes/efl1/illume-keyboard-hebrew_git.bb
new file mode 100644
index 0000000000..8d408b4a91
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-hebrew_git.bb
@@ -0,0 +1,11 @@
+AUTHOR = "Tom Hacohen"
+DESCRIPTION = "Illume keyboard with hebrew layout"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "hebrew"
+INSTFILES = "Hebrew.kbd Alpha-hebrew-il.png"
+
+require illume-keyboard.inc
+
+
diff --git a/recipes/efl1/illume-keyboard-numeric-alt_git.bb b/recipes/efl1/illume-keyboard-numeric-alt_git.bb
new file mode 100644
index 0000000000..f2d2487386
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-numeric-alt_git.bb
@@ -0,0 +1,18 @@
+AUTHOR = "Pander"
+DESCRIPTION = "Illume keyboard with an alternative numeric layout"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "numeric-alt"
+INSTFILES = "\
+end-alt.png \
+home-alt.png \
+Numbers-alt.kbd \
+numeric-alt.png \
+pagedown-alt.png \
+pageup-alt.png \
+"
+
+require illume-keyboard.inc
+
+
diff --git a/recipes/efl1/illume-keyboard-russian-terminal_git.bb b/recipes/efl1/illume-keyboard-russian-terminal_git.bb
new file mode 100644
index 0000000000..f0a4508d98
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-russian-terminal_git.bb
@@ -0,0 +1,9 @@
+AUTHOR = "lucky"
+DESCRIPTION = "Illume keyboard with russian layout for the Terminal"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "russian-terminal"
+INSTFILES = "Terminal_Russian.kbd Terminal-russian-ru.png"
+
+require illume-keyboard.inc
diff --git a/recipes/efl1/illume-keyboard-russian_git.bb b/recipes/efl1/illume-keyboard-russian_git.bb
new file mode 100644
index 0000000000..517956bb2b
--- /dev/null
+++ b/recipes/efl1/illume-keyboard-russian_git.bb
@@ -0,0 +1,11 @@
+AUTHOR = "lucky"
+DESCRIPTION = "Illume keyboard with russian layout"
+PV = "0.0-gitr${SRCREV}"
+PR = "r0"
+
+BASEDIR = "russian"
+INSTFILES = "X8_Russian.kbd X8-russian-ru.png"
+
+require illume-keyboard.inc
+
+
diff --git a/recipes/efl1/illume-keyboard.inc b/recipes/efl1/illume-keyboard.inc
new file mode 100644
index 0000000000..4003352cc1
--- /dev/null
+++ b/recipes/efl1/illume-keyboard.inc
@@ -0,0 +1,14 @@
+SECTION = "x11/data"
+
+SRC_URI = "git://git.shr-project.org/repo/illume-keyboards.git;protocol=http;branch=master"
+S = "${WORKDIR}/git"
+
+FILES_${PN} = "${libdir}/enlightenment/modules/illume/keyboards/*"
+PACKAGE_ARCH = "all"
+
+do_install() {
+ install -d ${D}${libdir}/enlightenment/modules/illume/keyboards
+ for f in ${INSTFILES}; do
+ install -m 0644 ${S}/${BASEDIR}/${f} ${D}${libdir}/enlightenment/modules/illume/keyboards/
+ done
+}
diff --git a/recipes/shr/alsa-scenarii-shr_git.bb b/recipes/shr/alsa-scenarii-shr_git.bb
new file mode 100644
index 0000000000..97b4393459
--- /dev/null
+++ b/recipes/shr/alsa-scenarii-shr_git.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Package for the different scenarios used by Openmoko"
+SECTION = "openmoko/base"
+PV = "1.0+gitr${SRCREV}"
+PR = "r1"
+
+COMPATIBLE_MACHINE = "(om-gta01|om-gta02|om-3d7k)"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/${PN}/${MACHINE_ARCH}"
+
+do_install() {
+ install -d ${D}${datadir}/shr/scenarii/
+ install -m 644 ${S}/*.state ${D}${datadir}/shr/scenarii/
+ install -d ${D}${sysconfdir}/
+ install -m 644 ${S}/stereoout.state ${D}${sysconfdir}/asound.state
+}
+
+PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
+
+FILES_${PN} += "${datadir}/shr"
+
+CONFFILES_${PN} += "${datadir}/shr/scenarii/*"
+RPROVIDES_${PN} = "openmoko-alsa-scenarios"
+
diff --git a/recipes/shr/e-wm-menu-shr_git.bb b/recipes/shr/e-wm-menu-shr_git.bb
new file mode 100644
index 0000000000..94529e335a
--- /dev/null
+++ b/recipes/shr/e-wm-menu-shr_git.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "illume SHR applications.menu config"
+SECTION = "e/utils"
+LICENSE = "MIT BSD"
+PV = "1.1-${EFL_SRCREV}-gitr${SRCREV}"
+
+RPROVIDES_${PN} = "e-wm-menu"
+RCONFLICTS_${PN} = "e-wm-menu"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/e-wm/${PN}"
+
+FILES_${PN} = "${sysconfdir}/xdg/menus/applications.menu"
+
+do_install() {
+ install -d ${D}${sysconfdir}/xdg/menus
+ install -m 0755 ${S}/applications.menu ${D}${sysconfdir}/xdg/menus/applications.menu
+}
diff --git a/recipes/shr/e-wm-sysactions-shr_git.bb b/recipes/shr/e-wm-sysactions-shr_git.bb
new file mode 100644
index 0000000000..293edaeba3
--- /dev/null
+++ b/recipes/shr/e-wm-sysactions-shr_git.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "illume SHR sysactions config"
+SECTION = "e/utils"
+LICENSE = "MIT BSD"
+PV = "1.1-${EFL_SRCREV}-gitr${SRCREV}"
+PR = "r3"
+
+RPROVIDES_${PN} = "e-wm-sysactions"
+RCONFLICTS_${PN} = "e-wm-sysactions"
+#RREPLACES_${PN} = "e-wm-sysactions"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/e-wm/${PN}"
+
+FILES_${PN} = "${sysconfdir}/enlightenment"
+
+do_install() {
+ install -d ${D}${sysconfdir}/enlightenment/
+ install -m 0755 ${S}/sysactions.conf ${D}${sysconfdir}/enlightenment/sysactions.conf
+ install -m 0755 ${S}/suspend.sh ${D}${sysconfdir}/enlightenment/suspend.sh
+}
diff --git a/recipes/shr/e-wm-theme-illume-niebiee_git.bb b/recipes/shr/e-wm-theme-illume-niebiee_git.bb
new file mode 100644
index 0000000000..bd3412d0ff
--- /dev/null
+++ b/recipes/shr/e-wm-theme-illume-niebiee_git.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Extremely blue Illume theme - Niebiee"
+SECTION = "e/utils"
+DEPENDS = "edje-native"
+LICENSE = "MIT BSD"
+PV = "0.1-${EFL_SRCREV}-gitr${SRCREV}"
+PR = "r0"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/e-wm/${PN}"
+
+do_compile() {
+ ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images/. -fd ${S}/fonts/. ${S}/illume-niebiee.edc -o ${S}/illume-niebiee.edj
+}
+
+do_install() {
+ install -d ${D}${datadir}/enlightenment/data/themes/
+ install -m 0644 ${S}/illume-niebiee.edj ${D}${datadir}/enlightenment/data/themes/
+}
+
+FILES_${PN} = "${datadir}/enlightenment/data/themes/illume-niebiee.edj"
+
+
diff --git a/recipes/shr/e-wm-theme-illume-shr_git.bb b/recipes/shr/e-wm-theme-illume-shr_git.bb
new file mode 100644
index 0000000000..0c59feb876
--- /dev/null
+++ b/recipes/shr/e-wm-theme-illume-shr_git.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "illume SHR theme"
+SECTION = "e/utils"
+DEPENDS = "edje-native"
+LICENSE = "MIT BSD"
+PV = "1.1-${EFL_SRCREV}-gitr${SRCREV}"
+PR = "r6"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/e-wm/${PN}"
+
+do_compile() {
+ ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images/. -fd ${S}/fonts/. ${S}/illume-shr.edc -o ${S}/illume-shr.edj
+}
+
+do_install() {
+ install -d ${D}${datadir}/enlightenment/data/themes/
+ install -m 0644 ${S}/illume-shr.edj ${D}${datadir}/enlightenment/data/themes/
+}
+
+FILES_${PN} = "${datadir}/enlightenment/data/themes/illume-shr.edj"
+
+
diff --git a/recipes/shr/e-wm-theme-illume-sixteen_git.bb b/recipes/shr/e-wm-theme-illume-sixteen_git.bb
new file mode 100644
index 0000000000..5c3d65825e
--- /dev/null
+++ b/recipes/shr/e-wm-theme-illume-sixteen_git.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "illume SHR theme"
+SECTION = "e/utils"
+DEPENDS = "edje-native"
+LICENSE = "MIT BSD"
+PV = "0.1-${EFL_SRCREV}-gitr${SRCREV}"
+PR = "r0"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/e-wm/${PN}"
+
+do_compile() {
+ ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images/. -fd ${S}/fonts/. ${S}/illume-sixteen.edc -o ${S}/illume-sixteen.edj
+}
+
+do_install() {
+ install -d ${D}${datadir}/enlightenment/data/themes/
+ install -m 0644 ${S}/illume-sixteen.edj ${D}${datadir}/enlightenment/data/themes/
+}
+
+FILES_${PN} = "${datadir}/enlightenment/data/themes/illume-sixteen.edj"
+
+
diff --git a/recipes/shr/elementary-theme-niebiee_git.bb b/recipes/shr/elementary-theme-niebiee_git.bb
new file mode 100644
index 0000000000..f58257d48c
--- /dev/null
+++ b/recipes/shr/elementary-theme-niebiee_git.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Extremely blue elementary theme - Niebiee"
+SECTION = "e/utils"
+DEPENDS = "edje-native"
+LICENSE = "MIT BSD"
+PV = "0.1-${EFL_SRCREV}-gitr${SRCREV}"
+PR = "r0"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/elementary/${PN}"
+
+do_compile() {
+ ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images/. -fd ${S}/fonts/. ${S}/niebiee.edc -o ${S}/niebiee.edj
+}
+
+do_install() {
+ install -d ${D}${datadir}/elementary/themes/
+ install -m 0644 ${S}/niebiee.edj ${D}${datadir}/elementary/themes/
+}
+
+FILES_${PN} = "${datadir}/elementary/themes/niebiee.edj"
diff --git a/recipes/shr/elementary-theme-sixteen_git.bb b/recipes/shr/elementary-theme-sixteen_git.bb
new file mode 100644
index 0000000000..48cbc615fa
--- /dev/null
+++ b/recipes/shr/elementary-theme-sixteen_git.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "elementary SHR theme"
+SECTION = "e/utils"
+DEPENDS = "edje-native"
+LICENSE = "MIT BSD"
+PV = "0.1-${EFL_SRCREV}-gitr${SRCREV}"
+PR = "r2"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/elementary/${PN}"
+
+do_compile() {
+ ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images/. -fd ${S}/fonts/. ${S}/sixteen.edc -o ${S}/sixteen.edj
+}
+
+do_install() {
+ install -d ${D}${datadir}/elementary/themes/
+ install -m 0644 ${S}/sixteen.edj ${D}${datadir}/elementary/themes/
+}
+
+FILES_${PN} = "${datadir}/elementary/themes/sixteen.edj"
+
+
diff --git a/recipes/shr/etk-theme-shr_git.bb b/recipes/shr/etk-theme-shr_git.bb
new file mode 100644
index 0000000000..d146765c94
--- /dev/null
+++ b/recipes/shr/etk-theme-shr_git.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "etk SHR theme"
+SECTION = "e/utils"
+DEPENDS = "edje-native"
+LICENSE = "MIT BSD"
+PV = "1.1-${EFL_SRCREV}-gitr${SRCREV}"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/etk/${PN}"
+
+do_compile() {
+ ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/. -fd ${S}/. ${S}/default.edc -o ${S}/default.edj
+}
+
+do_install() {
+ install -d ${D}${datadir}/etk/themes/
+ install -m 0644 ${S}/default.edj ${D}${datadir}/etk/themes/
+}
+
+FILES_${PN} = "${datadir}/etk/themes/default.edj"
+
+
diff --git a/recipes/shr/initscripts-shr/alignment.sh b/recipes/shr/initscripts-shr/alignment.sh
new file mode 100644
index 0000000000..4a66dc6bc8
--- /dev/null
+++ b/recipes/shr/initscripts-shr/alignment.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ -e /proc/cpu/alignment ]; then
+ echo "3" > /proc/cpu/alignment
+fi
+
diff --git a/recipes/shr/initscripts-shr/bootmisc.sh b/recipes/shr/initscripts-shr/bootmisc.sh
new file mode 100644
index 0000000000..4511e12fc1
--- /dev/null
+++ b/recipes/shr/initscripts-shr/bootmisc.sh
@@ -0,0 +1,47 @@
+#
+# bootmisc.sh Miscellaneous things to be done during bootup.
+#
+
+. /etc/default/rcS
+#
+# Put a nologin file in /etc to prevent people from logging in before
+# system startup is complete.
+#
+if test "$DELAYLOGIN" = yes
+then
+ echo "System bootup in progress - please wait" > /etc/nologin
+ cp /etc/nologin /etc/nologin.boot
+fi
+
+#
+# Update /etc/motd.
+#
+if test "$EDITMOTD" != no
+then
+ uname -a > /etc/motd.tmp
+ sed 1d /etc/motd >> /etc/motd.tmp
+ mv /etc/motd.tmp /etc/motd
+fi
+
+#
+# Update dynamic library cache
+#
+#/sbin/ldconfig
+
+# Set the system clock from hardware clock
+# If the timestamp is 1 day or more recent than the current time,
+# use the timestamp instead.
+[ "$UTC" = yes ] || /etc/init.d/hwclock.sh start
+
+if ! test -f /etc/.configured && test -e /etc/timestamp
+then
+ SYSTEMDATE=`date "+%Y%m%d"`
+ TIMESTAMP=`cat /etc/timestamp | awk '{ print substr($0,9,4) substr($0,1,4);}'`
+ NEEDUPDATE=`expr \( $TIMESTAMP \> $SYSTEMDATE \)`
+ if [ $NEEDUPDATE -eq 1 ]; then
+ date `cat /etc/timestamp`
+ /etc/init.d/hwclock.sh stop
+ fi
+fi
+
+: exit 0
diff --git a/recipes/shr/initscripts-shr/checkroot.sh b/recipes/shr/initscripts-shr/checkroot.sh
new file mode 100644
index 0000000000..197a3a81d7
--- /dev/null
+++ b/recipes/shr/initscripts-shr/checkroot.sh
@@ -0,0 +1,45 @@
+#
+# checkroot.sh Check to root filesystem.
+#
+# Version: @(#)checkroot.sh 2.84 25-Jan-2002 miquels@cistron.nl
+#
+
+. /etc/default/rcS
+
+#
+# Set SULOGIN in /etc/default/rcS to yes if you want a sulogin to be spawned
+# from this script *before anything else* with a timeout, like SCO does.
+#
+test "$SULOGIN" = yes && sulogin -t 30 $CONSOLE
+
+#
+# If the root filesystem was not marked as read-only in /etc/fstab,
+# remount the rootfs rw but do not try to change mtab because it
+# is on a ro fs until the remount succeeded. Then clean up old mtabs
+# and finally write the new mtab.
+# This part is only needed if the rootfs was mounted ro.
+#
+# Also attempt to remount if the noatime option is not present.
+#
+ROOTFSDEV="/dev/root"
+if grep -q "^$ROOTFSDEV .* rw,.*noatime" /proc/mounts; then
+ echo "Root filesystem already read-write, not remounting"
+else
+ rootmode=rw
+
+ echo "Remounting root file system..."
+ mount -n -o remount,noatime,$rootmode /
+ if test "$rootmode" = rw
+ then
+ if test ! -L /etc/mtab
+ then
+ rm -f /etc/mtab~ /etc/nologin
+ : > /etc/mtab
+ fi
+ mount -f -o remount /
+ mount -f /proc
+ test "$devfs" && grep -q '^devfs /dev' /proc/mounts && mount -f "$devfs"
+ fi
+fi
+
+: exit 0
diff --git a/recipes/shr/initscripts-shr/devpts b/recipes/shr/initscripts-shr/devpts
new file mode 100644
index 0000000000..e10e371662
--- /dev/null
+++ b/recipes/shr/initscripts-shr/devpts
@@ -0,0 +1,5 @@
+# GID of the `tty' group
+TTYGRP=5
+
+# Set to 600 to have `mesg n' be the default
+TTYMODE=620
diff --git a/recipes/shr/initscripts-shr/finish.sh b/recipes/shr/initscripts-shr/finish.sh
new file mode 100644
index 0000000000..897f005310
--- /dev/null
+++ b/recipes/shr/initscripts-shr/finish.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if ! test -e /etc/.configured; then
+ opkg-cl configure
+ > /etc/.configured
+fi
+
diff --git a/recipes/shr/initscripts-shr/functions b/recipes/shr/initscripts-shr/functions
new file mode 100644
index 0000000000..fb9a914e4d
--- /dev/null
+++ b/recipes/shr/initscripts-shr/functions
@@ -0,0 +1,17 @@
+# -*-Shell-script-*-
+#
+# functions This file contains functions to be used by most or all
+# shell scripts in the /etc/init.d directory.
+#
+
+machine_id() { # return the machine ID
+ awk 'BEGIN { FS=": " } /Hardware/ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo
+}
+
+killproc() { # kill the named process(es)
+ pid=`/bin/ps -e x |
+ /bin/grep $1 |
+ /bin/grep -v grep |
+ /bin/sed -e 's/^ *//' -e 's/ .*//'`
+ [ "$pid" != "" ] && kill $pid
+}
diff --git a/recipes/shr/initscripts-shr/g_ether.sh b/recipes/shr/initscripts-shr/g_ether.sh
new file mode 100644
index 0000000000..9257268936
--- /dev/null
+++ b/recipes/shr/initscripts-shr/g_ether.sh
@@ -0,0 +1,93 @@
+#!/bin/sh
+
+# This script runs very early in order to ensure that the USB network comes
+# up at first system boot. It gathers or creates the necessary host and device
+# mac addresses for the g_ether module at first boot, and writes them to the
+# /etc/modprobe.conf/g_ether.conf file.
+#
+# Due to some oddness with udev, it also modprobes g_ether, only on first boot.
+
+# If the g_ether module options file exists, nothing to do.
+
+if [ ! -e /etc/modprobe.d/g_ether.conf ] ; then
+
+# Gather up all g_ether parameters passed in on the kernel command line, and
+# make sure to pass them to the module; this will ensure similar behavior
+# between the module and built-in.
+
+# Begin by searching the command line for the host and dev addrs
+da=`sed -n -e 's|.*g_ether\.dev_addr\=\(..:..:..:..:..:..\).*|\1|p' /proc/cmdline`
+ha=`sed -n -e 's|.*g_ether\.host_addr\=\(..:..:..:..:..:..\).*|\1|p' /proc/cmdline`
+
+# If the device address is missing, try to find it some other way
+if [ -z "$da" ] ; then
+
+ if grep -q '^Hardware.*GTA02$' /proc/cpuinfo ; then
+
+ # Use the "identity" or "factory" partition on the GTA02.
+ # Ok, this is ugly. We run before udev, so we need to rummage about in
+ # /sys to see if we have an identity partition, and create the device
+ # node if it doesn't already exist.
+ if [ ! -e /dev/mtd5ro -a -e /sys/class/mtd/mtd5ro/dev ] ; then
+ majmin=`sed -e 's|:| |' /sys/class/mtd/mtd5ro/dev`
+ mknod /dev/mtd5ro c $majmin
+ fi
+
+ # We should have the device node now.
+ if [ -e /dev/mtd5ro ] ; then
+
+ # The partition is an ext2 filesystem; we probably should mount the
+ # thing using a loopback mount and then read the correct file from it,
+ # but we're running way early in the boot; not only will that be slow,
+ # there's a good chance it may not even work (udev hasn't run yet).
+ da=`strings /dev/mtd5ro | grep ^U: | sed -n -e 's|U:\(..:..:..:..:..:..\).*|\1|p'`
+
+ fi
+
+ fi
+
+ # TODO: add code to compute a static random address for the GTA01.
+ # For now, GTA01 owners should probably set the addresses in their
+ # u-boot environment and pass in on the command line. A reasonable
+ # solution would be to the random prefix range with the last part of
+ # the mac copied from the bluetooth device.
+
+fi
+
+# If have a device address, now we need to sort out the host address. If it
+# is unspecified, or if it is the same as the device address (Qi does this),
+# compute a new address by just incrementing the device address.
+
+if [ -n "$da" ] ; then
+ if [ -z "$ha" -o "$da" = "$ha" ] ; then
+
+ # We need to compute a new address - split the device address into two
+ # part, and increment the second part.
+ pfx=`echo "$da" | sed -n -e 's|\(..:..:..:\)..:..:..|\1|p'`
+ i=`echo "$da" | sed -n -e 's|..:..:..:\(..\):\(..\):\(..\)|0x\1\2\3|p'`
+
+ # Now increment the mac addr
+ i=$(printf %06x $(($i+1)))
+
+ # And glue the parts back together again.
+ i=`echo "$i" | sed -n -e 's|\(..\)\(..\)\(..\)|\1:\2:\3|p'`
+
+ # Assign the computed host address, if this all worked out.
+ [ -n "$i" -a -n "$pfx" ] && ha=$pfx$i
+
+ fi
+fi
+
+# Compute the command-line options themselves
+[ -n "$da" ] && daddr="dev_addr=$da"
+[ -n "$ha" ] && haddr="host_addr=$ha"
+
+# Write the module options file out even if we have no addresses to write,
+# so that we do not need to run again at next boot.
+[ -d /etc/modprobe.d ] || mkdir /etc/modprobe.d
+echo "options g_ether $daddr $haddr" >/etc/modprobe.d/g_ether.conf
+
+# And now, since this is first boot, we need to probe the module
+modprobe g_ether 2>/dev/null || true
+
+fi
diff --git a/recipes/shr/initscripts-shr/halt b/recipes/shr/initscripts-shr/halt
new file mode 100644
index 0000000000..d8cab222ca
--- /dev/null
+++ b/recipes/shr/initscripts-shr/halt
@@ -0,0 +1,25 @@
+#! /bin/sh
+#
+# halt Execute the halt command.
+#
+# Version: @(#)halt 2.84-2 07-Jan-2002 miquels@cistron.nl
+#
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+# See if we need to cut the power.
+if test -x /etc/init.d/ups-monitor
+then
+ /etc/init.d/ups-monitor poweroff
+fi
+
+# Don't shut down drives if we're using RAID.
+hddown="-h"
+if grep -qs '^md.*active' /proc/mdstat
+then
+ hddown=""
+fi
+
+halt -d -f -i -p $hddown
+
+: exit 0
diff --git a/recipes/shr/initscripts-shr/hostname.sh b/recipes/shr/initscripts-shr/hostname.sh
new file mode 100644
index 0000000000..0f3d374286
--- /dev/null
+++ b/recipes/shr/initscripts-shr/hostname.sh
@@ -0,0 +1,11 @@
+#
+# hostname.sh Set hostname.
+#
+# Version: @(#)hostname.sh 1.10 26-Feb-2001 miquels@cistron.nl
+#
+
+if test -f /etc/hostname
+then
+ hostname -F /etc/hostname
+fi
+
diff --git a/recipes/shr/initscripts-shr/mountall.sh b/recipes/shr/initscripts-shr/mountall.sh
new file mode 100644
index 0000000000..4bd7bbb02c
--- /dev/null
+++ b/recipes/shr/initscripts-shr/mountall.sh
@@ -0,0 +1,52 @@
+#
+# mountall.sh Mount all filesystems.
+#
+# Version: @(#)mountall.sh 2.83-2 01-Nov-2001 miquels@cistron.nl
+#
+. /etc/default/rcS
+if test -f /etc/default/mountall; then
+ . /etc/default/mountall
+fi
+
+#
+# Mount local filesystems in /etc/fstab. For some reason, people
+# might want to mount "proc" several times, and mount -v complains
+# about this. So we mount "proc" filesystems without -v.
+#
+test "$VERBOSE" != no && echo "Mounting local filesystems..."
+mount -a $MOUNTALL
+
+#
+# We might have mounted something over /dev, see if /dev/initctl is there.
+#
+if test ! -p /dev/initctl
+then
+ rm -f /dev/initctl
+ mknod -m 600 /dev/initctl p
+fi
+kill -USR1 1
+
+#
+# Execute swapon command again, in case we want to swap to
+# a file on a now mounted filesystem.
+#
+doswap=yes
+if test $doswap = yes
+then
+ swapon -a 2> /dev/null
+fi
+
+# A missing homedirectory for root can cause all sorts of problems.
+# This can happen after user formats his /home partition for example
+
+if test -e /etc/passwd
+then
+ ROOT_HOME="`grep root /etc/passwd | cut -d: -f6`"
+
+ if test -n "$ROOT_HOME"
+ then
+ ! test -d "$ROOT_HOME" && mkdir -p "$ROOT_HOME"
+ fi
+fi
+: exit 0
+
diff --git a/recipes/shr/initscripts-shr/mountdevsubfs.sh b/recipes/shr/initscripts-shr/mountdevsubfs.sh
new file mode 100644
index 0000000000..c6cfb05af2
--- /dev/null
+++ b/recipes/shr/initscripts-shr/mountdevsubfs.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+. /etc/default/devpts
+
+test -c /dev/ptmx || mknod -m 666 /dev/ptmx c 5 2
+
+if [ -d /dev/pts ]; then
+ mount -n -t devpts devpts /dev/pts -ogid=${TTYGRP},mode=${TTYMODE}
+fi
+
+
+if [ -d /dev/shm ]; then
+ mount -n -t tmpfs shmfs /dev/shm -omode=0777
+fi
diff --git a/recipes/shr/initscripts-shr/mountkernfs.sh b/recipes/shr/initscripts-shr/mountkernfs.sh
new file mode 100644
index 0000000000..1ed09fcf05
--- /dev/null
+++ b/recipes/shr/initscripts-shr/mountkernfs.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+supported_kernel() {
+ case "$(uname -r)" in
+ 2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;;
+ 2.6.1[0-7]|2.6.1[0-7][!0-9]*) return 1 ;;
+ esac
+ return 0
+}
+
+check_kernel() {
+ if ! supported_kernel; then
+ echo "WARNING: kernel < 2.6.18"
+ fi
+
+ if ! grep -qs devpts /proc/filesystems; then
+ echo "WARNING: kernel does not support devpts"
+ fi
+
+ if ! grep -qs tmpfs /proc/filesystems; then
+ echo "WARNING: kernel does not support tmpfs"
+ fi
+}
+
+if [ -d /proc ]; then
+ mount -n -t proc proc /proc
+fi
+
+check_kernel
+
+if [ -d /sys ]; then
+ mount -n -t sysfs sysfs /sys
+fi
diff --git a/recipes/shr/initscripts-shr/mountnfs.sh b/recipes/shr/initscripts-shr/mountnfs.sh
new file mode 100644
index 0000000000..2631392483
--- /dev/null
+++ b/recipes/shr/initscripts-shr/mountnfs.sh
@@ -0,0 +1,87 @@
+#
+# mountnfs.sh Now that TCP/IP is configured, mount the NFS file
+# systems in /etc/fstab if needed. If possible,
+# start the portmapper before mounting (this is needed for
+# Linux 2.1.x and up).
+#
+# Also mounts SBM filesystems now, so the name of
+# this script is getting increasingly inaccurate.
+#
+# Version: @(#)mountnfs.sh 2.83 05-Oct-2001 miquels@cistron.nl
+#
+
+. /etc/default/rcS
+
+#
+# Run in a subshell because of I/O redirection.
+#
+test -x /sbin/portmap && test -f /etc/fstab && (
+
+#
+# Read through fstab line by line. If it is NFS, set the flag
+# for mounting NFS filesystems. If any NFS partition is found and it
+# not mounted with the nolock option, we start the portmapper.
+#
+portmap=no
+mount_nfs=no
+mount_smb=no
+mount_ncp=no
+while read device mountpt fstype options
+do
+ case "$device" in
+ ""|\#*)
+ continue
+ ;;
+ esac
+
+ case "$options" in
+ *noauto*)
+ continue
+ ;;
+ esac
+
+ if test "$fstype" = nfs
+ then
+ mount_nfs=yes
+ case "$options" in
+ *nolock*)
+ ;;
+ *)
+ portmap=yes
+ ;;
+ esac
+ fi
+ if test "$fstype" = smbfs
+ then
+ mount_smb=yes
+ fi
+ if test "$fstype" = ncpfs
+ then
+ mount_ncp=yes
+ fi
+done
+
+exec 0>&1
+
+if test "$portmap" = yes
+then
+ if test -x /sbin/portmap
+ then
+ echo -n "Starting portmapper... "
+ start-stop-daemon --start --quiet --exec /sbin/portmap
+ sleep 2
+ fi
+fi
+
+if test "$mount_nfs" = yes || test "$mount_smb" = yes || test "$mount_ncp" = yes
+then
+ echo "Mounting remote filesystems..."
+ test "$mount_nfs" = yes && mount -a -t nfs
+ test "$mount_smb" = yes && mount -a -t smbfs
+ test "$mount_ncp" = yes && mount -a -t ncpfs
+fi
+
+) < /etc/fstab
+
+: exit 0
+
diff --git a/recipes/shr/initscripts-shr/populate-volatile.sh b/recipes/shr/initscripts-shr/populate-volatile.sh
new file mode 100644
index 0000000000..bf2cac76e2
--- /dev/null
+++ b/recipes/shr/initscripts-shr/populate-volatile.sh
@@ -0,0 +1,248 @@
+#!/bin/sh
+
+. /etc/default/rcS
+
+CFGDIR="/etc/default/volatiles"
+TMPROOT="/var/tmp"
+COREDEF="00_core"
+
+[ "${VERBOSE}" != "no" ] && echo "Populating volatile Filesystems."
+
+create_file() {
+ EXEC="
+ touch \"$1\";
+ chown ${TUSER}.${TGROUP} $1 || echo \"Failed to set owner -${TUSER}- for -$1-.\" >/dev/tty0 2>&1;
+ chmod ${TMODE} $1 || echo \"Failed to set mode -${TMODE}- for -$1-.\" >/dev/tty0 2>&1 "
+
+ test "$VOLATILE_ENABLE_CACHE" = yes && echo "$EXEC" >> /etc/volatile.cache
+
+ [ -e "$1" ] && {
+ [ "${VERBOSE}" != "no" ] && echo "Target already exists. Skipping."
+ } || {
+ eval $EXEC
+ }
+}
+
+mk_dir() {
+ EXEC="
+ mkdir -p \"$1\";
+ chown ${TUSER}.${TGROUP} $1 || echo \"Failed to set owner -${TUSER}- for -$1-.\" >/dev/tty0 2>&1;
+ chmod ${TMODE} $1 || echo \"Failed to set mode -${TMODE}- for -$1-.\" >/dev/tty0 2>&1 "
+
+ test "$VOLATILE_ENABLE_CACHE" = yes && echo "$EXEC" >> /etc/volatile.cache
+
+ [ -e "$1" ] && {
+ [ "${VERBOSE}" != "no" ] && echo "Target already exists. Skipping."
+ } || {
+ eval $EXEC
+ }
+}
+
+link_file() {
+ EXEC="test -e \"$2\" -o -L $2 || ln -s \"$1\" \"$2\" >/dev/tty0 2>&1"
+
+ test "$VOLATILE_ENABLE_CACHE" = yes && echo " $EXEC" >> /etc/volatile.cache
+
+ [ -e "$2" ] && {
+ echo "Cannot create link over existing -${TNAME}-." >&2
+ } || {
+ eval $EXEC
+ }
+}
+
+check_requirements() {
+
+ cleanup() {
+ rm "${TMP_INTERMED}"
+ rm "${TMP_DEFINED}"
+ rm "${TMP_COMBINED}"
+ }
+
+ CFGFILE="$1"
+
+ [ `basename "${CFGFILE}"` = "${COREDEF}" ] && return 0
+
+ TMP_INTERMED="${TMPROOT}/tmp.$$"
+ TMP_DEFINED="${TMPROOT}/tmpdefined.$$"
+ TMP_COMBINED="${TMPROOT}/tmpcombined.$$"
+
+
+ cat /etc/passwd | sed 's@\(^:\)*:.*@\1@' | sort | uniq > "${TMP_DEFINED}"
+ cat ${CFGFILE} | grep -v "^#" | cut -d " " -f 2 > "${TMP_INTERMED}"
+ cat "${TMP_DEFINED}" "${TMP_INTERMED}" | sort | uniq > "${TMP_COMBINED}"
+
+ NR_DEFINED_USERS="`cat "${TMP_DEFINED}" | wc -l`"
+ NR_COMBINED_USERS="`cat "${TMP_COMBINED}" | wc -l`"
+
+ [ "${NR_DEFINED_USERS}" -ne "${NR_COMBINED_USERS}" ] && {
+ echo "Undefined users:"
+ diff "${TMP_DEFINED}" "${TMP_COMBINED}" | grep "^>"
+ cleanup
+ return 1
+ }
+
+
+ cat /etc/group | sed 's@\(^:\)*:.*@\1@' | sort | uniq > "${TMP_DEFINED}"
+ cat ${CFGFILE} | grep -v "^#" | cut -d " " -f 3 > "${TMP_INTERMED}"
+ cat "${TMP_DEFINED}" "${TMP_INTERMED}" | sort | uniq > "${TMP_COMBINED}"
+
+ NR_DEFINED_GROUPS="`cat "${TMP_DEFINED}" | wc -l`"
+ NR_COMBINED_GROUPS="`cat "${TMP_COMBINED}" | wc -l`"
+
+ [ "${NR_DEFINED_GROUPS}" -ne "${NR_COMBINED_GROUPS}" ] && {
+ echo "Undefined groups:"
+ diff "${TMP_DEFINED}" "${TMP_COMBINED}" | grep "^>"
+ cleanup
+ return 1
+ }
+
+ # Add checks for required directories here
+
+ cleanup
+ return 0
+ }
+
+apply_cfgfile() {
+
+ CFGFILE="$1"
+
+ check_requirements "${CFGFILE}" || {
+ echo "Skipping ${CFGFILE}"
+ return 1
+ }
+
+ cat ${CFGFILE} | grep -v "^#" | \
+ while read LINE; do
+
+ eval `echo "$LINE" | sed -n "s/\(.*\)\ \(.*\) \(.*\)\ \(.*\)\ \(.*\)\ \(.*\)/TTYPE=\1 ; TUSER=\2; TGROUP=\3; TMODE=\4; TNAME=\5 TLTARGET=\6/p"`
+
+ [ "${VERBOSE}" != "no" ] && echo "Checking for -${TNAME}-."
+
+
+ [ "${TTYPE}" = "l" ] && {
+ TSOURCE="$TLTARGET"
+ [ -L "${TNAME}" ] || {
+ [ "${VERBOSE}" != "no" ] && echo "Creating link -${TNAME}- pointing to -${TSOURCE}-."
+ link_file "${TSOURCE}" "${TNAME}"
+ }
+ continue
+ }
+
+ [ -L "${TNAME}" ] && {
+ [ "${VERBOSE}" != "no" ] && echo "Found link."
+ NEWNAME=`ls -l "${TNAME}" | sed -e 's/^.*-> \(.*\)$/\1/'`
+ echo ${NEWNAME} | grep -v "^/" >/dev/null && {
+ TNAME="`echo ${TNAME} | sed -e 's@\(.*\)/.*@\1@'`/${NEWNAME}"
+ [ "${VERBOSE}" != "no" ] && echo "Converted relative linktarget to absolute path -${TNAME}-."
+ } || {
+ TNAME="${NEWNAME}"
+ [ "${VERBOSE}" != "no" ] && echo "Using absolute link target -${TNAME}-."
+ }
+ }
+
+ case "${TTYPE}" in
+ "f") [ "${VERBOSE}" != "no" ] && echo "Creating file -${TNAME}-."
+ create_file "${TNAME}"
+ ;;
+ "d") [ "${VERBOSE}" != "no" ] && echo "Creating directory -${TNAME}-."
+ mk_dir "${TNAME}"
+ # Add check to see if there's an entry in fstab to mount.
+ ;;
+ *) [ "${VERBOSE}" != "no" ] && echo "Invalid type -${TTYPE}-."
+ continue
+ ;;
+ esac
+
+
+ done
+
+ return 0
+
+ }
+
+SKEL_DIR="/etc/volatile/skel"
+
+skel_mount() {
+ VOLATILE="$1"
+
+ [ -d "$VOLATILE" ] || mkdir -p "$VOLATILE"
+
+ mount -t tmpfs volatile "$VOLATILE" -omode=0755
+}
+
+skel_load() {
+ VOLATILE="$1"
+
+ if ! skel_mount "$VOLATILE"; then
+ echo "failed to mount $VOLATILE"
+ return 1
+ fi
+
+ cp -a "$SKEL_DIR"/* "$VOLATILE"/
+}
+
+skel_update() {
+ VOLATILE="$1"
+
+ if ! skel_mount "$VOLATILE"; then
+ echo "failed to update"
+ return 1
+ fi
+
+ echo -n "Populating volatile directory..."
+ for file in `ls -1 "${CFGDIR}" | sort`; do
+ apply_cfgfile "${CFGDIR}/${file}"
+ done
+ echo "done"
+
+ if [ -d "$SKEL_DIR" ]; then
+ rm -rf "$SKEL_DIR"
+ fi
+
+ mkdir -p "$SKEL_DIR"/tmp
+ cp -a "$VOLATILE"/* "$SKEL_DIR"/
+}
+
+populate() {
+ if [ -d "$SKEL_DIR"/tmp ]; then
+ skel_load /var/volatile
+ else
+ skel_update /var/volatile
+ fi
+
+ for d in /var/volatile/*
+ do
+ ln -sf "$d" /var
+ done
+
+ if ! test -L /tmp; then
+ rm -rf /tmp
+ ln -sf /var/tmp /tmp
+ fi
+}
+
+case "$1" in
+ start)
+ if grep -q "^volatile " /proc/mounts; then
+ echo "volatile directory is already mounted"
+ else
+ populate
+ fi
+ ;;
+ stop)
+ : # no-op
+ ;;
+ update)
+ if skel_update /var/volatile; then
+ umount /var/volatile
+ if grep -q "^volatile " /proc/mounts; then
+ cp -a "$SKEL_DIR"/* /var/volatile
+ fi
+ fi
+ ;;
+ *)
+ echo "Usage: /etc/init.d/populate-volatile {start|stop|update}"
+ ;;
+esac
+
+: exit 0
diff --git a/recipes/shr/initscripts-shr/reboot b/recipes/shr/initscripts-shr/reboot
new file mode 100644
index 0000000000..56278199be
--- /dev/null
+++ b/recipes/shr/initscripts-shr/reboot
@@ -0,0 +1,11 @@
+#! /bin/sh
+#
+# reboot Execute the reboot command.
+#
+# Version: @(#)reboot 2.75 22-Jun-1998 miquels@cistron.nl
+#
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+echo -n "Rebooting... "
+reboot -d -f -i
diff --git a/recipes/shr/initscripts-shr/rmnologin b/recipes/shr/initscripts-shr/rmnologin
new file mode 100644
index 0000000000..444145a26a
--- /dev/null
+++ b/recipes/shr/initscripts-shr/rmnologin
@@ -0,0 +1,14 @@
+#! /bin/sh
+#
+# rmnologin This script removes the /etc/nologin file as the last
+# step in the boot process.
+#
+# Version: @(#)rmnologin 1.00 22-Jun-1998 miquels@cistron.nl
+#
+
+if test -f /etc/nologin.boot
+then
+ rm -f /etc/nologin /etc/nologin.boot
+fi
+
+: exit 0
diff --git a/recipes/shr/initscripts-shr/save-rtc.sh b/recipes/shr/initscripts-shr/save-rtc.sh
new file mode 100644
index 0000000000..e786073051
--- /dev/null
+++ b/recipes/shr/initscripts-shr/save-rtc.sh
@@ -0,0 +1,5 @@
+#! /bin/sh
+/etc/init.d/hwclock.sh stop
+
+# Update the timestamp
+date +%2m%2d%2H%2M%Y > /etc/timestamp
diff --git a/recipes/shr/initscripts-shr/sendsigs b/recipes/shr/initscripts-shr/sendsigs
new file mode 100644
index 0000000000..c62a5cd37d
--- /dev/null
+++ b/recipes/shr/initscripts-shr/sendsigs
@@ -0,0 +1,17 @@
+#! /bin/sh
+#
+# sendsigs Kill all remaining processes.
+#
+# Version: @(#)sendsigs 2.75 22-Jun-1998 miquels@cistron.nl
+#
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+# Kill all processes.
+echo "Sending all processes the TERM signal..."
+killall5 -15
+sleep 5
+echo "Sending all processes the KILL signal..."
+killall5 -9
+
+: exit 0
diff --git a/recipes/shr/initscripts-shr/umountfs b/recipes/shr/initscripts-shr/umountfs
new file mode 100644
index 0000000000..ec75b0c4a4
--- /dev/null
+++ b/recipes/shr/initscripts-shr/umountfs
@@ -0,0 +1,18 @@
+#! /bin/sh
+#
+# umountfs Turn off swap and unmount all local filesystems.
+#
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+echo "Deactivating swap..."
+swapoff -a
+
+# We leave /proc mounted.
+echo "Unmounting local filesystems..."
+mount -o remount,ro /mnt/ram
+umount -f -a -r
+
+mount -o remount,ro /
+
+: exit 0
diff --git a/recipes/shr/initscripts-shr/umountnfs.sh b/recipes/shr/initscripts-shr/umountnfs.sh
new file mode 100644
index 0000000000..f5fe48aa74
--- /dev/null
+++ b/recipes/shr/initscripts-shr/umountnfs.sh
@@ -0,0 +1,28 @@
+#! /bin/sh
+#
+# umountnfs.sh Unmount all network filesystems.
+#
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+# Write a reboot record to /var/log/wtmp before unmounting
+halt -w
+
+echo "Unmounting remote filesystems..."
+
+test -f /etc/fstab && (
+
+#
+# Read through fstab line by line and unount network file systems
+#
+while read device mountpt fstype options
+do
+ if test "$fstype" = nfs || test "$fstype" = smbfs || test "$fstype" = ncpfs
+ then
+ umount -f $mountpt
+ fi
+done
+) < /etc/fstab
+
+: exit 0
+
diff --git a/recipes/shr/initscripts-shr/volatiles b/recipes/shr/initscripts-shr/volatiles
new file mode 100644
index 0000000000..fbcc858226
--- /dev/null
+++ b/recipes/shr/initscripts-shr/volatiles
@@ -0,0 +1,40 @@
+# This configuration file lists filesystem objects that should get verified
+# during startup and be created if missing.
+#
+# Every line must either be a comment starting with #
+# or a definition of format:
+# <type> <owner> <group> <mode> <path> <linksource>
+# where the items are separated by whitespace !
+#
+# <type> : d|f|l : (d)irectory|(f)ile|(l)ink
+#
+# A linking example:
+# l root root 0777 /var/test /tmp/testfile
+# f root root 0644 /var/test none
+#
+# Understanding links:
+# When populate-volatile is to verify/create a directory or file, it will first
+# check it's existence. If a link is found to exist in the place of the target,
+# the path of the target is replaced with the target the link points to.
+# Thus, if a link is in the place to be verified, the object will be created
+# in the place the link points to instead.
+# This explains the order of "link before object" as in the example above, where
+# a link will be created at /var/test pointing to /tmp/testfile and due to this
+# link the file defined as /var/test will actually be created as /tmp/testfile.
+d root root 0755 /var/volatile/cache none
+d root root 1777 /var/volatile/lock none
+d root root 0755 /var/volatile/log none
+d root root 0755 /var/volatile/run none
+d root root 1777 /var/volatile/tmp none
+l root root 0755 /var/cache /var/volatile/cache
+l root root 1777 /var/lock /var/volatile/lock
+l root root 0755 /var/log /var/volatile/log
+l root root 0755 /var/run /var/volatile/run
+l root root 1777 /var/tmp /var/volatile/tmp
+d root root 0755 /var/lock/subsys none
+f root root 0664 /var/log/wtmp none
+f root root 0644 /var/log/lastlog none
+f root root 0664 /var/run/utmp none
+l root root 0644 /etc/resolv.conf /var/run/resolv.conf
+f root root 0644 /var/run/resolv.conf none
+
diff --git a/recipes/shr/initscripts-shr_git.bb b/recipes/shr/initscripts-shr_git.bb
new file mode 100644
index 0000000000..46ea6529ba
--- /dev/null
+++ b/recipes/shr/initscripts-shr_git.bb
@@ -0,0 +1,107 @@
+DESCRIPTION = "SHR init scripts"
+SECTION = "base"
+PRIORITY = "required"
+DEPENDS = ""
+RDEPENDS = ""
+LICENSE = "GPL"
+PV = "0.0.1+${PR}-gitr${SRCREV}"
+PR = "r11"
+
+RPROVIDES_${PN} = "initscripts"
+RCONFLICTS_${PN} = "initscripts"
+RREPLACES_${PN} = "initscripts"
+
+SRC_URI = "file://alignment.sh \
+ file://bootmisc.sh \
+ file://checkroot.sh \
+ file://finish.sh \
+ file://functions \
+ file://g_ether.sh \
+ file://hostname.sh \
+ file://mountall.sh \
+ file://mountdevsubfs.sh \
+ file://mountkernfs.sh \
+ file://mountnfs.sh \
+ file://populate-volatile.sh \
+ file://devpts \
+ file://volatiles \
+ file://halt \
+ file://reboot \
+ file://rmnologin \
+ file://save-rtc.sh \
+ file://sendsigs \
+ file://umountfs \
+ file://umountnfs.sh \
+ "
+
+inherit base
+
+do_install () {
+#
+# Create directories and install device independent scripts
+#
+ install -d ${D}${sysconfdir}/init.d
+ install -d ${D}${sysconfdir}/rcS.d
+ install -d ${D}${sysconfdir}/rc0.d
+ install -d ${D}${sysconfdir}/rc1.d
+ install -d ${D}${sysconfdir}/rc2.d
+ install -d ${D}${sysconfdir}/rc3.d
+ install -d ${D}${sysconfdir}/rc4.d
+ install -d ${D}${sysconfdir}/rc5.d
+ install -d ${D}${sysconfdir}/rc6.d
+ install -d ${D}${sysconfdir}/default
+ install -d ${D}${sysconfdir}/default/volatiles
+
+ install -m 0755 ${WORKDIR}/alignment.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/bootmisc.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/checkroot.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/finish.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/functions ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/g_ether.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/hostname.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/mountall.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/mountnfs.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/mountdevsubfs.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/mountkernfs.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/populate-volatile.sh ${D}${sysconfdir}/init.d
+
+ install -m 0644 ${WORKDIR}/devpts ${D}${sysconfdir}/default/devpts
+ install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/00_core
+
+ install -m 0755 ${WORKDIR}/halt ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/reboot ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/rmnologin ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/save-rtc.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/sendsigs ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/umountfs ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/umountnfs.sh ${D}${sysconfdir}/init.d
+
+#
+# Create runlevel links
+#
+ ln -sf ../init.d/mountkernfs.sh ${D}${sysconfdir}/rcS.d/S01mountkernfs.sh
+ ln -sf ../init.d/g_ether.sh ${D}${sysconfdir}/rcS.d/S02g_ether.sh
+ ln -sf ../init.d/hostname.sh ${D}${sysconfdir}/rcS.d/S02hostname.sh
+ ln -sf ../init.d/checkroot.sh ${D}${sysconfdir}/rcS.d/S02checkroot.sh
+ ln -sf ../init.d/mountdevsubfs.sh ${D}${sysconfdir}/rcS.d/S04mountdevsubfs.sh
+ ln -sf ../init.d/alignment.sh ${D}${sysconfdir}/rcS.d/S06alignment.sh
+ ln -sf ../init.d/mountall.sh ${D}${sysconfdir}/rcS.d/S35mountall.sh
+ ln -sf ../init.d/populate-volatile.sh ${D}${sysconfdir}/rcS.d/S37populate-volatile.sh
+ ln -sf ../init.d/mountnfs.sh ${D}${sysconfdir}/rcS.d/S45mountnfs.sh
+ ln -sf ../init.d/bootmisc.sh ${D}${sysconfdir}/rcS.d/S55bootmisc.sh
+ ln -sf ../init.d/finish.sh ${D}${sysconfdir}/rcS.d/S99finish.sh
+
+ ln -sf ../init.d/rmnologin ${D}${sysconfdir}/rc5.d/S99rmnologin
+
+ ln -sf ../init.d/sendsigs ${D}${sysconfdir}/rc0.d/S20sendsigs
+ ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rc0.d/S25save-rtc.sh
+ ln -sf ../init.d/umountnfs.sh ${D}${sysconfdir}/rc6.d/S31umountnfs.sh
+ ln -sf ../init.d/umountfs ${D}${sysconfdir}/rc0.d/S40umountfs
+ ln -sf ../init.d/halt ${D}${sysconfdir}/rc0.d/S90halt
+
+ ln -sf ../init.d/sendsigs ${D}${sysconfdir}/rc6.d/S20sendsigs
+ ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rc6.d/S25save-rtc.sh
+ ln -sf ../init.d/umountnfs.sh ${D}${sysconfdir}/rc6.d/S31umountnfs.sh
+ ln -sf ../init.d/umountfs ${D}${sysconfdir}/rc6.d/S40umountfs
+ ln -sf ../init.d/reboot ${D}${sysconfdir}/rc6.d/S90reboot
+}
diff --git a/recipes/shr/libphone-utils_git.bb b/recipes/shr/libphone-utils_git.bb
new file mode 100644
index 0000000000..7cf26ffec1
--- /dev/null
+++ b/recipes/shr/libphone-utils_git.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "phone-utils library"
+SECTION = "libs"
+PV = "0.0.2+gitr${SRCREV}"
+PR = "r2"
+
+DEPENDS="glib-2.0"
+
+inherit pkgconfig autotools autotools_stage
+
+CONFFILES_${PN} = "${sysconfdir}/phone-utils.conf"
+SRC_URI = "git://git.shr-project.org/repo/libphone-utils.git;protocol=http;branch=master"
+S="${WORKDIR}/git"