From bce33c64368f285eccb40ad51277ea62a9fd464e 2019-10-21 21:23:55 From: burnbabyburn <2515038+burnbabyburn@users.noreply.github.com> Date: 2019-10-21 21:23:55 Subject: [PATCH] Update 15-rpi-config.sh --- diff --git a/bootstrap.d/15-rpi-config.sh b/bootstrap.d/15-rpi-config.sh index f956b71..9319e7c 100644 --- a/bootstrap.d/15-rpi-config.sh +++ b/bootstrap.d/15-rpi-config.sh @@ -213,6 +213,8 @@ if [ "$ENABLE_SYSTEMDSWAP" = true ] ; then # Get Verion VERSION=$(git tag | tail -n 1) + sed "s/DEB_NAME=.*/DEB_NAME=systemd-swap_all/g" + # Build package bash ./package.sh debian @@ -224,7 +226,7 @@ if [ "$ENABLE_SYSTEMDSWAP" = true ] ; then chown -R root:root "${R}/tmp/systemd-swap" # Install package - IMPROVE AND MAKE IT POSSIBLE WITHOUT VERSION NR. - chroot_exec dpkg -i /tmp/systemd-swap/systemd-swap_$VERSION_all.deb + chroot_exec dpkg -i /tmp/systemd-swap/systemd-swap_all.deb # Enable service chroot_exec systemctl enable systemd-swap