debian/rules: fix openkylin vendor
This commit is contained in:
parent
00d1263f3a
commit
9e4c8bd87a
|
@ -1,3 +1,9 @@
|
||||||
|
sysvinit (2.96-ok2) yangtze; urgency=medium
|
||||||
|
|
||||||
|
* debian/rules: fix openkylin vendor
|
||||||
|
|
||||||
|
-- Luoyaoming <luoyaoming@kylinos.cn> Fri, 03 Jun 2022 17:05:10 +0800
|
||||||
|
|
||||||
sysvinit (2.96-ok1) yangtze; urgency=low
|
sysvinit (2.96-ok1) yangtze; urgency=low
|
||||||
|
|
||||||
* Build for openKylin.
|
* Build for openKylin.
|
||||||
|
|
|
@ -34,6 +34,9 @@ DH_OPTIONS =
|
||||||
ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
|
ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
|
||||||
DH_OPTIONS = -Nsysvinit-core -Nsysv-rc -Ninitscripts -Nbootlogd
|
DH_OPTIONS = -Nsysvinit-core -Nsysv-rc -Ninitscripts -Nbootlogd
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(shell dpkg-vendor --query vendor),openKylin)
|
||||||
|
DH_OPTIONS = -Nsysvinit-core -Nsysv-rc -Ninitscripts -Nbootlogd
|
||||||
|
endif
|
||||||
|
|
||||||
# Use debhelper's dh
|
# Use debhelper's dh
|
||||||
%:
|
%:
|
||||||
|
@ -90,6 +93,16 @@ ifneq ($(shell dpkg-vendor --query vendor),Ubuntu)
|
||||||
$(bootlogdtmp)$(doc)/bootlogd/changelog.Debian
|
$(bootlogdtmp)$(doc)/bootlogd/changelog.Debian
|
||||||
endif
|
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 \
|
||||||
|
$(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
|
||||||
|
|
||||||
override_dh_installchangelogs-indep:
|
override_dh_installchangelogs-indep:
|
||||||
dh_installchangelogs
|
dh_installchangelogs
|
||||||
ifneq ($(shell dpkg-vendor --query vendor),Ubuntu)
|
ifneq ($(shell dpkg-vendor --query vendor),Ubuntu)
|
||||||
|
@ -100,6 +113,14 @@ ifneq ($(shell dpkg-vendor --query vendor),Ubuntu)
|
||||||
$(inittmp)$(doc)/initscripts/changelog.Debian
|
$(inittmp)$(doc)/initscripts/changelog.Debian
|
||||||
endif
|
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
|
||||||
|
dh_installchangelogs -pinitscripts
|
||||||
|
sed -i -ne '/sysvinit (2.86.ds1-47)/q' -e p \
|
||||||
|
$(inittmp)$(doc)/initscripts/changelog.Debian
|
||||||
|
endif
|
||||||
|
|
||||||
override_dh_installdeb:
|
override_dh_installdeb:
|
||||||
dh_installdeb
|
dh_installdeb
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue