[PATCH 7/7] builddeb: Try to get the user full name from the GECOS field

2020-09-20 Thread Guillem Jover
The GECOS field might contain the full name for the username, try to use that and fallback to using the username if that is empty. Signed-off-by: Guillem Jover --- scripts/package/mkdebian | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/package/mkdebian b/scripts

[PATCH 3/7] builddeb: Switch to a machine readable copyright file

2020-09-20 Thread Guillem Jover
This format makes it possible to automatically process the licenses within a system for compatibility or compliance checks, for example. Update the copyright years. Signed-off-by: Guillem Jover --- scripts/package/mkdebian | 36 +++- 1 file changed, 23 insertions

[PATCH 0/7] builddeb: Improve Debian packaging

2020-09-20 Thread Guillem Jover
Hi! This series fixes some packaging issues and brings it closer to current standards. Thanks, Guillem Guillem Jover (7): builddeb: Pass -n to gzip for reproducible packages builddeb: Move upstream repository URL into the upstream metadata file builddeb: Switch to a machine readable

[PATCH 1/7] builddeb: Pass -n to gzip for reproducible packages

2020-09-20 Thread Guillem Jover
We should not be encoding the timestamp, otherwise we end up generating unreproducible files that cascade into unreproducible packages. Signed-off-by: Guillem Jover --- scripts/package/builddeb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package/builddeb b

[PATCH 6/7] builddeb: Map rc versions to use an earlier than version scheme

2020-09-20 Thread Guillem Jover
This makes it possible to build release candidates that will have a version earlier than the final release. Signed-off-by: Guillem Jover --- scripts/package/mkdebian | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index b98c382f967a

[PATCH 4/7] builddeb: Add support for all required debian/rules targets

2020-09-20 Thread Guillem Jover
These have been required by the Debian policy for a while, even though the tooling can detect and workaround their omission, but are a hard requirement when using rootless builds. Signed-off-by: Guillem Jover --- scripts/package/mkdebian | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH 5/7] builddeb: Enable rootless builds

2020-09-20 Thread Guillem Jover
This makes it possible to build the Debian packages without requiring (pseudo-)root privileges, when the build drivers support this mode of operation. See-Also: /usr/share/doc/dpkg/rootless-builds.txt.gz Signed-off-by: Guillem Jover --- scripts/package/builddeb | 9 +++-- scripts/package

[PATCH 2/7] builddeb: Move upstream repository URL into the upstream metadata file

2020-09-20 Thread Guillem Jover
This file is structured in machine readable form (YAML), so makes it easier to process by other tools. Switch from a git to https URL. Signed-off-by: Guillem Jover --- scripts/package/mkdebian | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/package

[PATCH v2] aio: Fix io_pgetevents() struct __compat_aio_sigset layout

2019-10-21 Thread Guillem Jover
infer what layout userland used, even though this is also being worked around in libaio to temporarily cope with kernels that have not yet been fixed. We use a proper compat_uptr_t instead of a compat_sigset_t pointer. Fixes: 7a074e96dee6 ("aio: implement io_pgetevents") Signed-off-by: Gui

[PATCH] aio: Fix io_pgetevents() struct __compat_aio_sigset layout

2019-08-20 Thread Guillem Jover
syscall infer what layout userland used, even though this is also being worked around in libaio to temporarily cope with kernels that have not yet been fixed. We use a proper compat_uptr_t instead of a compat_sigset_t pointer. Fixes: 7a074e96 ("aio: implement io_pgetevents") Signed-off-b

Re: libaio tarballs on

2015-01-04 Thread Guillem Jover
Hi! On Thu, 2015-01-01 at 22:23:44 +0100, Sedat Dilek wrote: > I am playing with fio (manually compiled v2.2.3) and wanted to update > also my libaio development package on Ubuntu/precise. I'm not aware of any version later than the one in Debian. And git only seems to contain a single commit ove

Re: st_size of a symlink

2012-07-23 Thread Guillem Jover
On Tue, 2012-07-24 at 00:07:48 +0200, Richard Weinberger wrote: > On 23.07.2012 22:47, Jesper Juhl wrote: > >>Fix it _how_? > > > >By returning the size as the number of bytes in the name the link is > >currently pointing at. > > This is not easy. > procfs has no clue where the link pointing at. >

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-19 Thread Guillem Jover
On Sat, 2012-07-07 at 19:27:12 +, Arnd Bergmann wrote: > On Saturday 07 July 2012, Olof Johansson wrote: > > > ARM introduced AArch64 as part of the ARMv8 architecture > > > > With the risk of bikeshedding here, but I find the name awkward. How > > about just naming the arch port arm64 instead