summaryrefslogtreecommitdiff
path: root/sub/layout/copylayout
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-01-29 11:51:05 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-01-29 11:51:05 +0000
commitf0fef89ba83ee80a2ec34132985de3a0d16ae2f8 (patch)
tree56519cd51b77a21168108fda616372b0bf34c3b5 /sub/layout/copylayout
parent1ea13b13c80608b3c6bd707c31449c4b580e9ab3 (diff)
downloadlh-bootstrap-f0fef89ba83ee80a2ec34132985de3a0d16ae2f8.tar.xz
Fix guest prompt
Diffstat (limited to 'sub/layout/copylayout')
-rwxr-xr-xsub/layout/copylayout2
1 files changed, 1 insertions, 1 deletions
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