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

This commit is contained in:
Silvan Calarco 2011-09-25 14:44:07 +02:00
parent f018b3f359
commit 3bf7cd9c23

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* rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}-failsafe.img*
# install all GConf rules # 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 prelink