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