"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ltsp/client/initrd-bottom/55-initrd-bottom.sh" between
ltsp-20.03.1.tar.gz and ltsp-20.04.tar.gz

About: LTSP (Linux Terminal Server Project) allows many people to simultaneously use the same computer. Applications run on the server with a terminal known as a thin client (also known as an X terminal) handling input and output.

55-initrd-bottom.sh  (ltsp-20.03.1):55-initrd-bottom.sh  (ltsp-20.04)
skipping to change at line 43 skipping to change at line 43
if [ "$IMAGE_TO_RAM" = "1" ]; then if [ "$IMAGE_TO_RAM" = "1" ]; then
img=${img_src%%,*} img=${img_src%%,*}
rest=${img_src#$img} rest=${img_src#$img}
re mkdir -p "$tmpfs" re mkdir -p "$tmpfs"
re vmount -t tmpfs -o mode=0755 tmpfs "$tmpfs" re vmount -t tmpfs -o mode=0755 tmpfs "$tmpfs"
echo "Running: cp -a $img $tmpfs/${img##*/}" echo "Running: cp -a $img $tmpfs/${img##*/}"
re cp -a "$img" "$tmpfs/${img##*/}" re cp -a "$img" "$tmpfs/${img##*/}"
re umount "$rootmnt" re umount "$rootmnt"
img_src="$tmpfs/${img##*/}$rest" img_src="$tmpfs/${img##*/}$rest"
fi fi
re mount_img_src "$img_src" "$rootmnt" "$tmpfs" elif [ -d "$rootmnt/proc" ]; then
re set_readahead "$rootmnt" # Plain NFS chroot booting
elif [ ! -d "$rootmnt/proc" ]; then img_src=$rootmnt
else
die "$rootmnt/proc doesn't exist and ltsp.image wasn't specified" die "$rootmnt/proc doesn't exist and ltsp.image wasn't specified"
fi 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" test -d "$rootmnt/proc" || die "$rootmnt/proc doesn't exist in $_APPLET"
re install_ltsp re install_ltsp
} }
install_ltsp() { install_ltsp() {
# Rsync saves space, but it's not available e.g. in stretch-mate-sch # Rsync saves space, but it's not available e.g. in stretch-mate-sch
if [ -x "$rootmnt/usr/bin/rsync" ]; then if [ -x "$rootmnt/usr/bin/rsync" ]; then
# Running rsync outside the chroot fails because of missing libraries # Running rsync outside the chroot fails because of missing libraries
re mount --bind /usr/share/ltsp "$rootmnt/tmp" re mount --bind /usr/share/ltsp "$rootmnt/tmp"
re chroot "$rootmnt" rsync -a --delete /tmp/ /usr/share/ltsp re chroot "$rootmnt" rsync -a --delete /tmp/ /usr/share/ltsp
 End of changes. 2 change blocks. 
3 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)