diff options
author | Brian C. Lane <bcl@redhat.com> | 2013-01-31 17:20:41 -0800 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2013-02-01 16:33:00 -0800 |
commit | 8bbeb5e5e8be3a1fdd41bcdb1734593c7694fd19 (patch) | |
tree | 90be819815c4ca59d5bc21b480a5bc54189bf1ba /dracut | |
parent | 56787f6a49174b14ed9e916d6e022c53305f716c (diff) | |
download | anaconda-8bbeb5e5e8be3a1fdd41bcdb1734593c7694fd19.tar.gz anaconda-8bbeb5e5e8be3a1fdd41bcdb1734593c7694fd19.tar.xz anaconda-8bbeb5e5e8be3a1fdd41bcdb1734593c7694fd19.zip |
unpack product.img to correct location (#869098)
It was being unpacked to /updates instead of /updates/tmp/product
Diffstat (limited to 'dracut')
-rwxr-xr-x | dracut/anaconda-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut/anaconda-lib.sh b/dracut/anaconda-lib.sh index b09a7cc93..19573ed91 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 |