X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=bootcd.spec;h=391fec7999a037db591f60e9c44b53693cfa57c8;hb=f4c1f3b505c6824dbbd631a5e1a5346ef9956d71;hp=d3ca071335445d88c473b94b98aaf870a18ccc91;hpb=6e403c637ec04ff99e2df2d4e2e1a62618649d7f;p=bootcd.git diff --git a/bootcd.spec b/bootcd.spec index d3ca071..391fec7 100644 --- a/bootcd.spec +++ b/bootcd.spec @@ -58,7 +58,7 @@ pushd bootcd # Install the reference image and build scripts install -d -m 755 $RPM_BUILD_ROOT/%{_datadir}/%{name} install -m 755 build.sh $RPM_BUILD_ROOT/%{_datadir}/%{name}/ -find \ +tar cpf - \ build/isofs/bootcd.img \ build/isofs/isolinux.bin \ build/isofs/kernel \ @@ -66,7 +66,7 @@ find \ build/version.txt \ configurations \ syslinux/unix/syslinux | \ - cpio -p -d -u $RPM_BUILD_ROOT/%{_datadir}/%{name}/ + tar -C $RPM_BUILD_ROOT/%{_datadir}/%{name}/ -xpf - # Install the default images in the download/ directory install -d -m 755 $RPM_BUILD_ROOT/var/www/html/download