Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 18 years ago
parent
commit
7a8f9ed892
3 changed files with 4 additions and 10 deletions
  1. +1
    -3
      package/base/rockinitrd/initrd_essential.txt
  2. +2
    -6
      package/base/rockinitrd/mkinitrd.sh
  3. +1
    -1
      package/base/rockinitrd/rockinitrd.desc

+ 1
- 3
package/base/rockinitrd/initrd_essential.txt

@ -1,6 +1,4 @@
/bin/bash /bin/bash
/bin/bash2 /bin/bash2
/bin/bash3 /bin/bash3
/bin/bash /bin/bash -L
/bin/sh /bin/sh
/bin/ls /bin/ls
/sbin/pivot_root /sbin/pivot_root

+ 2
- 6
package/base/rockinitrd/mkinitrd.sh

@ -151,7 +151,7 @@ needed_libs() {
echo -n "Copying other files ... "
for x in ${rootdir}/etc/conf/initrd/initrd_* ; do
[ -f ${x} ] || continue
while read file target ; do
while read file target cpopt; do
file="${rootdir}/${file}"
if [ ! -e ${file} ] ; then
echo "${file} is requested by ${x} but doesn't exist!" >&2
@ -169,11 +169,7 @@ for x in ${rootdir}/etc/conf/initrd/initrd_* ; do
mkdir -p ${tfile%/*}
fi
# if [ -b ${f} -o -c ${f} -o -p ${f} -o -L ${f} ] ; then
cp -a ${f} ${tfile}
# else
# cp ${f} ${tfile}
# fi
cp ${cpopt:--a} ${f} ${tfile}
file -L ${f} | grep -q ELF || continue
libs="${libs} `needed_libs ${f}`"

+ 1
- 1
package/base/rockinitrd/rockinitrd.desc

@ -39,6 +39,6 @@
[L] GPL
[S] Beta
[V] 20071206 0
[V] 20080112 0
[P] X --X--5---9 100.200

Loading…
Cancel
Save