From d7e8c75b56a90940bb4bdb18de72f641ade0a042 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 3 Jan 2020 18:01:11 +0000 Subject: Modernize, convert to s6li v1 --- sub/layout/copylayout | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sub/layout/copylayout') diff --git a/sub/layout/copylayout b/sub/layout/copylayout index 32b991d..e0ea0a2 100755 --- a/sub/layout/copylayout +++ b/sub/layout/copylayout @@ -8,10 +8,7 @@ find "$output/rootfs" -type f -name .empty -size 0c -exec s6-rmrf {} \; buildtime=$(s6-clock) hostarch=$(s6-echo $TRIPLE | cut -f1 -d-) -sed -i -e "s/%%HOSTNAME%%/lh-$hostarch/g" $output/rootfs/run/service/s6-linux-init-early-getty/run $output/rootfs/etc/motd $output/rootfs/etc/issue.net $output/rootfs/root/.execline-shell -sed -i -e "s/%%CONSOLE%%/$console/g" $output/rootfs/run/service/s6-linux-init-early-getty/run - -s6-mkfifo -m 0600 $output/rootfs/run/service/s6-svscan-log/fifo +sed -i -e "s/%%HOSTNAME%%/lh-$hostarch/g" $output/rootfs/etc/motd $output/rootfs/etc/issue.net $output/rootfs/root/.execline-shell while read file user group perms ; do if s6-test -n "$file" -a "$file" != "#" ; then -- cgit v1.2.3