burrow-pi-img/stageX/00-preinstall/00-run.sh

10 lines
202 B
Bash
Executable File

#!/bin/bash -e
install -m 644 files/nodesource.list "${ROOTFS_DIR}/etc/apt/sources.list.d/"
on_chroot apt-key add - < files/nodesource.gpg.key
on_chroot << EOF
apt-get update
apt-get upgrade -yqq
EOF