debian/rules: fix openkylin vendor
This commit is contained in:
parent
e905a00924
commit
fe97171149
|
@ -1,3 +1,10 @@
|
||||||
|
cryptsetup (2:2.2.2-ok2) yangtze; urgency=medium
|
||||||
|
|
||||||
|
* debian/rules:
|
||||||
|
fix openkylin vendor
|
||||||
|
|
||||||
|
-- Luoyaoming <luoyaoming@kylinos.cn> Fri, 03 Jun 2022 14:31:18 +0800
|
||||||
|
|
||||||
cryptsetup (2:2.2.2-ok1) yangtze; urgency=medium
|
cryptsetup (2:2.2.2-ok1) yangtze; urgency=medium
|
||||||
|
|
||||||
* Build for openKylin.
|
* Build for openKylin.
|
||||||
|
|
|
@ -58,6 +58,11 @@ ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
|
||||||
mkdir -p $(CURDIR)/debian/cryptsetup/usr/share/apport/package-hooks
|
mkdir -p $(CURDIR)/debian/cryptsetup/usr/share/apport/package-hooks
|
||||||
install -m 0644 debian/cryptsetup.apport \
|
install -m 0644 debian/cryptsetup.apport \
|
||||||
$(CURDIR)/debian/cryptsetup/usr/share/apport/package-hooks/cryptsetup.py
|
$(CURDIR)/debian/cryptsetup/usr/share/apport/package-hooks/cryptsetup.py
|
||||||
|
endif
|
||||||
|
ifeq ($(shell dpkg-vendor --is openKylin && echo yes),yes)
|
||||||
|
mkdir -p $(CURDIR)/debian/cryptsetup/usr/share/apport/package-hooks
|
||||||
|
install -m 0644 debian/cryptsetup.apport \
|
||||||
|
$(CURDIR)/debian/cryptsetup/usr/share/apport/package-hooks/cryptsetup.py
|
||||||
endif
|
endif
|
||||||
mv -f $(CURDIR)/debian/cryptsetup-initramfs.preinst $(CURDIR)/debian/cryptsetup-initramfs.preinst~
|
mv -f $(CURDIR)/debian/cryptsetup-initramfs.preinst $(CURDIR)/debian/cryptsetup-initramfs.preinst~
|
||||||
while IFS= read -r x; do if [ "$${x#CONF_HOOK_CONTENTS=}" = "$$x" ]; then printf "%s\n" "$$x"; else printf "CONF_HOOK_CONTENTS=\"\$$(cat <<EOF\n"; cat debian/initramfs/conf-hook; printf "EOF\n)\""; fi ; done <$(CURDIR)/debian/cryptsetup-initramfs.preinst~ >$(CURDIR)/debian/cryptsetup-initramfs.preinst
|
while IFS= read -r x; do if [ "$${x#CONF_HOOK_CONTENTS=}" = "$$x" ]; then printf "%s\n" "$$x"; else printf "CONF_HOOK_CONTENTS=\"\$$(cat <<EOF\n"; cat debian/initramfs/conf-hook; printf "EOF\n)\""; fi ; done <$(CURDIR)/debian/cryptsetup-initramfs.preinst~ >$(CURDIR)/debian/cryptsetup-initramfs.preinst
|
||||||
|
|
Loading…
Reference in New Issue