mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Fix various issues with buster install after initial tests
This commit is contained in:
parent
46b3e3dc69
commit
13f7a1aa0c
2 changed files with 11 additions and 2 deletions
12
Makefile
12
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue