调整编包规则

This commit is contained in:
Debaucher 2021-11-06 02:48:19 +08:00
parent 5b1866f674
commit 9e92c965ee
8 changed files with 10 additions and 10 deletions

4
debian/control vendored
View File

@ -35,7 +35,7 @@ Depends: ${shlibs:Depends},
libkysdk-disk-dev,
libkysdk-sysinfo-dev,
libkysdk-systime-dev,
libkysdk-sysinfo-dev,
libkysdk-sysinfo-dev
Multi-Arch: same
Description: 麒麟开发者套件 - 系统层套件 - 开发库提供系统信息、磁盘信息、系统时间等API与服务
@ -66,7 +66,7 @@ Depends: ${shlibs:Depends},
${misc:Depends},
libkysdk-log,
dbus,
systemd
systemd,
libkysdk-timer
Multi-Arch: same
Description: 系统时间相关操作库

View File

@ -1 +1 @@
usr/include/kysdk/kysdk-system/libkysysinfo.h
usr/include/kysdk/kysdk-system/libkysysinfo.hpp

View File

@ -1,4 +1,4 @@
bin/* /usr/bin/
src/systemtime/com.kylin.kysdk.TimeServer.conf /etc/dbus-1/system.d/
src/systemtime/kysdk-systime.service /lib/systemd/system/
bin/* usr/bin/
src/systemtime/com.kylin.kysdk.TimeServer.conf etc/dbus-1/system.d/
src/systemtime/kysdk-systime.service lib/systemd/system/

View File

@ -8,5 +8,5 @@ target_link_libraries(test-getdisklist kydiskinfo blkid kylog pthread systemd ky
install(TARGETS kydiskinfo
DESTINATION lib/kysdk/kysdk-system)
install(FILES diskinfo.h
install(FILES libkydiskinfo.h
DESTINATION include/kysdk/kysdk-system)

View File

@ -1,4 +1,4 @@
#include "diskinfo.h"
#include "libkydiskinfo.h"
#include "diskmarcos.h"
#include <libkylog.h>
#include <kerr.h>

View File

@ -1,4 +1,4 @@
#include "../diskinfo.h"
#include "../libkydiskinfo.h"
#include <stdio.h>
static void display_disk_info(kdk_diskinfo *di)

View File

@ -1,4 +1,4 @@
#include "../diskinfo.h"
#include "../libkydiskinfo.h"
#include <stdio.h>
int main()