am f39713c8: Use the filesystem manager to mount and check filesystems

* commit 'f39713c87feb3a9441f8640b97fc0e8876815ad4':
  Use the filesystem manager to mount and check filesystems
diff --git a/device.mk b/device.mk
index 708dd43..7e7eb90 100644
--- a/device.mk
+++ b/device.mk
@@ -28,6 +28,7 @@
 	device/ti/panda/ueventd.omap4pandaboard.rc:root/ueventd.omap4pandaboard.rc \
 	device/ti/panda/media_profiles.xml:system/etc/media_profiles.xml \
 	device/ti/panda/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \
+        device/ti/panda/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
 	frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
 	frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
 	frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
@@ -77,6 +78,11 @@
 	hciconfig \
 	hcitool
 
+PRODUCT_PACKAGES += send_bug
+PRODUCT_COPY_FILES += \
+	system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \
+	system/extras/bugmailer/send_bug:system/bin/send_bug
+
 $(call inherit-product-if-exists, vendor/ti/panda/device-vendor.mk)
 $(call inherit-product, frameworks/native/build/tablet-dalvik-heap.mk)
 $(call inherit-product, hardware/ti/omap4xxx/omap4.mk)
diff --git a/gpio-keys.kl b/gpio-keys.kl
new file mode 100644
index 0000000..f7d7324
--- /dev/null
+++ b/gpio-keys.kl
@@ -0,0 +1,15 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+key 102   HOME       WAKE
diff --git a/init.omap4pandaboard.rc b/init.omap4pandaboard.rc
index fd16fc4..f6d0b73 100644
--- a/init.omap4pandaboard.rc
+++ b/init.omap4pandaboard.rc
@@ -25,15 +25,23 @@
 	mount_all /fstab.omap4pandaboard
 
 # change permissions for Bluetooth/FM/GPS
-    chmod 0600 /sys/class/rfkill/rfkill0/state
-    chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
-    chmod 0600 /dev/ttyO1
-    chown bluetooth bluetooth /dev/ttyO1
+	chmod 0600 /sys/class/rfkill/rfkill0/state
+	chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
+	chmod 0600 /dev/ttyO1
+	chown bluetooth bluetooth /dev/ttyO1
 
 
 # take a wakelock on boot until PM is working
 	write /sys/power/wake_lock hack
 
+# bugreport is triggered by holding down the user button and left mouse button
+service bugreport /system/bin/bugmailer.sh -v
+	class main
+	disabled
+	oneshot
+	keycodes 102 272
+
+
 service pvrsrvinit /vendor/bin/pvrsrvinit
 	class core
 	user root
diff --git a/kernel b/kernel
index e4001ef..81e3635 100755
--- a/kernel
+++ b/kernel
Binary files differ
diff --git a/self-extractors/generate-packages.sh b/self-extractors/generate-packages.sh
index da477e0..53c6b50 100755
--- a/self-extractors/generate-packages.sh
+++ b/self-extractors/generate-packages.sh
@@ -16,9 +16,8 @@
 
 (cd ../../../../out/target/product/panda ; zip -r ../../../../device/ti/panda/self-extractors/full_panda-pseudo_ota.zip system)
 
-# 147483 = IRK19
 ZIP=full_panda-pseudo_ota.zip
-BUILD=master
+BUILD=imm76i
 ROOTDEVICE=panda
 DEVICE=panda
 MANUFACTURER=ti