Merge branch 'waldi/news-template' into 'master'

Generate NEWS file from templates

See merge request kernel-team/linux!889
This commit is contained in:
Bastian Blank 2023-11-05 12:57:12 +00:00
commit 3d9299c3ea
6 changed files with 3 additions and 3 deletions

View file

@ -163,6 +163,7 @@ class PackagesBundle:
package.meta['rules-check-packages'] = check_packages
for name in (
'NEWS',
'bug-presubj',
'lintian-overrides',
'maintscript',

2
debian/rules.real vendored
View file

@ -402,7 +402,6 @@ endif
binary_image_bug \
DESTDIR='$(DESTDIR)' PACKAGE_NAME='$(PACKAGE_NAME)' REAL_VERSION='$(REAL_VERSION)'
dh_strip --no-automatic-dbgsym -Xvmlinux -Xvmlinuz
ln -sf linux-image.NEWS debian/$(PACKAGE_NAME).NEWS
+$(MAKE_SELF) install-base
binary_image_bug:
@ -499,7 +498,6 @@ binary_signed-template:
chmod 755 $(DEBIAN_DIR)/rules
cp -R debian/copyright \
debian/installer \
debian/linux-image.NEWS \
$(CODE_SIGNING_DIR)/source-template/debian/
+$(MAKE_SELF) install-base

View file

@ -43,7 +43,6 @@ binary_image:
$(PACKAGE_DIR)/usr/share/bug/$(PACKAGE_NAME)/info
dh_install
dh_installchangelogs
ln -sf linux-image.NEWS debian/$(PACKAGE_NAME).NEWS
dh_installdocs
dh_lintian
dh_compress

1
debian/templates/image-unsigned.NEWS.in vendored Symbolic link
View file

@ -0,0 +1 @@
image.NEWS.in

1
debian/templates/signed.image.NEWS.in vendored Symbolic link
View file

@ -0,0 +1 @@
image.NEWS.in