Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 18 years ago
parent
commit
96d8115f57
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      package/target-finish/1st-stage/1st-stage.conf

+ 3
- 1
package/target-finish/1st-stage/1st-stage.conf

@ -105,7 +105,9 @@ for x in $confdir/$initrd_config/initrd_* ; do
mkdir -p ${tfile%/*}
fi
cp -dp "${f}" "${tfile}"
# without -R, cp would try to copy the contents of e.g.
# /lib/udev/devices/zero
cp -a "${f}" "${tfile}"
ls -l "$tfile"
file -L "${f}" | grep -q ELF || continue

Loading…
Cancel
Save