fix install of node and first boot
This commit is contained in:
parent
7a683735b3
commit
c507c2109c
|
@ -1,6 +1,5 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
on_chroot << EOF
|
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
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
install -m 755 files/firstboot.sh "${ROOTFS_DIR}/boot/firstboot.sh"
|
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
|
on_chroot << EOF
|
||||||
systemctl enable firstboot.service
|
systemctl enable firstboot.service
|
||||||
|
|
Loading…
Reference in New Issue
Block a user