diff --git a/rootfs/standard/usr/bin/mynode_post_upgrade.sh b/rootfs/standard/usr/bin/mynode_post_upgrade.sh index c07cc785..ead20c55 100755 --- a/rootfs/standard/usr/bin/mynode_post_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_post_upgrade.sh @@ -106,6 +106,11 @@ $TORIFY apt-get -y install libudev-dev libusb-1.0-0-dev python3-venv gunicorn sq $TORIFY apt-get -y install torsocks python3-requests libsystemd-dev libjpeg-dev zlib1g-dev psmisc $TORIFY apt-get -y install hexyl libbz2-dev +# Install device specific packages +if [ $IS_X86 = 1 ]; then + $TORIFY apt-get -y install cloud-init +fi + # Make sure some software is removed apt-get -y purge ntp # (conflicts with systemd-timedatectl) apt-get -y purge chrony # (conflicts with systemd-timedatectl) diff --git a/setup/setup_device.sh b/setup/setup_device.sh index f6c79cbd..acafcd26 100755 --- a/setup/setup_device.sh +++ b/setup/setup_device.sh @@ -170,6 +170,10 @@ apt-get -y install zlib1g-dev libudev-dev libusb-1.0-0-dev python3-venv gunicorn apt-get -y install sqlite3 libsqlite3-dev torsocks python3-requests libsystemd-dev apt-get -y install libjpeg-dev zlib1g-dev psmisc hexyl libbz2-dev +# Install device specific packages +if [ $IS_X86 = 1 ]; then + apt-get -y install cloud-init +fi # Make sure some software is removed apt-get -y purge ntp # (conflicts with systemd-timedatectl)