[rhel7/master] unpack product.img to correct location (#869098)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Sat Feb 2 00:24:34 UTC 2013
Ack.
On Thu, Jan 31, 2013 at 05:28:19PM -0800, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
>
> It was being unpacked to /updates instead of /updates/tmp/product
> ---
> dracut/anaconda-lib.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dracut/anaconda-lib.sh b/dracut/anaconda-lib.sh
> index b09a7cc..19573ed 100755
> --- a/dracut/anaconda-lib.sh
> +++ b/dracut/anaconda-lib.sh
> @@ -101,7 +101,7 @@ anaconda_auto_updates() {
>
> # Unpack an image into the given dir.
> unpack_updates_img() {
> - local img="$1" tmpdir="/tmp/${1##*/}.$$" outdir="${2:+/updates}"
> + local img="$1" tmpdir="/tmp/${1##*/}.$$" outdir="${2:-/updates}"
> # NOTE: unpack_img $img $outdir can clobber existing subdirs in $outdir,
> # which is why we use a tmpdir and copytree (which doesn't clobber)
> unpack_img $img $tmpdir
> --
> 1.8.0.2
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
More information about the anaconda-patches
mailing list