+kernel-power (2.6.28-bfs1) fremantle; urgency=low
+
+ * Rename to avoid collision with kernel-power
+
+ -- Corey O'Connor <coreyoconnor@gmail.com> Mon, 04 Oct 2010 16:50:00 +0800
+
kernel-power (2.6.28-maemo40.bfs0) fremantle; urgency=low
* BFS version of 2.6.28-maemo40
-Source: kernel-power
+Source: kernel-bfs
Section: utils
Priority: optional
Maintainer: Thomas Tanner <maemo@tannerlab.com>
Build-Depends: debhelper (>= 4.0.0), quilt, sdk-fiasco-gen, libncurses5-dev
Standards-Version: 3.8.0
-Package: kernel-power-flasher
+Package: kernel-bfs-flasher
Section: user/system
Architecture: armel
-Pre-Depends: kernel-power (= ${binary:Version}), kernel-power-modules (= ${binary:Version}), softupd (>= 0.4.0), maemo-installer-utils
+Pre-Depends: kernel-bfs (= ${binary:Version}), kernel-bfs-modules (= ${binary:Version}), softupd (>= 0.4.0), maemo-installer-utils
Depends: sudo
Conflicts: kernel-flasher-maemo (<= 2.6.28-maemo22), kernel-maemo, kernel-modules-maemo, kernel-headers-maemo, linux-kernel-headers-maemo
Recommends: kernel-power-settings, usbip, iptables, mtd-utils, kexec-tools
MDItMDZUMTk6Mjk6MjMrMDE6MDBL9SgPAAAAJXRFWHRtb2RpZnktZGF0ZQAy
MDA5LTA5LTI3VDA5OjM1OjM0KzAyOjAwrPojkwAAAABJRU5ErkJggg==
-Package: kernel-power
+Package: kernel-bfs
Architecture: armel
Conflicts: kernel-maemo
Description: Flashable Linux kernel
This package provides a flashable kernel image.
Use the kernel-flasher-maemo package to automatically flash it.
-Package: kernel-power-bootimg
+Package: kernel-bfs-bootimg
Architecture: armel
Description: Linux kernel boot image
This package provides a bootable and flashable kernel image for kexec and
flashing via USB cable in /boot.
This package is optional and only useful for multiboot or experts.
-Package: kernel-power-headers
+Package: kernel-bfs-headers
Architecture: armel
Depends: ${shlibs:Depends}
Conflicts: kernel-headers-maemo
Description: Linux kernel headers
This package provides kernel headers.
-Package: linux-kernel-power-headers
+Package: linux-kernel-bfs-headers
Architecture: armel
Depends: ${shlibs:Depends}
Conflicts: linux-kernel-headers-maemo
This package provides headers from the Linux kernel. These headers
are used by the installed headers for GNU glibc and other system libraries.
-Package: kernel-power-modules
+Package: kernel-bfs-modules
Architecture: armel
Conflicts: kernel-modules-maemo
Depends: module-init-tools (>= 3.3), kernel-power (= ${binary:Version}) | kernel-power-bootimg (= ${binary:Version})
--- /dev/null
+#!/bin/sh
+tmp=/tmp/kernel-deinstall
+cat > $tmp <<EOF
+This program will remove the enhanced power-user Linux kernel
+and restore the original Nokia kernel.
+The settings will be kept but will have no effect.
+Warning: This deinstallation method is currently experimental and could lead to a bricked device.
+For a safe but manual deinstallation method please visit http://wiki.maemo.org/Kernel_Power
+
+For the deinstallation please make sure that you are connected to
+the Internet and that Application Manager is not running.
+
+If you want keep the enhanced kernel, cancel the installation now
+by tapping the blurred area above this dialog.
+Otherwise confirm the dialog to proceed with the deinstallation.
+
+After the installation, you need to unplug the USB cable,
+completely shutdown your device, and boot again to activate the original Nokia kernel.
+EOF
+maemo-confirm-text "Kernel-Power Flasher" $tmp
+res=$?
+rm -f $tmp
+dbus="run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications"
+dbusmsg () { $dbus org.freedesktop.Notifications.SystemNoteInfoprint string:"$1"; }
+dbusbox () { $dbus org.freedesktop.Notifications.SystemNoteDialog string:"$1" uint32:0 string:OK; }
+
+if test "$res" != 0; then
+ dbusmsg "User has cancelled the deinstallation. No changes were made."
+ exit 1
+fi
+
+if pgrep -f /usr/bin/hildon-application-manager > /dev/null; then
+ dbusbox "Error: Application Manager is running. Please close it before deinstallation."
+ exit 1
+fi
+if pgrep -f apt-worker > /dev/null; then
+ dbusbox "Error: apt is running. Please wait and try again later."
+ exit 1
+fi
+
+dbusmsg "Please wait while restoring Nokia kernel..."
+
+apt-get install --reinstall -y kernel kernel-flasher > $tmp
+ok=$?
+cat $tmp
+if grep -qE "(Could not resolve host|cannot be downloaded)" $tmp; then
+ dbusbox "Error during deinstallation: Could not download Nokia kernel. Please make sure the internet connection is working."
+ rm $tmp
+ exit 1
+fi
+if test $ok = 0 && grep -q "Image flashed successfully" $tmp; then :
+else
+ dbusbox "Error during deinstallation: Could not install Nokia kernel."
+ rm $tmp
+ exit 1
+fi
+dbusmsg "Nokia kernel was restored. Removing enhanced kernel packages..."
+apt-get remove -y kernel-power kernel-power-modules > $tmp
+ok=$?
+cat $tmp
+if test $ok = 0; then
+ dbusbox "Kernel sucessfully deinstalled. Nokia kernel was restored."
+else
+ dbusbox "Warning: Nokia kernel was restored but could not remove enhanced kernel."
+fi
+rm $tmp
+exit $ok
--- /dev/null
+[Desktop Entry]
+Version=0.1
+Type=Application
+Name=Deinstall Kernel-Power
+Exec=sudo /usr/sbin/kernel-power-deinstall
+X-Osso-Type=application/x-executable
+Terminal=false
--- /dev/null
+debian/kernel-power-deinstall /usr/sbin
+debian/kernel-power-deinstall.desktop /usr/share/applications/hildon
+debian/kernel-power-flasher.sudoers /etc/sudoers.d
--- /dev/null
+#!/bin/sh
+
+set -e
+
+KERNEL=/boot/zImage-@VERSION@.fiasco
+
+FLASHER=/sbin/fiasco-image-update
+
+# they say this is The Right Way (tm) to check for
+# scratchbox environment
+if [ -L /targets/links/scratchbox.config ]; then
+ # hehe
+ true
+else
+ if [ -f $KERNEL -a -x $FLASHER ]; then
+ $FLASHER $KERNEL
+ fi
+fi
+
+update-sudoers
+
+#DEBHELPER#
+
--- /dev/null
+#!/bin/sh
+
+test "$1" = install || exit 0 # upgrades are fine
+f=/tmp/kernel-power-msg
+cat > $f <<EOF
+This package will install an enhanced Linux kernel,
+with many additional features and bugfixes.
+By default, all extra features are disabled
+but they can be enabled by the user during runtime.
+For more details please read the package description or
+visit http://wiki.maemo.org/Kernel_Power
+
+Warning: The kernel is an essential component of your device
+and a misconfiguration of it may brick your device
+and could require reflashing the firmware in the worst case.
+This kernel, however, is very stable and installation should be safe.
+
+If you want keep the current kernel, cancel the installation now
+by tapping the blurred area above this dialog.
+
+After the installation, you need to unplug the USB cable,
+completely shutdown your device, and boot again to activate the kernel.
+EOF
+maemo-confirm-text "Kernel-Power Flasher" $f
+res=$?
+rm -f $f
+exit $res
--- /dev/null
+#!/bin/sh
+
+test "$1" = remove || exit 0
+dbusmsg="run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint"
+
+if pgrep -f /usr/bin/hildon-application-manager > /dev/null; then
+ $dbusmsg string:"This package can only be deinstalled with the application 'Deinstall Kernel-Power'."
+ exit 1
+fi
--- /dev/null
+user ALL = NOPASSWD: /usr/sbin/kernel-power-deinstall
--- /dev/null
+debian/blacklist /etc/modprobe.d
--- /dev/null
+#!/bin/sh
+
+set -e
+
+cd /lib/modules
+
+rm -f /lib/modules/current
+ls -1d * | grep -v current | while read i; do
+ /sbin/depmod $i || :
+done
+ln -s @KVER@ /lib/modules/current
+
+if grep -q "MODULE_PATH=/lib/modules/current" /sbin/preinit; then
+ sed 's%MODULE_PATH=/lib/modules/current%MODULE_PATH=/lib/modules/`uname -r` #fixed by kernel-power%' /sbin/preinit > /sbin/preinit.tmp && \
+ chmod +x /sbin/preinit.tmp && \
+ mv /sbin/preinit.tmp /sbin/preinit
+fi
+
+#DEBHELPER#
+
--- /dev/null
+#!/bin/sh
+
+#set -e
+
+test -d /lib/modules/@KVER@ && rm -f /lib/modules/@KVER@/modules.*
+rm -f /lib/modules/current
+ln -s 2.6.28-omap1 /lib/modules/current
+
+if test "$1" != upgrade && grep -q 'MODULE_PATH=/lib/modules/`uname -r`' /sbin/preinit; then
+ sed 's%MODULE_PATH=/lib/modules/`uname -r` #fixed by kernel-power%MODULE_PATH=/lib/modules/current%' /sbin/preinit > /sbin/preinit.tmp && \
+ chmod +x /sbin/preinit.tmp && \
+ mv /sbin/preinit.tmp /sbin/preinit
+fi
+
+#DEBHELPER#
+
+++ /dev/null
-#!/bin/sh
-tmp=/tmp/kernel-deinstall
-cat > $tmp <<EOF
-This program will remove the enhanced power-user Linux kernel
-and restore the original Nokia kernel.
-The settings will be kept but will have no effect.
-Warning: This deinstallation method is currently experimental and could lead to a bricked device.
-For a safe but manual deinstallation method please visit http://wiki.maemo.org/Kernel_Power
-
-For the deinstallation please make sure that you are connected to
-the Internet and that Application Manager is not running.
-
-If you want keep the enhanced kernel, cancel the installation now
-by tapping the blurred area above this dialog.
-Otherwise confirm the dialog to proceed with the deinstallation.
-
-After the installation, you need to unplug the USB cable,
-completely shutdown your device, and boot again to activate the original Nokia kernel.
-EOF
-maemo-confirm-text "Kernel-Power Flasher" $tmp
-res=$?
-rm -f $tmp
-dbus="run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications"
-dbusmsg () { $dbus org.freedesktop.Notifications.SystemNoteInfoprint string:"$1"; }
-dbusbox () { $dbus org.freedesktop.Notifications.SystemNoteDialog string:"$1" uint32:0 string:OK; }
-
-if test "$res" != 0; then
- dbusmsg "User has cancelled the deinstallation. No changes were made."
- exit 1
-fi
-
-if pgrep -f /usr/bin/hildon-application-manager > /dev/null; then
- dbusbox "Error: Application Manager is running. Please close it before deinstallation."
- exit 1
-fi
-if pgrep -f apt-worker > /dev/null; then
- dbusbox "Error: apt is running. Please wait and try again later."
- exit 1
-fi
-
-dbusmsg "Please wait while restoring Nokia kernel..."
-
-apt-get install --reinstall -y kernel kernel-flasher > $tmp
-ok=$?
-cat $tmp
-if grep -qE "(Could not resolve host|cannot be downloaded)" $tmp; then
- dbusbox "Error during deinstallation: Could not download Nokia kernel. Please make sure the internet connection is working."
- rm $tmp
- exit 1
-fi
-if test $ok = 0 && grep -q "Image flashed successfully" $tmp; then :
-else
- dbusbox "Error during deinstallation: Could not install Nokia kernel."
- rm $tmp
- exit 1
-fi
-dbusmsg "Nokia kernel was restored. Removing enhanced kernel packages..."
-apt-get remove -y kernel-power kernel-power-modules > $tmp
-ok=$?
-cat $tmp
-if test $ok = 0; then
- dbusbox "Kernel sucessfully deinstalled. Nokia kernel was restored."
-else
- dbusbox "Warning: Nokia kernel was restored but could not remove enhanced kernel."
-fi
-rm $tmp
-exit $ok
+++ /dev/null
-[Desktop Entry]
-Version=0.1
-Type=Application
-Name=Deinstall Kernel-Power
-Exec=sudo /usr/sbin/kernel-power-deinstall
-X-Osso-Type=application/x-executable
-Terminal=false
+++ /dev/null
-debian/kernel-power-deinstall /usr/sbin
-debian/kernel-power-deinstall.desktop /usr/share/applications/hildon
-debian/kernel-power-flasher.sudoers /etc/sudoers.d
+++ /dev/null
-#!/bin/sh
-
-set -e
-
-KERNEL=/boot/zImage-@VERSION@.fiasco
-
-FLASHER=/sbin/fiasco-image-update
-
-# they say this is The Right Way (tm) to check for
-# scratchbox environment
-if [ -L /targets/links/scratchbox.config ]; then
- # hehe
- true
-else
- if [ -f $KERNEL -a -x $FLASHER ]; then
- $FLASHER $KERNEL
- fi
-fi
-
-update-sudoers
-
-#DEBHELPER#
-
+++ /dev/null
-#!/bin/sh
-
-test "$1" = install || exit 0 # upgrades are fine
-f=/tmp/kernel-power-msg
-cat > $f <<EOF
-This package will install an enhanced Linux kernel,
-with many additional features and bugfixes.
-By default, all extra features are disabled
-but they can be enabled by the user during runtime.
-For more details please read the package description or
-visit http://wiki.maemo.org/Kernel_Power
-
-Warning: The kernel is an essential component of your device
-and a misconfiguration of it may brick your device
-and could require reflashing the firmware in the worst case.
-This kernel, however, is very stable and installation should be safe.
-
-If you want keep the current kernel, cancel the installation now
-by tapping the blurred area above this dialog.
-
-After the installation, you need to unplug the USB cable,
-completely shutdown your device, and boot again to activate the kernel.
-EOF
-maemo-confirm-text "Kernel-Power Flasher" $f
-res=$?
-rm -f $f
-exit $res
+++ /dev/null
-#!/bin/sh
-
-test "$1" = remove || exit 0
-dbusmsg="run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint"
-
-if pgrep -f /usr/bin/hildon-application-manager > /dev/null; then
- $dbusmsg string:"This package can only be deinstalled with the application 'Deinstall Kernel-Power'."
- exit 1
-fi
+++ /dev/null
-user ALL = NOPASSWD: /usr/sbin/kernel-power-deinstall
+++ /dev/null
-debian/blacklist /etc/modprobe.d
+++ /dev/null
-#!/bin/sh
-
-set -e
-
-cd /lib/modules
-
-rm -f /lib/modules/current
-ls -1d * | grep -v current | while read i; do
- /sbin/depmod $i || :
-done
-ln -s @KVER@ /lib/modules/current
-
-if grep -q "MODULE_PATH=/lib/modules/current" /sbin/preinit; then
- sed 's%MODULE_PATH=/lib/modules/current%MODULE_PATH=/lib/modules/`uname -r` #fixed by kernel-power%' /sbin/preinit > /sbin/preinit.tmp && \
- chmod +x /sbin/preinit.tmp && \
- mv /sbin/preinit.tmp /sbin/preinit
-fi
-
-#DEBHELPER#
-
+++ /dev/null
-#!/bin/sh
-
-#set -e
-
-test -d /lib/modules/@KVER@ && rm -f /lib/modules/@KVER@/modules.*
-rm -f /lib/modules/current
-ln -s 2.6.28-omap1 /lib/modules/current
-
-if test "$1" != upgrade && grep -q 'MODULE_PATH=/lib/modules/`uname -r`' /sbin/preinit; then
- sed 's%MODULE_PATH=/lib/modules/`uname -r` #fixed by kernel-power%MODULE_PATH=/lib/modules/current%' /sbin/preinit > /sbin/preinit.tmp && \
- chmod +x /sbin/preinit.tmp && \
- mv /sbin/preinit.tmp /sbin/preinit
-fi
-
-#DEBHELPER#
-
PATCHLEVEL = 6
SUBLEVEL = 28
-EXTRAVERSION =
-+EXTRAVERSION = power-bfs
++EXTRAVERSION = bfs
NAME = Erotic Pickled Herring
# *DOCUMENTATION*
WEEK := $(shell date +%Y%W)
RELEASE := $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }')
-REVISION := $(shell echo "$(RELEASE)" | sed 's/\(.*\)-maemo\(.*\)/.10power\2/')
-#REVISION := $(shell echo "$(RELEASE)" | sed 's/\(.*\)-maemo\(.*\)/.10powerusb\2/')
+REVISION := $(shell echo "$(RELEASE)" | sed 's/\(.*\)-maemo\(.*\)/.10bfs\2/')
EXTRAVERSION := EXTRAVERSION=$(REVISION)
PACKAGE := kernel
-FLASHER_PACKAGE := kernel-power-flasher
+FLASHER_PACKAGE := kernel-bfs-flasher
#SOURCE_PACKAGE := $(PACKAGE)-source
-KERNEL_PACKAGE := $(PACKAGE)-power
-BOOTIMG_PACKAGE := $(PACKAGE)-power-bootimg
-MODULES_PACKAGE := $(PACKAGE)-power-modules
-HEADERS_PACKAGE := $(PACKAGE)-power-headers
-KBUILD_PACKAGE := $(PACKAGE)-power-kbuild
-LIBC_PACKAGE := linux-kernel-power-headers
+KERNEL_PACKAGE := $(PACKAGE)-bfs
+BOOTIMG_PACKAGE := $(PACKAGE)-bfs-bootimg
+MODULES_PACKAGE := $(PACKAGE)-bfs-modules
+HEADERS_PACKAGE := $(PACKAGE)-bfs-headers
+KBUILD_PACKAGE := $(PACKAGE)-bfs-kbuild
+LIBC_PACKAGE := linux-kernel-bfs-headers
BUILDTMP := $(CURDIR)/debian/build
#KSRC := $(BUILDTMP)/$(PACKAGE)