diff options
author | Brian C. Lane <bcl@redhat.com> | 2013-02-18 13:29:13 -0800 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2013-02-20 08:00:28 -0800 |
commit | 4ffb904e9cae7440173a96f542e135498b0327ae (patch) | |
tree | 0c7e3e4204b33a80e9f6f90d6a3db45be49cb19a | |
parent | e628a3c3a3145dc32c8f2f6854867e2b47707529 (diff) | |
download | anaconda-4ffb904e9cae7440173a96f542e135498b0327ae.tar.gz anaconda-4ffb904e9cae7440173a96f542e135498b0327ae.tar.xz anaconda-4ffb904e9cae7440173a96f542e135498b0327ae.zip |
unpack product.img to /updates (#911873)
product.img should place its files under /run/install/product
This maintains consistency between updates.img and product.img and
supports correct operation whether or not tmpfs is used for /tmp
-rwxr-xr-x | dracut/anaconda-lib.sh | 2 | ||||
-rwxr-xr-x | dracut/anaconda-netroot.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dracut/anaconda-lib.sh b/dracut/anaconda-lib.sh index 19573ed91..30bf51e63 100755 --- a/dracut/anaconda-lib.sh +++ b/dracut/anaconda-lib.sh @@ -95,7 +95,7 @@ anaconda_auto_updates() { unpack_updates_img $dir/updates.img /updates fi if [ -e $dir/product.img ]; then - unpack_updates_img $dir/product.img /updates/tmp/product + unpack_updates_img $dir/product.img /updates fi } diff --git a/dracut/anaconda-netroot.sh b/dracut/anaconda-netroot.sh index 0425661c2..62179535c 100755 --- a/dracut/anaconda-netroot.sh +++ b/dracut/anaconda-netroot.sh @@ -58,7 +58,7 @@ case $repo in updates=$(fetch_url $repo/images/updates.img) [ -n "$updates" ] && unpack_updates_img $updates /updates product=$(fetch_url $repo/images/product.img) - [ -n "$product" ] && unpack_updates_img $product /updates/tmp/product + [ -n "$product" ] && unpack_updates_img $product /updates /sbin/dmsquash-live-root $runtime fi ;; |