diff --git a/builder.sh b/builder.sh index 81217de..83cc528 100755 --- a/builder.sh +++ b/builder.sh @@ -27,6 +27,7 @@ then debootstrap --arch=amd64 --variant=$VARIANT $DIST $CHROOT_DIR $DEBOOT_STRAP_URL fi + mkdir -p $CHROOT_DIR/usr/share/calamares/branding/ mkdir -p $CHROOT_DIR/etc/calamares/modules/ cp calamares/settings.conf $CHROOT_DIR/etc/calamares/ @@ -42,13 +43,6 @@ mkdir -p $CHROOT_DIR/usr/local/bin cp openGnsys-installer.sh $CHROOT_DIR/usr/local/bin/ chmod +x $CHROOT_DIR/usr/local/bin/openGnsys-installer.sh -# Disable ipv6 stack - -echo "net.ipv6.conf.all.disable_ipv6 = 1" > $CHROOT_DIR/etc/sysctl.conf -echo "net.ipv6.conf.default.disable_ipv6 = 1" >> $CHROOT_DIR/etc/sysctl.conf -echo "net.ipv6.conf.lo.disable_ipv6 = 1" >> $CHROOT_DIR/etc/sysctl.conf - -chroot $CHROOT_DIR sysctl -p # # Create mount points mount --bind /dev/ $CHROOT_DIR/dev diff --git a/chroot_setup.sh b/chroot_setup.sh index 4013d9b..bf05893 100644 --- a/chroot_setup.sh +++ b/chroot_setup.sh @@ -84,8 +84,8 @@ insmod all_video set default="0" set timeout=30 -menuentry "Install Ubuntu FS" { - linux /casper/vmlinuz boot=casper quiet splash --- +menuentry "Install Opengnsys" { + linux /casper/vmlinuz boot=casper ipv6.disable=1 quiet splash --- initrd /casper/initrd }