update debian/rules
This commit is contained in:
parent
fe97171149
commit
201a41603f
|
@ -1,3 +1,9 @@
|
|||
cryptsetup (2:2.2.2-ok3) yangtze; urgency=medium
|
||||
|
||||
* update debian/rules.
|
||||
|
||||
-- Luoyaoming <luoyaoming@kylinos.cn> Tue, 07 Jun 2022 11:44:04 +0800
|
||||
|
||||
cryptsetup (2:2.2.2-ok2) yangtze; urgency=medium
|
||||
|
||||
* debian/rules:
|
||||
|
|
|
@ -60,9 +60,9 @@ ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
|
|||
$(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
|
||||
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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue