diff -Nru ltsp-20.03.1/debian/changelog ltsp-20.04/debian/changelog --- ltsp-20.03.1/debian/changelog 2020-03-22 14:05:40.000000000 +0000 +++ ltsp-20.04/debian/changelog 2020-04-03 05:27:15.000000000 +0000 @@ -1,3 +1,9 @@ +ltsp (20.04-1) unstable; urgency=medium + + * Fix NFS chroot booting regression (#126) + + -- Alkis Georgopoulos Fri, 03 Apr 2020 08:27:15 +0300 + ltsp (20.03.1-1) unstable; urgency=medium * Exclude account database backups from the generated image diff -Nru ltsp-20.03.1/ltsp/client/initrd-bottom/55-initrd-bottom.sh ltsp-20.04/ltsp/client/initrd-bottom/55-initrd-bottom.sh --- ltsp-20.03.1/ltsp/client/initrd-bottom/55-initrd-bottom.sh 2020-03-22 14:07:11.000000000 +0000 +++ ltsp-20.04/ltsp/client/initrd-bottom/55-initrd-bottom.sh 2020-04-03 05:28:43.000000000 +0000 @@ -40,11 +40,14 @@ re umount "$rootmnt" img_src="$tmpfs/${img##*/}$rest" fi - re mount_img_src "$img_src" "$rootmnt" "$tmpfs" - re set_readahead "$rootmnt" - elif [ ! -d "$rootmnt/proc" ]; then + elif [ -d "$rootmnt/proc" ]; then + # Plain NFS chroot booting + img_src=$rootmnt + else die "$rootmnt/proc doesn't exist and ltsp.image wasn't specified" fi + re mount_img_src "$img_src" "$rootmnt" "$tmpfs" + re set_readahead "$rootmnt" test -d "$rootmnt/proc" || die "$rootmnt/proc doesn't exist in $_APPLET" re install_ltsp }