##// END OF EJS Templates
better systemd-swap
burnbabyburn -
r645:9a489695ce69
parent child
Show More
@@ -210,6 +210,9 if [ "$ENABLE_SYSTEMDSWAP" = true ] ; then
210
210
211 # Change into downloaded src dir
211 # Change into downloaded src dir
212 cd "${R}/tmp/systemd-swap" || exit
212 cd "${R}/tmp/systemd-swap" || exit
213
214 # Get Verion
215 VERSION=$(git tag | tail -n 1)
213
216
214 # Build package
217 # Build package
215 bash ./package.sh debian
218 bash ./package.sh debian
@@ -221,7 +224,7 if [ "$ENABLE_SYSTEMDSWAP" = true ] ; then
221 chown -R root:root "${R}/tmp/systemd-swap"
224 chown -R root:root "${R}/tmp/systemd-swap"
222
225
223 # Install package - IMPROVE AND MAKE IT POSSIBLE WITHOUT VERSION NR.
226 # Install package - IMPROVE AND MAKE IT POSSIBLE WITHOUT VERSION NR.
224 chroot_exec dpkg -i /tmp/systemd-swap/systemd-swap_4.0.1_any.deb
227 chroot_exec dpkg -i /tmp/systemd-swap/systemd-swap_$VERSION_all.deb
225
228
226 # Enable service
229 # Enable service
227 chroot_exec systemctl enable systemd-swap
230 chroot_exec systemctl enable systemd-swap
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant