livecd-gnome-root: fix gcontool-2 schema installation in chrooted environment

This commit is contained in:
Silvan Calarco 2011-09-25 14:42:31 +02:00
parent 2d7ee66920
commit b18d234868

View File

@ -73,6 +73,10 @@ rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img*
rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}-failsafe.img*
# install all GConf rules
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` chroot $MOUNTDIR gconftool-2 --makefile-install-rule /etc/gconf/schemas/* >/dev/null
cat > $MOUNTDIR/tmp/gconftool.sh << _EOF
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule /etc/gconf/schemas/* >/dev/null
_EOF
chroot $MOUNTDIR sh /tmp/gconftool.sh
rm $MOUNTDIR/tmp/gconftool.sh
prelink