Fix various issues with buster install after initial tests

This commit is contained in:
Alexandre Aubin 2019-06-26 00:16:38 +02:00
parent 46b3e3dc69
commit 13f7a1aa0c
2 changed files with 11 additions and 2 deletions

View file

@ -1,4 +1,6 @@
BUILD_DEPS = dh-systemd python-all gdebi git git-buildpackage lua5.1 liblua5.1-dev libidn11-dev libssl-dev txt2man quilt
BUILD_DEPS = dh-systemd dh-python python-all python-yaml python-psutil gdebi git git-buildpackage lua5.1 liblua5.1-dev libidn11-dev libssl-dev txt2man quilt postfix
.PHONY: init metronome ssowat moulinette yunohost install uninstall
init:
apt -o Dpkg::Options::="--force-confold" -y --force-yes install $(BUILD_DEPS)
@ -11,11 +13,17 @@ init:
metronome:
cd /ynh-build/; rm -f metronome_*; cd metronome; dpkg-buildpackage -rfakeroot -uc -b -d
ssowat:
cd /ynh-build/; rm -f ssowat_*; cd ssowat; debuild -us -uc
moulinette:
cd /ynh-build/; rm -f moulinette_*; cd moulinette; debuild -us -uc
yunohost:
cd /ynh-build/; rm -f yunohost_*; cd yunohost; debuild -us -uc
install:
cd /ynh-build/; debconf-set-selections < debconf; export SUDO_FORCE_REMOVE=yes; gdebi /ynh-build/yunohost*.deb -n
cd /ynh-build/; debconf-set-selections < debconf; export SUDO_FORCE_REMOVE=yes; gdebi /ynh-build/metronome*.deb -n; gdebi /ynh-build/moulinette*.deb -n; gdebi /ynh-build/ssowat*.deb -n; gdebi /ynh-build/yunohost*.deb -n
uninstall:
apt remove slapd yunohost moulinette --purge -y

View file

@ -135,6 +135,7 @@ function main()
function build_packages_locally()
{
apt install make -y
mkdir -p /ynh-build/
cp ./Makefile ./debconf /ynh-build/
cd /ynh-build