forked from shaba/openuds
Unmanaged for Linux
This commit is contained in:
parent
8b991eae12
commit
d33e5e3a1e
2
actor/.gitignore
vendored
2
actor/.gitignore
vendored
@ -1,6 +1,6 @@
|
||||
# Debian source builds
|
||||
udsactor_*.dsc
|
||||
udsactor_*.tar.xz
|
||||
udsactor_*.deb
|
||||
udsactor*.deb
|
||||
udsactor_*.buildinfo
|
||||
udsactor_*.changes
|
||||
|
@ -1,6 +1,8 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
.PHONY: install-udsactor install-udsactor-static
|
||||
|
||||
# Directories
|
||||
SOURCEDIR := ../src
|
||||
LIBDIR := $(DESTDIR)/usr/share/UDSActor
|
||||
@ -18,22 +20,16 @@ CACHES := $(shell find $(SOURCEDIR) -name '__pycache__')
|
||||
|
||||
clean:
|
||||
rm -rf $(PYC) $(CACHES) $(DESTDIR)
|
||||
install-udsactor-xrdp:
|
||||
mkdir -p $(BINDIR)
|
||||
cp scripts/uds-sesman.sh $(BINDIR)/uds-sesman
|
||||
cp scripts/uds-wait-session.sh $(BINDIR)/uds-wait-session
|
||||
|
||||
chmod 0755 $(BINDIR)/uds-sesman
|
||||
chmod 0755 $(BINDIR)/uds-wait-session
|
||||
|
||||
install-udsactor-nx:
|
||||
mkdir -p $(BINDIR)
|
||||
cp scripts/udsnxstart.sh $(BINDIR)/udsnxstart
|
||||
cp scripts/udsnxstop.sh $(BINDIR)/udsnxstop
|
||||
|
||||
chmod 0755 $(BINDIR)/udsnxstart
|
||||
chmod 0755 $(BINDIR)/udsnxstop
|
||||
install-udsactor:
|
||||
install-udsactor: udsactor
|
||||
|
||||
install-udsactor-static: udsactor udsactor-static
|
||||
|
||||
udsactor-static:
|
||||
# Overwrite udsactor config is what to be done
|
||||
cp scripts/UDSActorConfig-unmanaged $(SBINDIR)/UDSActorConfig
|
||||
|
||||
udsactor:
|
||||
rm -rf $(DESTDIR)
|
||||
mkdir -p $(LIBDIR)
|
||||
mkdir -p $(BINDIR)
|
||||
|
3
actor/linux/debian/.gitignore
vendored
3
actor/linux/debian/.gitignore
vendored
@ -1,3 +1,2 @@
|
||||
/udsactor/
|
||||
/udsactor-xrdp/
|
||||
/udsactor-nx/
|
||||
/udsactor-static/
|
||||
|
@ -13,5 +13,14 @@ Architecture: all
|
||||
Depends: policykit-1(>=0.100), python3-requests (>=0.8.2), python3-pyqt5 (>=4.9), python3-six(>=1.1), python3 (>=3.4), libxss1, xscreensaver, ${misc:Depends}
|
||||
Recommends: python3-prctl(>=1.1.1)
|
||||
Description: Actor for Universal Desktop Services (UDS) Broker
|
||||
This package provides the required components to allow this machine to work on an environment managed by UDS Broker.
|
||||
This package provides the required components to allow managed machines to work on an environment managed by UDS Broker.
|
||||
|
||||
Package: udsactor-static
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: policykit-1(>=0.100), python3-requests (>=0.8.2), python3-pyqt5 (>=4.9), python3-six(>=1.1), python3 (>=3.4), libxss1, xscreensaver, ${misc:Depends}
|
||||
Recommends: python3-prctl(>=1.1.1)
|
||||
Description: Actor for Universal Desktop Services (UDS) Broker Static Unmanaged machines
|
||||
This package provides the required components to allow unmanaged machines (static, independent machines) to work on an environment managed by UDS Broker.
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
udsactor-static_3.0.0_all.deb admin optional
|
||||
udsactor_3.0.0_all.deb admin optional
|
||||
udsactor_3.0.0_amd64.buildinfo admin optional
|
||||
|
@ -22,6 +22,7 @@ install: build
|
||||
dh_prep
|
||||
dh_installdirs
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/udsactor install-udsactor
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/udsactor-static install-udsactor-static
|
||||
binary-arch: build install
|
||||
# emptyness
|
||||
binary-indep: build install
|
||||
|
1
actor/linux/debian/udsactor-static.config
Symbolic link
1
actor/linux/debian/udsactor-static.config
Symbolic link
@ -0,0 +1 @@
|
||||
udsactor.config
|
1
actor/linux/debian/udsactor-static.postinst
Symbolic link
1
actor/linux/debian/udsactor-static.postinst
Symbolic link
@ -0,0 +1 @@
|
||||
udsactor.postinst
|
6
actor/linux/scripts/UDSActorConfig-unmanaged
Executable file
6
actor/linux/scripts/UDSActorConfig-unmanaged
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
FOLDER=/usr/share/UDSActor
|
||||
|
||||
cd $FOLDER
|
||||
exec python3 actor_config_unmanaged.py $@
|
Loading…
x
Reference in New Issue
Block a user