[Sugar-devel] SoaS on the XO progress

Marco Pesenti Gritti marcopg at sugarlabs.org
Fri Jan 23 20:10:52 EST 2009


On Fri, Jan 23, 2009 at 6:42 PM, C. Scott Ananian <cscott at laptop.org> wrote:
> On Fri, Jan 23, 2009 at 12:17 PM, Marco Pesenti Gritti
> <marcopg at sugarlabs.org> wrote:
>> * rpm does not work. It complains about mmap failure when reading the
>> db, jffs2 related?
>
> As far as I know, jffs2 doesn't support writable mmaps.  In the debian
> ports, we add some special magic to tell apt not to use them (
> http://wiki.laptop.org/go/Installing_Debian_as_an_upgrade ); and the
> following code from pilgrim appears to do something similar:
>            echo "  - Configuring RPM to not use writable mmap (as jffs2
> don't support it)"
>            mkdir -p $INSTALL_ROOT/etc/rpm
>            cat <<EOF > $INSTALL_ROOT/etc/rpm/macros.rpmdb
> %__dbi_cdb create private nommap
> EOF

Good catch, thanks!

Marco



More information about the Devel mailing list