fix install of node and first boot

pull/388/head
Samuel Cozannet 2020-01-27 22:12:56 +00:00
parent 7a683735b3
commit c507c2109c
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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