public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Alain Knaff <alain@knaff.lu>
Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, w@1wt.eu
Subject: Re: [update5] [PATCH] init: bzip2 or lzma -compressed kernels and initrds
Date: Tue, 23 Sep 2008 14:37:59 -0700	[thread overview]
Message-ID: <48D961B7.7030408@zytor.com> (raw)
In-Reply-To: <48D95ECC.9010107@knaff.lu>

Alain Knaff wrote:
> H. Peter Anvin wrote:
>> More failures...
>>
>> /bin/sh: scripts/bin_size: No such file or directory
> 
> Could be a permission issue. Did you try to chmod 755 scripts/bin_size ?
> Hmmm, diff does indeed not encode permissions, how should such cases be
> usually handled?
> 

A few more thoughts:

quiet_cmd_bzip2 = BZIP2    $@
cmd_bzip2 = (bzip2 -9 < $< ; $(size_append) $<) > $@

quiet_cmd_lzma = LZMA    $@
cmd_lzma = (lzma -9 -c $< ; $(size_append) $<) >$@

These will produce stale files on failure.  Using stdout in Makefiles is 
a bit tricky.  You probably need something like:

(bzip2 -9 < $<  && $(size_append) $<) > $@ || (rm -f $@ ; false)

	-hpa

  parent reply	other threads:[~2008-09-23 21:39 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09  6:41 [update3] [PATCH] init: bzip2 or lzma -compressed kernels and initrds Alain Knaff
2008-09-11 22:43 ` H. Peter Anvin
2008-09-11 23:16   ` Alain Knaff
2008-09-11 23:21     ` H. Peter Anvin
2008-09-22  6:16       ` [update5] " Alain Knaff
2008-09-22 16:08         ` H. Peter Anvin
2008-09-22 16:15           ` Alain Knaff
2008-09-23 19:07             ` H. Peter Anvin
2008-09-23 19:44               ` Alain Knaff
2008-09-23 20:07                 ` H. Peter Anvin
2008-09-23 21:07                 ` H. Peter Anvin
2008-09-23 21:25                   ` Alain Knaff
2008-09-23 21:30                     ` H. Peter Anvin
2008-09-23 21:49                       ` H. Peter Anvin
2008-09-23 22:00                       ` Alain Knaff
2008-09-23 22:19                         ` H. Peter Anvin
2008-09-23 22:23                           ` Alain Knaff
2008-10-09 17:44                             ` H. Peter Anvin
2008-10-10  3:11                               ` Alain Knaff
2008-10-10 21:31                                 ` H. Peter Anvin
2008-10-11  7:28                                   ` Alain Knaff
2008-10-11 14:10                                     ` H. Peter Anvin
2008-10-13  7:02                                     ` Alain Knaff
2008-09-23 21:37                     ` H. Peter Anvin [this message]
2008-09-24  3:52                     ` Willy Tarreau
  -- strict thread matches above, loose matches on Subject: below --
2008-09-11 23:54 Alain Knaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48D961B7.7030408@zytor.com \
    --to=hpa@zytor.com \
    --cc=alain@knaff.lu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=w@1wt.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox