git://git.onelab.eu
/
bootcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7a95cd8
)
- use tar instead of cpio so that directories don't get created with
author
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 28 Jul 2006 17:15:58 +0000
(17:15 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 28 Jul 2006 17:15:58 +0000
(17:15 +0000)
0700 perms
bootcd.spec
patch
|
blob
|
history
diff --git
a/bootcd.spec
b/bootcd.spec
index
d3ca071
..
391fec7
100644
(file)
--- 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}/
# 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 \
build/isofs/bootcd.img \
build/isofs/isolinux.bin \
build/isofs/kernel \
@@
-66,7
+66,7
@@
find \
build/version.txt \
configurations \
syslinux/unix/syslinux | \
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
# Install the default images in the download/ directory
install -d -m 755 $RPM_BUILD_ROOT/var/www/html/download