diff options
author | Sebastian Dziallas <sebastian@localhost.localdomain> | 2009-02-17 13:26:20 (GMT) |
---|---|---|
committer | Sebastian Dziallas <sebastian@localhost.localdomain> | 2009-02-17 13:26:20 (GMT) |
commit | 11c5e8999c0c3da1b6f11d660d83df2adbb1e77a (patch) | |
tree | 16b9b81d561b1c729cf0927a28b71e94fc0ee0ce | |
parent | ba1266c3e3b010fa68bb18c3c8872bcec9a392b6 (diff) |
make rpm usable on the XO
-rw-r--r-- | soas-sugar.ks | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/soas-sugar.ks b/soas-sugar.ks index 321af81..b38aaef 100644 --- a/soas-sugar.ks +++ b/soas-sugar.ks @@ -48,6 +48,10 @@ cat > /etc/sysconfig/desktop <<EOF DISPLAYMANAGER=/usr/bin/slim-dynwm EOF +# permanently set %__dbi_cdb rpm macro to work around jffs2's lack of writeable mmap() +mkdir -p /etc/rpm +echo "%__dbi_cdb create private nommap" > /etc/rpm/macros.rpmdb + cat >> /etc/rc.d/init.d/livesys << EOF chkconfig --level 5 setroubleshoot off 2>/dev/null |