Re: [PATCH v5] deb-pkg: add source package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kernel 4.3-rc1 introduces 
Commit 3716001bcb7f5822382ac1f2f54226b87312cc6b 
which was from an e-mail thread of this subject name.
I am not on the linux-kbuild e-mail list, but have
found and reviewed the approximately 45 e-mails
of this thread, back to v1.

I understand that I now need to use bindeb-pkg
where I used to use deb-pkg to compile the kernel.

However, I do not understand why I now get a .change
file that I do not want.

Nor do I want the 532 lines of "dpkg-genchanges"
and ""Use of uninitialized value" warnings at the end
of the compile.
 
I am asking why is this stuff here (in
scripts/package/builddeb):

>+EOF
>+	mv ${sourcename}.tar.gz ../${sourcename}_${version}.orig.tar.gz
>+	tar caf ../${sourcename}_${packageversion}.debian.tar.gz debian/{copyright,rules,changelog,control}
>+	dpkg-source -cdebian/control -ldebian/changelog --format="3.0 (custom)" --target-format="3.0 (quilt)" \
>+		-b / ../${sourcename}_${version}.orig.tar.gz  ../${sourcename}_${packageversion}.debian.tar.gz
>+	mv ${sourcename}_${packageversion}*dsc ..
>+	dpkg-genchanges > ../${sourcename}_${packageversion}_${debarch}.changes
>+else
>+	dpkg-genchanges -b > ../${sourcename}_${packageversion}_${debarch}.changes
>+fi
>+

and suggest that (at least for people that just want things
to be the way they were) it should be:

+EOF
+	mv ${sourcename}.tar.gz ../${sourcename}_${version}.orig.tar.gz
+	tar caf ../${sourcename}_${packageversion}.debian.tar.gz debian/{copyright,rules,changelog,control}
+	dpkg-source -cdebian/control -ldebian/changelog --format="3.0 (custom)" --target-format="3.0 (quilt)" \
+		-b / ../${sourcename}_${version}.orig.tar.gz  ../${sourcename}_${packageversion}.debian.tar.gz
+	mv ${sourcename}_${packageversion}*dsc ..
+	dpkg-genchanges > ../${sourcename}_${packageversion}_${debarch}.changes
+fi


--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux