فهرست منبع

kbuild: deb-pkg ship changelog

In the series for 2.6.31 it was noticed to ship the copyright,
but the generated changelog got lost somehow.

As bonus the generated linux-image deb packages are Lenny lintian clean.

Cc: Frans Pop <elendil@planet.nl>
Cc: Andres Salomon <dilinger@debian.org>
Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
maximilian attems 16 سال پیش
والد
کامیت
1ab18486e4
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      scripts/package/builddeb

+ 2 - 0
scripts/package/builddeb

@@ -16,6 +16,8 @@ create_package() {
 	local pname="$1" pdir="$2"
 	local pname="$1" pdir="$2"
 
 
 	cp debian/copyright "$pdir/usr/share/doc/$pname/"
 	cp debian/copyright "$pdir/usr/share/doc/$pname/"
+	cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian"
+	gzip -9 "$pdir/usr/share/doc/$pname/changelog.Debian"
 
 
 	# Fix ownership and permissions
 	# Fix ownership and permissions
 	chown -R root:root "$pdir"
 	chown -R root:root "$pdir"