update debian/rules

This commit is contained in:
luoyaoming 2022-06-08 11:37:18 +08:00
parent 9e4c8bd87a
commit 17de284b5f
2 changed files with 6 additions and 18 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
sysvinit (2.96-ok3) yangtze; urgency=medium
* update debian/rules.
-- Luoyaoming <luoyaoming@kylinos.cn> Wed, 08 Jun 2022 11:36:10 +0800
sysvinit (2.96-ok2) yangtze; urgency=medium
* debian/rules: fix openkylin vendor

18
debian/rules vendored
View File

@ -83,16 +83,6 @@ install-arch: build-arch
override_dh_installchangelogs-arch:
dh_installchangelogs -psysvinit-core doc/Changelog
ifneq ($(shell dpkg-vendor --query vendor),Ubuntu)
dh_installchangelogs -psysvinit-utils doc/Changelog
sed -i -ne '/sysvinit (2.86.ds1-47)/q' -e p \
$(utiltmp)$(doc)/sysvinit-utils/changelog.Debian
dh_installchangelogs -pbootlogd
sed -i -ne '/sysvinit (2.86.ds1-47)/q' -e p \
$(bootlogdtmp)$(doc)/bootlogd/changelog.Debian
endif
ifneq ($(shell dpkg-vendor --query vendor),openKylin)
dh_installchangelogs -psysvinit-utils doc/Changelog
sed -i -ne '/sysvinit (2.86.ds1-47)/q' -e p \
@ -105,14 +95,6 @@ endif
override_dh_installchangelogs-indep:
dh_installchangelogs
ifneq ($(shell dpkg-vendor --query vendor),Ubuntu)
sed -i -ne '/sysvinit (2.86.ds1-47)/q' -e p \
$(rctmp)$(doc)/sysv-rc/changelog.Debian
dh_installchangelogs -pinitscripts
sed -i -ne '/sysvinit (2.86.ds1-47)/q' -e p \
$(inittmp)$(doc)/initscripts/changelog.Debian
endif
ifneq ($(shell dpkg-vendor --query vendor),openKylin)
sed -i -ne '/sysvinit (2.86.ds1-47)/q' -e p \
$(rctmp)$(doc)/sysv-rc/changelog.Debian