From c507c2109c6de0443b6c767961a1ff8729efdd01 Mon Sep 17 00:00:00 2001 From: Samuel Cozannet Date: Mon, 27 Jan 2020 22:12:56 +0000 Subject: [PATCH] fix install of node and first boot --- stageX/01-nodejs/01-run.sh | 1 - stageX/04-first-boot/01-run.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/stageX/01-nodejs/01-run.sh b/stageX/01-nodejs/01-run.sh index 5250431..c051439 100755 --- a/stageX/01-nodejs/01-run.sh +++ b/stageX/01-nodejs/01-run.sh @@ -1,6 +1,5 @@ #!/bin/bash -e on_chroot << EOF -ln -sf "$(which nodejs)" /usr/bin/node curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash EOF diff --git a/stageX/04-first-boot/01-run.sh b/stageX/04-first-boot/01-run.sh index fa75e43..acf43fb 100755 --- a/stageX/04-first-boot/01-run.sh +++ b/stageX/04-first-boot/01-run.sh @@ -1,7 +1,7 @@ #!/bin/bash -e install -m 755 files/firstboot.sh "${ROOTFS_DIR}/boot/firstboot.sh" -install -m 755 files/firstboot.service "${ROOTFS_DIR}/etc/systemd/system/firstboot.sh" +install -m 755 files/firstboot.service "${ROOTFS_DIR}/etc/systemd/system/firstboot.service" on_chroot << EOF systemctl enable firstboot.service