diff --git a/helpers/DATA/linux/udeb/000-d-i.patch b/helpers/DATA/linux/udeb/000-d-i.patch index 48b52334..bd7f35bd 100644 --- a/helpers/DATA/linux/udeb/000-d-i.patch +++ b/helpers/DATA/linux/udeb/000-d-i.patch @@ -21,18 +21,18 @@ index 43eae8d5..c81721bc 100755 cp $(DEBIAN)/changelog debian/changelog # Install the copyright information. -@@ -213,7 +221,14 @@ $(DEBIAN)/control.stub: \ +@@ -212,7 +211,14 @@ $(DEBIAN)/control.stub: debian/canonical-revoked-certs.pem debian/canonical-revo .PHONY: debian/control - debian/control: $(DEBIAN)/control.stub + debian/control: $(DEBIAN)/control.stub FORCE + echo "# placebo control.stub for kernel-wedge flow change" >debian/control.stub cp $(DEBIAN)/control.stub debian/control -+ # append udeb packages + export KW_DEFCONFIG_DIR=$(DEBIAN)/d-i && \ + export KW_CONFIG_DIR=$(DEBIAN)/d-i && \ + LANG=C kernel-wedge gen-control $(release)-$(abinum) | \ + grep-dctrl -FArchitecture $(arch) \ + >>$(CURDIR)/debian/control ++ debian/canonical-certs.pem: $(wildcard $(DROOT)/certs/*-all.pem) $(wildcard $(DROOT)/certs/*-$(arch).pem) $(wildcard $(DEBIAN)/certs/*-all.pem) $(wildcard $(DEBIAN)/certs/*-$(arch).pem) for cert in $(sort $(notdir $^)); \