File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -435,6 +435,12 @@ CONFIGURE_FILE(
435
435
${CMAKE_SOURCE_DIR} /cmake/info_macros.cmake.in
436
436
${CMAKE_BINARY_DIR} /info_macros.cmake @ONLY )
437
437
438
+ IF (DEB )
439
+ CONFIGURE_FILE (
440
+ ${CMAKE_SOURCE_DIR} /debian/mariadb-server-10.2.install.in
441
+ ${CMAKE_SOURCE_DIR} /debian/mariadb-server-10.2.install )
442
+ ENDIF (DEB )
443
+
438
444
# Handle the "INFO_*" files.
439
445
INCLUDE (${CMAKE_BINARY_DIR} /info_macros.cmake )
440
446
# Source: This can be done during the cmake phase, all information is
Original file line number Diff line number Diff line change @@ -63,3 +63,4 @@ usr/share/mysql/mysql_system_tables.sql
63
63
usr/share/mysql/mysql_system_tables_data.sql
64
64
usr/share/mysql/mysql_test_data_timezone.sql
65
65
usr/share/mysql/wsrep_notify
66
+ @SYSTEMD_DEB_FILES@
Original file line number Diff line number Diff line change @@ -156,7 +156,10 @@ override_dh_installlogrotate-arch:
156
156
# Start mysql at sequence number 19 before 20 where apache, proftpd etc gets
157
157
# started which might depend on a running database server.
158
158
override_dh_installinit-arch :
159
+ if [ -x /usr/bin/dh_systemd_enable -a -f debian/mariadb-server-10.2/lib/systemd/system/mariadb.service ]; then dh_systemd_enable -pmariadb-server-10.2 mariadb.service; fi
160
+ if [ -x /usr/bin/dh_systemd_enable -a -f debian/mariadb-server-10.2/lib/systemd/system/mariadb@.service ]; then dh_systemd_enable --no-enable -pmariadb-server-10.2 mariadb@.service; fi
159
161
dh_installinit --name=mysql -- defaults 19 21
162
+ if [ -x /usr/bin/dh_systemd_start -a -f debian/mariadb-server-10.2/lib/systemd/system/mariadb.service ]; then dh_systemd_start -pmariadb-server-10.2 --restart-after-upgrade mariadb.service; fi
160
163
161
164
override_dh_installcron-arch :
162
165
dh_installcron --name mysql-server
You can’t perform that action at this time.
0 commit comments