##// END OF EJS Templates
Update 15-rpi-config.sh
burnbabyburn -
r655:bce33c64368f
parent child
Show More
@@ -213,6 +213,8 if [ "$ENABLE_SYSTEMDSWAP" = true ] ; then
213
213
214 # Get Verion
214 # Get Verion
215 VERSION=$(git tag | tail -n 1)
215 VERSION=$(git tag | tail -n 1)
216 sed "s/DEB_NAME=.*/DEB_NAME=systemd-swap_all/g"
217
216
218
217 # Build package
219 # Build package
218 bash ./package.sh debian
220 bash ./package.sh debian
@@ -224,7 +226,7 if [ "$ENABLE_SYSTEMDSWAP" = true ] ; then
224 chown -R root:root "${R}/tmp/systemd-swap"
226 chown -R root:root "${R}/tmp/systemd-swap"
225
227
226 # Install package - IMPROVE AND MAKE IT POSSIBLE WITHOUT VERSION NR.
228 # Install package - IMPROVE AND MAKE IT POSSIBLE WITHOUT VERSION NR.
227 chroot_exec dpkg -i /tmp/systemd-swap/systemd-swap_$VERSION_all.deb
229 chroot_exec dpkg -i /tmp/systemd-swap/systemd-swap_all.deb
228
230
229 # Enable service
231 # Enable service
230 chroot_exec systemctl enable systemd-swap
232 chroot_exec systemctl enable systemd-swap
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant