YunoHost-Apps / Experimental_helpers

6 stars 12 forks source link

Update ynh_add_swap #54

Closed kay0u closed 4 years ago

kay0u commented 5 years ago

On my ynh-dev, the function ynh_add_swap faild with the error:

swapon: /swap_$app: swapon failed: Invalid argument

Fixed with the attribute No_COW: https://wiki.archlinux.org/index.php/Swap#Swap_file

I don't know what it really means, but it doesn't fail anymore \o/

yalh76 commented 4 years ago

still ok with that PR ?