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

Re: debootstrap InRelease file support

Julien Cristau <jcristau@debian.org> (2016-09-16):
> On Fri, Sep  2, 2016 at 20:35:12 +0200, Julien Cristau wrote:
> > On Mon, Aug 15, 2016 at 12:12:02 +0200, Ansgar Burchardt wrote:
> > 
> > > If you restore support for `InRelease` and want to use `gpgv`, please
> > > split `InRelease` into two files, i.e. `Release` and `Release.gpg`, and
> > > verify that the signature actually covers all of `Release`.
> > > 
> > Here's an attempt at doing that.  Only lightly tested.
> > 
> Ansgar pointed out on IRC that so far nothing in debootstrap requires
> awk on the host.  I haven't found a way to kill the last newline with
> sed in a quick attempt, and I don't know how big of a deal requiring awk
> would be, so help welcome.

Late to the party, but maybe shorter than the (funny though) tr|sed|tr
dance: head -c -1 lets you remove the last character of a file.

(Tested to work OK inside d-i with debian-8.6.0-amd64-i386-netinst.iso)


Attachment: signature.asc
Description: Digital signature

Reply to: