GNU bug report logs - #29409
GuixSD ARM port.

Previous Next

Package: guix-patches;

Reported by: Mathieu Othacehe <m.othacehe <at> gmail.com>

Date: Thu, 23 Nov 2017 09:46:01 UTC

Severity: normal

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

Full log


Message #93 received at 29409 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 29409 <at> debbugs.gnu.org
Subject: Re: [bug#29409] [PATCH] build: utils: Introduce dd.
Date: Fri, 01 Dec 2017 14:03:18 +0100
>   (call-with-input-file (string-append syslinux-dir "/" #$mbr)
>     (lambda (input)
>       (let ((bv (get-bytevector-n input 440))
>             (output (open-file device "wb0")))
>         (put-bytevector output bv)
>         (close-port output))))
>
> Granted, that’s a bit more verbose, but it’s also very lightweight
> compared to using ‘dd’.

It's much more elegant anyway ! I'll adapt the patch.

Thanks,

Mathieu





This bug report was last modified 7 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.