livecd-gnome-root: fix gconftool-2 schema installation in chrooted environment
This commit is contained in:
parent
f018b3f359
commit
3bf7cd9c23
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user