[rhel7/master] unpack product.img to correct location (#869098)
Brian C. Lane
bcl at redhat.com
Fri Feb 1 01:28:19 UTC 2013
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
More information about the anaconda-patches
mailing list