From f0fef89ba83ee80a2ec34132985de3a0d16ae2f8 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 29 Jan 2021 11:51:05 +0000 Subject: Fix guest prompt --- sub/layout/copylayout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub/layout/copylayout b/sub/layout/copylayout index 91f901f..3275ba7 100755 --- a/sub/layout/copylayout +++ b/sub/layout/copylayout @@ -13,7 +13,7 @@ chown -R 0:0 $output/rootfs $output/rwfs $output/userfs buildtime=$(s6-clock) hostarch=$(s6-echo -- $TRIPLE | cut -f1 -d-) -sed -i -e "s/%%HOSTNAME%%/lh-$hostarch/g" $output/rootfs/etc/motd $output/rootfs/etc/issue.net $output/rootfs/root/.execline-shell $output/rootfs/etc/s6-rc/source-base/00/up +sed -i -e "s/%%HOSTNAME%%/lh-$hostarch/g" $output/rootfs/etc/motd $output/rootfs/etc/issue.net $output/rootfs/root/.execline-shell $output/userfs/home/guest/.execline-shell $output/rootfs/etc/s6-rc/source-base/00/up while read file user group perms ; do if s6-test -n "$file" -a "$file" != "#" ; then -- cgit v1.2.3