debian/rules: fix openkylin vendor

This commit is contained in:
luoyaoming 2022-06-03 14:20:39 +08:00
parent f28d963d73
commit 0417200973
2 changed files with 14 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
bubblewrap (0.4.0-ok2) yangtze; urgency=medium
* debian/rules:
fix openkylin vendor
-- Luoyaoming <luoyaoming@kylinos.cn> Fri, 03 Jun 2022 14:18:53 +0800
bubblewrap (0.4.0-ok1) yangtze; urgency=medium
* Build for openKylin.

7
debian/rules vendored
View File

@ -22,6 +22,13 @@ else
dh_fixperms
endif
ifneq (yes,$(shell dpkg-vendor --derives-from openKylin && echo yes))
chmod 04755 $(PKGDIR)/usr/bin/bwrap
dh_fixperms -Xbin/bwrap
else
dh_fixperms
endif
.PHONY: override_dh_fixperms
override_dh_auto_test: