fakeroot dwimery for deb-pkg target
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest3 patches 1 replyIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | scripts/package: tar-pkg: use tar --owner=rootscripts/ | +5 | 0 replies | |
| 2/3 | scripts/package: add KBUILD_PKG_ROOTCMD variablescripts/ | +2 | 0 replies | |
| 3/3 | scripts/package: deb-pkg: use fakeroot if availablescripts/ | +19 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] fakeroot dwimery for deb-pkg target
Hi,
As Michal noticed, the tar*-pkg and *rpm-pkg targets can work fine without being able to write files owned by root. Only deb-pkg needs to learn to acquire faked root privileges. Here is an updated series reflecting this.
This version no longer documents the KBUILD_PKG_ROOTCMD variable in "make help" output. If make already has root privileges or fakeroot is installed, then the target will just work without any need for the user to worry about this. If not, instead of waiting from an error from chmod, it seemed better to give an error right away with advice to set KBUILD_PKG_ROOTCMD appropriately.
Since the scope of the variable’s applicability somewhat, I have not carried over any acks. But I am hoping you will still like the patches. :)
Jonathan Nieder (2):
scripts/package: add KBUILD_PKG_ROOTCMD variable scripts/package: deb-pkg: use fakeroot if available
Michal Marek (1):
scripts/package: tar-pkg: use tar --owner=root
scripts/package/Makefile | 20 +++++++++++++++++++- scripts/package/buildtar | 6 +++++- 2 files changed, 24 insertions(+), 2 deletions(-)