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
This commit is contained in:
dhg@google.com 2009-11-11 02:11:45 +00:00
parent cadf7da18e
commit e62feb6d18

View File

@ -460,6 +460,13 @@ done
rm -rf /var/lib/xkb rm -rf /var/lib/xkb
ln -s /var/cache /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 # Remove pam-mount's default entry in common-auth and common-session
sed -i 's/^\(.*pam_mount.so.*\)/#\1/g' /etc/pam.d/common-* sed -i 's/^\(.*pam_mount.so.*\)/#\1/g' /etc/pam.d/common-*