[fedora-productimg-workstation/f21] correctly pregenerate product.img cpio archive

Matthew Miller mattdm at fedoraproject.org
Wed Nov 26 13:54:27 UTC 2014


commit 33bed5aba01beba28108d49201e99a0d6854faf1
Author: Matthew Miller <mattdm at mattdm.org>
Date:   Wed Nov 26 08:54:08 2014 -0500

    correctly pregenerate product.img cpio archive

 fedora-productimg-workstation.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/fedora-productimg-workstation.spec b/fedora-productimg-workstation.spec
index d3c1abd..86d0c01 100644
--- a/fedora-productimg-workstation.spec
+++ b/fedora-productimg-workstation.spec
@@ -3,7 +3,7 @@
 
 Name:           fedora-productimg-workstation
 Version:        21
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Installer branding and configuration for Fedora Workstation
 
 # Copyright and related rights waived via CC0
@@ -42,11 +42,12 @@ ln -sf %{pixmapsource}/sidebar-logo.png %{buildroot}%{pixmaptarget}/sidebar-logo
 
 install -m 755 -d %{buildroot}%{_datadir}/fedora-productimg
 
-find %{buildroot}%{pixmaptarget} -depth -printf '%P\0' | \
+pushd %{buildroot}%{_datadir}/lorax/product/
+find %{buildroot}%{_datadir}/lorax/product/ -depth -printf '%%P\0' | \
    cpio --null --quiet -H newc -o | \
    xz -9 > \
    %{buildroot}%{_datadir}/fedora-productimg/product.img
-
+popd
 
 %files
 %dir %{_datadir}/lorax/product/usr/share/anaconda
@@ -59,6 +60,9 @@ find %{buildroot}%{pixmaptarget} -depth -printf '%P\0' | \
 %{_datadir}/fedora-productimg/product.img
 
 %changelog
+* Wed Nov 26 2014 Matthew Miller <mattdm at fedoraproject.org> 21-7
+- correctly pregenerate product.img cpio archive
+
 * Thu Nov 20 2014 Matthew Miller <mattdm at fedoraproject.org> 21-6
 - provides lorax-product-workstation
 


More information about the scm-commits mailing list