Check-in [648764b0ec]
Not logged in
Overview
Comment:Fixed typo in unit file. Incremented debian package version
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 648764b0ec4c098774f2c660a9621d5911e7d89b
User & Date: vitus on 2017-08-30 11:45:58.558
Other Links: manifest | tags
References
2022-01-13
06:52 Ticket [7a93ef2fbe] typo in systemd service file status still Open with 5 other changes artifact: df8916f5fe user: vitus
Context
2017-08-30
18:12
Added kvm user creation into postinst script check-in: 665cd70e2c user: vitus tags: trunk
11:45
Fixed typo in unit file. Incremented debian package version check-in: 648764b0ec user: vitus tags: trunk
2017-03-10
15:08
Fixed some problems recently introduced in create. Added passing of extra args to QEMU check-in: a1e43bbc27 user: vitus tags: trunk
Changes
Modified Makefile from [8f36d0b45d] to [ae5f6e9122].
1

2
3
4
5
6
7
8

1
2
3
4
5
6
7
8
-
+







prefix=/usr/local
prefix:=/usr/local
mandir=$(prefix)/share/man
bindir=$(prefix)/bin
sysconfdir=/etc
initddir=$(sysconfdir)/init.d
systemddir=/lib/systemd/system
INSTALL=/usr/bin/install








1
2
3
4
5
1
2
3
4
5
6
7
8
9
10
11
12
+
+
+
+
+
+
+





vws (0.5-2) unstable; urgency=medium

  * Added dpkg-statoverride for qemu-bridge-helper
  * Fixed typo in service file

 -- Victor Wagner <vitus@wagner.pp.ru>  Wed, 30 Aug 2017 14:44:22 +0300

vws (0.5-1) unstable; urgency=low

  * Initial release 

 -- Victor Wagner <vitus@wagner.pp.ru>  Sat, 14 Jan 2017 19:48:30 +0300
17
18
19
20
21
22
23
24

25
26
27
28
29
30
31
17
18
19
20
21
22
23

24
25
26
27
28
29
30
31







-
+







# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
    configure)
	update-rc.d vws defaults
	chmod u+s /usr/lib/qemu/qemu-bridge-helper
	dpkg-statoverride --update --add root kvm 4750 /usr/lib/qemu/qemu-bridge-helper
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
18
19
20
21
22
23
24

25
26
27
28
29
30
31
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32







+







# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
    purge)
		update-rc.d vws remove
		dpkg-statoverride --remove /usr/lib/qemu/qemu-bridge-helper
	;;
	
	remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
19
20
21
22
23
24
25
26

27
28
29
30



31
32
33
34
35
36
37
19
20
21
22
23
24
25

26

27
28

29
30
31
32
33
34
35
36
37
38







-
+
-


-
+
+
+







export prefix

# main packaging script based on dh7 syntax
%:
	dh $@
override_dh_build override_dh_auto_build:
	make prefix=/usr
override_dh_install override_dh_auto_install:
override_dh_install:
	make install prefix=/usr DESTDIR=`pwd`/debian/vws
	dh_systemd_enable
	dh_installinit
		
override_dh_auto_install:
	make install prefix=/usr DESTDIR=`pwd`/debian/vws
#	true
# debmake generated override targets
# This is example for Cmake (See http://bugs.debian.org/641051 )
#override_dh_auto_configure:
#	dh_auto_configure -- \
#	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)


1
2
3
4
5
6
7
8
9
10
11

12
1
2
3
4
5
6
7
8
9
10

11
12










-
+

[Unit]
Description=Virtual Workstation Autostart
Documentation=man:vws(1)
After=network.target dnsmasq.service
[Service]
Type=forking
ExecStart=@bindir@/vws autostart
ExecStop=@bindir@/vws shutdown --wait
Restart=no
[Install]
WantedBy=muiti-user.target
WantedBy=multi-user.target
Alias=vws.service