Project

General

Profile

Actions

Bug #9860

closed

Feature #9720: kernel: support for booting with cpio-based boot_archive

Feature #9721: cmd/boot: support cpio boot archive

cpio_cleanup: $tarchive is already fully-qualified

Added by Andy Fiddaman over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2018-10-01
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

#9721 introduced support for CPIO boot archives and includes a cleanup routine which is executed after CPIO archive creation or if the create_archive.ksh script is interrupted. This cleanup routine assumes that the $tarchive (temporary archive) variable contains a relative path and erroneously prepends the alternate root path to it.
In the case of successful script completion, this does not present a problem since there is nothing to clean up.

Actions #2

Updated by Andy Fiddaman over 2 years ago

  • % Done changed from 90 to 100
  • Status changed from New to Pending RTI
Actions #3

Updated by Electric Monk over 2 years ago

  • Status changed from Pending RTI to Closed

git commit 2119ebe49a3e2372de7791dce841058bdcb55de3

commit  2119ebe49a3e2372de7791dce841058bdcb55de3
Author: Andy Fiddaman <omnios@citrus-it.co.uk>
Date:   2018-10-07T19:35:23.000Z

    9860 cpio_cleanup: $tarchive is already fully-qualified
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF