diff --git a/Makefile b/Makefile index 97bc06ed..85f74041 100644 --- a/Makefile +++ b/Makefile @@ -47,9 +47,9 @@ install: # generate the changelog, for this we need the previous core snap # to be installed, this should be handled in snapcraft.yaml - if [ -e "/snap/$(SNAP_NAME)/current/usr/share/snappy/dpkg.yaml" ]; then \ + if [ -e "/snap/core22/current/usr/share/snappy/dpkg.yaml" ]; then \ ./tools/generate-changelog.py \ - "/snap/$(SNAP_NAME)/current/usr/share/snappy/dpkg.yaml" \ + "/snap/core22/current/usr/share/snappy/dpkg.yaml" \ "$(DESTDIR)/usr/share/snappy/dpkg.yaml" \ "$(DESTDIR)/usr/share/doc" \ $(DESTDIR)/usr/share/doc/ChangeLog; \ @@ -62,7 +62,7 @@ install: /bin/cp $(DESTDIR)/usr/share/snappy/dpkg.list /build/core22/core22-$$(date +%Y%m%d%H%M)_$(DPKG_ARCH).manifest; \ /bin/cp $(DESTDIR)/usr/share/snappy/dpkg.yaml /build/core22/core22-$$(date +%Y%m%d%H%M)_$(DPKG_ARCH).dpkg.yaml; \ if [ -e $(DESTDIR)/usr/share/doc/ChangeLog ]; then \ - /bin/cp $(DESTDIR)/usr/share/doc/ChangeLog $(BUILDDIR)/$(SNAP_NAME)-$$(date +%Y%m%d%H%M)_$(DPKG_ARCH).ChangeLog; \ + /bin/cp $(DESTDIR)/usr/share/doc/ChangeLog $(BUILDDIR)/core22-$$(date +%Y%m%d%H%M)_$(DPKG_ARCH).ChangeLog; \ fi \ fi; diff --git a/tools/generate-changelog.py b/tools/generate-changelog.py index de4da09d..f0905750 100755 --- a/tools/generate-changelog.py +++ b/tools/generate-changelog.py @@ -37,8 +37,7 @@ # keep the list short to not increase the time it takes # to generate changelogs pkg_allowed_list = [ - 'dpkg', # is removed during hook - 'openssl' # contains a symlink which is broken currently + 'distro-info-data', # is removed during hook ] # Returns a dictionary from package name to version, using