Re: [PATCH 1/2] scripts: buildtar fix build w/o modules

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

 



On Tue, Aug 16, 2016 at 6:35 AM, Dmitry Monakhov <dmonakhov@xxxxxxxxxx> wrote:
> If build configured w/o modules script fails because lib/ is not exit.

"does not exist"?

When I ran into this once before, it did seem the tar archive was
fine.  But it was disconcerting to see an error message, followed by
buildtar claiming that the tarball was successfully created...


> +       tar cf - -C "$tmpdir" . $opts | ${compress} > "${tarball}${file_ext}"

If, somehow, there are files in $tmpdir that aren't in /boot (or /lib)
then this would put things in the tar archive that weren't there
before the patch.  I don't offhand see how that could happen, but a
more conservative approach would be to test for /lib.

-- 
Jim
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux