From 24eb8b504f62c04ed103d25e27190bdf35fad9dc Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 17 Jul 2017 11:42:41 +0000 Subject: Uncomment sed invocations, fix stray import --- sub/layout/copylayout | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sub/layout') diff --git a/sub/layout/copylayout b/sub/layout/copylayout index 59dd0e0..e9cea1c 100755 --- a/sub/layout/copylayout +++ b/sub/layout/copylayout @@ -41,10 +41,10 @@ timeout=${S6RC_TIMEOUT} buildtime=$(s6-clock) hostarch=$(s6-echo $TRIPLE | cut -f1 -d-) -# sed -i -e "s/%%HOSTNAME%%/lh-$hostarch/g" $output/rootfs/etc/s6-rc/source-base/00/up $output/rootfs/etc/s6-linux-init/run-image/service/s6-linux-init-early-getty/run $output/rootfs/etc/motd $output/rootfs/etc/issue.net $output/rootfs/root/.execline-shell $output/userfs/home/guest/.execline-shell +sed -i -e "s/%%HOSTNAME%%/lh-$hostarch/g" $output/rootfs/etc/s6-rc/source-base/00/up $output/rootfs/etc/s6-linux-init/run-image/service/s6-linux-init-early-getty/run $output/rootfs/etc/motd $output/rootfs/etc/issue.net $output/rootfs/root/.execline-shell $output/userfs/home/guest/.execline-shell sed -i -e "s/%%CONSOLE%%/$console/g" $output/rootfs/etc/s6-linux-init/run-image/service/s6-linux-init-early-getty/run -# sed -i -e "s/%%NETMODULE%%/$netmodule/g" $output/rootfs/etc/s6-rc/source-base/init-eth0/up -# sed -i -e "s/%%RCTIMEOUT%%/$timeout/g" -e "s/%%BUILDTIME%%/$buildtime/g" $output/rootfs/etc/rc.init +sed -i -e "s/%%NETMODULE%%/$netmodule/g" $output/rootfs/etc/s6-rc/source-base/init-eth0/up +sed -i -e "s/%%RCTIMEOUT%%/$timeout/g" -e "s/%%BUILDTIME%%/$buildtime/g" $output/rootfs/etc/rc.init if $USE_DHCP ; then -- cgit v1.2.3