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