Skip to content

Commit c1658d8

Browse files
xzl01deepin-ci-robot
authored andcommitted
fix: fix package error
Log: patch 新建文件没有可执行权限,且未在install文件中添加
1 parent d9bb5eb commit c1658d8

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

debian/bluez.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ lib/systemd/system/bluetooth.service
2828
usr/share/dbus-1/system.d/bluetooth.conf
2929
usr/share/dbus-1/system-services/org.bluez.service
3030
usr/share/zsh/site-functions/_bluetoothctl
31+
usr/libexec/bluetooth/bluetoothd.sh

debian/patches/0001-Add-custom-config-for-huawei.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Subject: [PATCH 1/2] Add-custom-config-for-huawei
77
src/bluetooth.service.in | 4 ++--
88
src/bluetoothd.sh | 8 ++++++++
99
2 files changed, 10 insertions(+), 2 deletions(-)
10-
create mode 100644 src/bluetoothd.sh
10+
create mode 100755 src/bluetoothd.sh
1111

1212
diff --git a/src/bluetooth.service.in b/src/bluetooth.service.in
1313
index beb98ce..f4eeaca 100644
@@ -27,7 +27,7 @@ index beb98ce..f4eeaca 100644
2727
LimitNPROC=1
2828

2929
diff --git a/src/bluetoothd.sh b/src/bluetoothd.sh
30-
new file mode 100644
30+
new file mode 100755
3131
index 0000000..66d7160
3232
--- /dev/null
3333
+++ b/src/bluetoothd.sh

debian/rules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ override_dh_install:
4848
# Remove test scripts, and these are taken directly into the package
4949
# from the test directory
5050
rm -rf debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/bluez
51+
install -m 755 -D src/bluetoothd.sh debian/tmp/usr/libexec/bluetooth
5152
dh_install
5253

5354
override_dh_auto_configure:

0 commit comments

Comments
 (0)