summaryrefslogtreecommitdiffstats
path: root/dracut
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2013-01-31 17:20:41 -0800
committerBrian C. Lane <bcl@redhat.com>2013-02-01 16:33:00 -0800
commit8bbeb5e5e8be3a1fdd41bcdb1734593c7694fd19 (patch)
tree90be819815c4ca59d5bc21b480a5bc54189bf1ba /dracut
parent56787f6a49174b14ed9e916d6e022c53305f716c (diff)
downloadanaconda-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-xdracut/anaconda-lib.sh2
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