drop signing
This commit is contained in:
30
debian/rules.real
vendored
30
debian/rules.real
vendored
@@ -481,36 +481,6 @@ endif
|
||||
ln -s ../../../boot/vmlinux-$(REAL_VERSION) $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)/vmlinux
|
||||
$(dh_binary_post)
|
||||
|
||||
build_signed-template:
|
||||
|
||||
binary_signed-template: GEN_DIR = debian/generated.signed-$(ARCH)
|
||||
binary_signed-template: CODE_SIGNING_DIR = $(DESTDIR)/usr/share/code-signing/$(PACKAGE_NAME)
|
||||
binary_signed-template: DEBIAN_DIR = $(CODE_SIGNING_DIR)/source-template/debian
|
||||
binary_signed-template: VERSION_TEMPLATE = $(shell echo $(DEB_VERSION) | sed -Ee 's/\+b(\d+)$$/.b\1/' -e 's/-/+/g')
|
||||
binary_signed-template:
|
||||
$(dh_binary_pre)
|
||||
rm -rf $(CODE_SIGNING_DIR)
|
||||
mkdir -p $(DEBIAN_DIR)/source
|
||||
for i in $$(find $(GEN_DIR) -type f -printf '%P\n'); do \
|
||||
sed -E \
|
||||
-e 's/@signedtemplate_binaryversion@/$(DEB_VERSION)/g' \
|
||||
-e 's/@signedtemplate_sourceversion@/$(VERSION_TEMPLATE)/g' \
|
||||
$(GEN_DIR)/$$i > $(DEBIAN_DIR)/$$i; \
|
||||
done
|
||||
for i in $$(find debian/signing_templates -type f -printf '%P\n'); do \
|
||||
sed -E \
|
||||
-e 's/@signedtemplate_binaryversion@/$(DEB_VERSION)/g' \
|
||||
-e 's/@signedtemplate_sourceversion@/$(VERSION_TEMPLATE)/g' \
|
||||
debian/signing_templates/$$i > $(DEBIAN_DIR)/$$i; \
|
||||
done
|
||||
mv $(DEBIAN_DIR)/changelog.head $(DEBIAN_DIR)/changelog
|
||||
tail +2 debian/changelog >> $(DEBIAN_DIR)/changelog
|
||||
mv $(DEBIAN_DIR)/files.json $(CODE_SIGNING_DIR)/
|
||||
chmod 755 $(DEBIAN_DIR)/rules
|
||||
cp -R debian/copyright \
|
||||
$(CODE_SIGNING_DIR)/source-template/debian/
|
||||
$(dh_binary_post)
|
||||
|
||||
build_source:
|
||||
|
||||
binary_source: BUILDDEB_ARGS = -Zxz -z0
|
||||
|
Reference in New Issue
Block a user