[pkg-fso-maint] [debian] 2009-09-20 install from scratch: successful with some tweaks

Steffen Moeller steffen_moeller at gmx.de
Sun Sep 20 22:06:25 UTC 2009


Hello Erich,

many thanks for your nice comments! And good to hear that things are working
out for for you

e.waelde wrote:
> md5sum install.sh
> 39119984983268b3e91d098562285170  install.sh
> 
> summary:
> HOSTNAME=neo \
> SD_SWAP_SIZE=512 \
> INST_MIRROR=http://192.168.10.1:9999/debian \
> FSO_MIRROR=http://pkg-fso.alioth.debian.org/debian \
> RDATEHOST=192.168.10.1 \
> VERBOSE=1 \
> ZHONE=true \
> TASKS="GPS,NET,TEXT" \
> time ./install.sh  all < /dev/null
> 
> completes successfully without any intervention (took 2 hours on slow connection).
> Please note, that I removed the LOCALEPURGE option, because localepurge needs
> manual interaction.

and localepurge does not even get installed with that action any more ... there
should be a way to circumvent that manual interference ...

> Before rebooting I tweaked the following files (as seen from chroot /mnt/debian):
> * /usr/bin/zhone
>   changed
>   -#!/usr/bin/python2.4
>   +#!/usr/bin/python
>   the installed version is 2.5.
>   ==> zhone starts immediately after reboot

I'll leave that for the zhone maintainers to fix. It should not be install.sh
to care for this - bug?
> 
> * /etc/freesmartphone/oevents/rules.yaml
>   disabled the suspend rule when pressing POWER. This way, the menu will
>   always be shown, no accidential suspends and
>   ==> screen unlocking (press AUX short, then press POWER short) will
>       indeed work!

this is soooo annoying that I will add it to install.sh

> * /etc/frameworkd.conf
>   disabled the automatic screen lock.
>   -idle_prelock = 12
>   -lock = 2
>   +idle_prelock = 0
>   +lock = 0
>   to avoid locking for now. I can still get the lock via the lock icon.

I'll add that to install.sh, too.

> * /root/.panel-pluginrc
>   added "usb" and "battery"

added to install.sh

> * /usr/share/pyshared/framework/subsystems/ogpsd/ubx.py
>   corrected 2 entries in the ephemeris table according to
>   http://git.freesmartphone.org/?p=framework.git;a=commitdiff;h=5271e445b327c2132eee6a1f43fcf58c37c67e00

whow - but another thing for the regular maintainer.

> The trayer bar is now at the bottom of the screen. So trayer is back
> in a different screen location.

I just added the "--edge-top" option back in

> Pressing AUX produces a matchbox-keyboard.
> Pressing AUX again produces another:
> Workaround:
> start "config" from the trayer icon
>> Buttons
> [X] Handle AUX button
> [X] Handle short press "external"
> "exec /usr/bin/matchbox-keyboard"
> ^^^^^ change the entry to have "exec" up front. Then pressing AUX short will
> produce a keyborad, pressing AUX again will remove the existing.
> 
> This change shows up in /root/.panel-pluginrc:
> handleauxshortexternalcommand = exec /usr/bin/matchbox-keyboard

added to install.sh
> 
> 
> Please find the above changes as diff output below.
> 
> Thanks to everyone for providing various bits and pieces of this
> installation report.

And thanks for your summary, Erich. I am CCing pkg-fso-main, who I am confident
to know where your suggested changes should go.

For some unknown reason I cannot ssh into my latest install .. strange.

Best

Steffen

> --- test_install.sh ------------------------------------------------------------
> #!/bin/sh
> 
> file=install.$(date +%Y%m%d).log
>> $file
> exec > $file 2>&1
> 
> set -vx
> wget -O install.sh http://pkg-fso.alioth.debian.org/freerunner/install.sh
> chmod 0755 install.sh
> date
> ls -l install.sh
> md5sum install.sh
> cat /etc/issue
> uname -a
> 
> HOSTNAME=neo \
> SD_SWAP_SIZE=512 \
> INST_MIRROR=http://192.168.10.1:9999/debian \
> FSO_MIRROR=http://pkg-fso.alioth.debian.org/debian \
> RDATEHOST=192.168.10.1 \
> VERBOSE=1 \
> ZHONE=true \
> TASKS="GPS,NET,TEXT" \
> time ./install.sh  all < /dev/null
> ----------------------------------------------------------------------------------
> --- diffs ------------------------------------------------------------------------
> root at om-gta02:/mnt/debian# diff -Naur ./usr/bin/zhone.orig ./usr/bin/zhone
> --- ./usr/bin/zhone.orig        Tue Sep 15 17:03:03 2009
> +++ ./usr/bin/zhone     Sun Sep 20 18:46:11 2009
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python2.4
> +#!/usr/bin/python
>  # -*- coding: utf-8 -*-
>  """
>  Zen Phone - A Phone UI
> root at om-gta02:/mnt/debian# diff -Naur ./etc/freesmartphone/oevents/rules.yaml.orig ./etc/freesmartphone/oevents/rules.yaml
> --- ./etc/freesmartphone/oevents/rules.yaml.orig        Mon Jun  8 03:07:32 2009
> +++ ./etc/freesmartphone/oevents/rules.yaml     Sun Sep 20 18:52:21 2009
> @@ -24,16 +24,16 @@
>  -
>      trigger: Time(12,29)
>      actions: Debug("A Test")
> --
> -    #
> -    # Suspend Handling
> -    #
> -    trigger: InputEvent()
> -    filters:
> -             - HasAttr(switch, "POWER")
> -             - HasAttr(event, "released")
> -             - HasAttr(duration, 0)
> -    actions: Suspend()
> +#-
> +#    #
> +#    # Suspend Handling
> +#    #
> +#    trigger: InputEvent()
> +#    filters:
> +#             - HasAttr(switch, "POWER")
> +#             - HasAttr(event, "released")
> +#             - HasAttr(duration, 0)
> +#    actions: Suspend()
>  -
>      #
>      # Call -> Audio Scenario Handling
> root at om-gta02:/mnt/debian# diff -Naur ./etc/frameworkd.conf.orig ./etc/frameworkd.conf
> --- ./etc/frameworkd.conf.orig  Sun Sep 20 18:55:42 2009
> +++ ./etc/frameworkd.conf       Sun Sep 20 18:56:16 2009
> @@ -45,8 +45,8 @@
>  # means 'never fall into this state' (except programatically)
>  idle = 10
>  idle_dim = 20
> -idle_prelock = 12
> -lock = 2
> +idle_prelock = 0
> +lock = 0
>  suspend = 0
> 
>  [odeviced.input]
> root at om-gta02:/mnt/debian# diff -Naur ./root/.panel-pluginrc.orig ./root/.panel-pluginrc
> --- ./root/.panel-pluginrc.orig Sun Sep 20 17:15:18 2009
> +++ ./root/.panel-pluginrc      Sun Sep 20 18:58:11 2009
> @@ -1,2 +1,2 @@
>  [main]
> -plugins = buttons, gsm, wifi, gps, keyboard, brightness, screenlock, bluetooth
> +plugins = battery, usb, buttons, gsm, wifi, gps, keyboard, brightness, screenlock, bluetooth
> root at om-gta02:/mnt/debian# diff -Naur ./usr/share/pyshared/framework/subsystems/ogpsd/ubx.py.orig ./usr/share/pyshared/framework
> /subsystems/ogpsd/ubx.py
> --- ./usr/share/pyshared/framework/subsystems/ogpsd/ubx.py.orig Sun Sep 20 19:05:17 2009
> +++ ./usr/share/pyshared/framework/subsystems/ogpsd/ubx.py      Sun Sep 20 19:06:41 2009
> @@ -165,7 +165,7 @@
>      ("RXM-EPH", 104) :
>          ["<" + "I"*26, ["SVID", "HOW", "SF1D0", "SF1D1", "SF1D2", "SF1D3", "SF1D4",
>              "SF1D5", "SF1D6", "SF1D7", "SF2D0", "SF2D1", "SF2D2", "SF2D3", "SF2D4",
> -            "SF2D5", "SF2D6", "SF1D7", "SF3D0", "SF3D1", "SF3D2", "SF3D3", "SF3D4", "SF3D5", "SF3D6", "SF3D7"]],
> +            "SF2D5", "SF2D6", "SF2D7", "SF3D0", "SF3D1", "SF3D2", "SF3D3", "SF3D4", "SF3D5", "SF3D6", "SF3D7"]],
>      ("INF-ERROR", None) :
>          [0, "", [], 1, "c", ["Char"]],
>      ("INF-WARNING", None) :
> @@ -255,7 +255,7 @@
>      ("AID-EPH", 104) :
>          ["<" + "I"*26, ["SVID", "HOW", "SF1D0", "SF1D1", "SF1D2", "SF1D3", "SF1D4",
>              "SF1D5", "SF1D6", "SF1D7", "SF2D0", "SF2D1", "SF2D2", "SF2D3", "SF2D4",
> -            "SF2D5", "SF2D6", "SF1D7", "SF3D0", "SF3D1", "SF3D2", "SF3D3", "SF3D4", "SF3D5", "SF3D6", "SF3D7"]]
> +            "SF2D5", "SF2D6", "SF2D7", "SF3D0", "SF3D1", "SF3D2", "SF3D3", "SF3D4", "SF3D5", "SF3D6", "SF3D7"]]
>  # TIM - Timekeeping
>  }
> 
> ----------------------------------------------------------------------------------
> 
> _______________________________________________
> Smartphones-userland mailing list
> Smartphones-userland at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland




More information about the pkg-fso-maint mailing list