[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [devel] Daily CVS update
Good evening,
Now inaugurating the daily update explanation :)
On Sat, 23 Aug 2008 18:00:37 +0200 (CEST) defora@xxxxxxxxxxxxx wrote:
>
> Updating CVS module DeforaOS:
> P build.sh
> P Apps/Devel/src/scripts/src/deforaos-build.sh
> U Apps/Devel/src/scripts/targets/Linux
> U Apps/Devel/src/scripts/targets/Linux-arm
> U Apps/Devel/src/scripts/targets/Linux-i386
> U Apps/Devel/src/scripts/targets/NetBSD
> U Apps/Devel/src/scripts/targets/NetBSD-i386
I moved the platform-specific parts of the build script into a separate
project. They are included automatically upon detection, or as
requested for a cross-compilation. It doesn't work with the
plain /bin/sh from NetBSD yet (sorry), a work-around is to replace "sh"
with "bash" in the first line to let it work (if it is installed of
course).
The Linux-arm target defaults for the Openmoko Freerunner vendor and
model. I'll probably introduce such variables (VENDOR and MODEL) in a
near future.
> P Apps/Web/DaPortal/install/sqlite.sql
> P Apps/Web/DaPortal/system/config.php
> P Apps/Web/DaPortal/system/config.tpl
Evolved the SQL database to allow friendlier configuration forms for
the administrator of the site. This is already committed,
except for the PostgreSQL and MySQL database default installation files.
SQLite's ALTER TABLE failed on me yesterday, so I opted to create the
table again from scratch. Beware that the following instructions lose
the configuration. To be executed from the DaPortal root:
$ grep 'INSERT INTO daportal_config ' install/sqlite.sql > config.sql
$ sqlite path/to/sqlite.db
sqlite> DROP TABLE daportal_config;
sqlite> CREATE TABLE [...] #from install/sqlite.sql, omitted for brevity
sqlite> .read config.sql
Login again, restore your settings, you should be fine.
The instructions for PostgreSQL and MySQL will follow tomorrow.
> P Apps/Web/DaPortal/modules/wiki/module.php
I have added an option to enable anonymous modifications to the wiki. I
am thinking about improving the error messages as well.
> P System/src/libc/Makefile
> P System/src/libc/src/socket/kernel/linux/Makefile
> P System/src/libc/src/socket/kernel/linux/project.conf
> U System/src/libc/src/socket/kernel/linux/arm/Makefile
> U System/src/libc/src/socket/kernel/linux/arm/project.conf
> U System/src/libc/src/socket/kernel/linux/arm/syscalls.S
I grokked the assembly for Linux/arm to support socket calls. Sorry,
this is not tested yet. I doubt it works, but the principle is there.
I also noticed that errno is still not handled at all on Linux/arm.
That sucks, I'll try to test it soon.
> Archiving CVS module DeforaOS:
> http://www.defora.org/download/snapshots/DeforaOS-daily.tar.gz
HTH,
--
khorben