[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#539744: chroot to lenny /target in debootstrap segfaults



Frans Pop wrote:

This oneliner change would fix the issue as well:
+++ b/packages/base-installer/debian/bootstrap-base.postinst
@@ -88,7 +88,7 @@ install_base_system () {
                # so make a backup to be restored later
                copied_fstab=true
                cp /target/etc/fstab /target/etc/fstab.orig

thus this should be a "mv"

-               echo "# UNCONFIGURED FSTAB FOR BASE SYSTEM" >> /target/etc/fstab
+               echo "# UNCONFIGURED FSTAB FOR BASE SYSTEM" > /target/etc/fstab
        fi

        if [ "$PROTOCOL" = "http" ]; then

And it even makes more sense than the current code...

ciao
	cate



Reply to: