[pkg-fso-maint] Fwd: Fwd: [debian] unexpected troubles

Neil Jerram neiljerram at googlemail.com
Wed Oct 14 20:05:08 UTC 2009


Attached is a patch for the problem described below.

Regards,
      Neil


---------- Forwarded message ----------
From: Neil Jerram <neiljerram at googlemail.com>
Date: 2009/10/14
Subject: Re: Fwd: [debian] unexpected troubles
To: Al Johnson <alastair at truebox.co.uk>
Cc: smartphones-userland at linuxtogo.org


2009/10/14 Neil Jerram <neiljerram at googlemail.com>:
> 2009/10/14 Al Johnson <alastair at truebox.co.uk>:
>
>> There was a recent report where
>> this was the problem, and forcing reinstall of fso-config-gta02 fixed it. It's
>> not clear at the moment how it became empty, so worth a look.
>
> I'll try the reinstall a bit later.  Is there anything I should do
> before that, to try to shed light on how it became empty?

It could be caused by these lines from install.sh:

       echo " * Disabling automated screen lock " # FIXME: should
become optional
       if [ -r "$INST_DIR"/etc/frameworkd.conf.orig ]; then
               chroot "$INST_DIR" cp /etc/frameworkd.conf
/etc/frameworkd.conf.orig
       fi
       cat "$INST_DIR"/etc/frameworkd.conf.orig | sed -e
's/^idle_prelock.*/idle_prelock = 0/' -e 's/^lock.*/lock = 0/' >
"$INST_DIR"/etc/frameworkd.conf

IIUC, if /etc/frameworkd.conf.orig doesn't exist in the first place,
these lines will generate an empty frameworkd.conf.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-generate-an-empty-etc-frameworkd.conf.patch
Type: text/x-diff
Size: 1121 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20091014/5ebb784a/attachment.patch>


More information about the pkg-fso-maint mailing list