From e62feb6d1895c6f879f67ff34ec62770e278be3c Mon Sep 17 00:00:00 2001 From: "dhg@google.com" Date: Wed, 11 Nov 2009 02:11:45 +0000 Subject: [PATCH] Changing the rootfs so that devicekit-disks can create an sqllite table it needs to be able to mount things Review URL: http://chromereview.prom.corp.google.com/1182001 git-svn-id: svn://chrome-svn/chromeos/trunk@201 06c00378-0e64-4dae-be16-12b19f9950a1 --- customize_rootfs.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/customize_rootfs.sh b/customize_rootfs.sh index 0689e03461..6a1a87f589 100755 --- a/customize_rootfs.sh +++ b/customize_rootfs.sh @@ -460,6 +460,13 @@ done rm -rf /var/lib/xkb ln -s /var/cache /var/lib/xkb +# This is needed so that devicekit-disks has a place to +# put its sql lite database. Since we do not need to +# retain this information across boots, we are just +# putting it in /var/tmp +rm -rf /var/lib/DeviceKit-disks +ln -s /var/tmp /var/lib/DeviceKit-disks + # Remove pam-mount's default entry in common-auth and common-session sed -i 's/^\(.*pam_mount.so.*\)/#\1/g' /etc/pam.d/common-*