changed to backticks and changed /bin/bash back to /bin/sh which is a valid shell...
authorEric Edgar <rocket@gentoo.org>
Tue, 28 Jun 2005 18:30:13 +0000 (18:30 +0000)
committerEric Edgar <rocket@gentoo.org>
Tue, 28 Jun 2005 18:30:13 +0000 (18:30 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@234 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_compile.sh
generic/initrd.scripts
generic/linuxrc
pkg/udev-058.tar.bz2

index 88b53b9ce891814a40b3de89bae022c587f9e9b9..5611c47e32f7b3237923c6f7a34eaa1861569daa 100644 (file)
@@ -704,12 +704,12 @@ compile_udev() {
                ln -snf "${KERNEL_DIR}" klibc/linux || gen_die "Could not link to ${KERNEL_DIR}"
                if [ "${ARCH}" = 'um' ]
                then
-                       compile_generic "ARCH=um KERNEL_DIR=$KERNEL_DIR USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" utils
+                       compile_generic "ARCH=um KERNEL_DIR=$KERNEL_DIR USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" runtask
                elif [ "${ARCH}" = 'sparc64' ]
                then
                        compile_generic "ARCH=sparc64 CROSS=sparc64-unknown-linux-gnu- KERNEL_DIR=$KERNEL_DIR USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" runtask
                else
-                       compile_generic "KERNEL_DIR=$KERNEL_DIR USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" utils
+                       compile_generic "KERNEL_DIR=$KERNEL_DIR USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" runtask
                fi
 
 
index f883591cace4d574e96396bbeeaecac8b471ab79..783a5530dc36d01e0b9a92e0ad65d9d7b3af6200 100644 (file)
@@ -294,7 +294,7 @@ cmdline_hwopts() {
     done
    
     # Shouldnt need to sort this the following loop should figure out the duplicates and strip them out
-    #MY_HWOPTS=$(echo ${MY_HWOPTS}|  sort)
+    #MY_HWOPTS=`echo ${MY_HWOPTS}|  sort`
     
     for x in ${MY_HWOPTS}
     do
index 005d6541efeb0b2238c87b6f640c2c5eb2c66661..171596696fd12bd4c506652e49b6cf1b187d00b3 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 # Daniel Robbins <drobbins@gentoo.org>
 # Copyright 2003 Gentoo Technologies, Inc.
 # Distributed under the GPL
@@ -37,7 +37,7 @@ fi
 
 quiet_kmsg
 
-CMDLINE="$(cat /proc/cmdline)"
+CMDLINE="`cat /proc/cmdline`"
 # Scan CMDLINE for any specified real_root= or cdroot arguments
 for x in ${CMDLINE}
 do
@@ -404,7 +404,7 @@ then
        then
                if [ -e "${CHROOT}/mnt/cdrom/add" ]
                then
-                               for targz in $(ls ${CHROOT}/mnt/cdrom/add/*.tar.gz)
+                               for targz in `ls ${CHROOT}/mnt/cdrom/add/*.tar.gz`
                                do      
                                        tarname=`basename ${targz}`
                                        good_msg "Adding additional package ${tarname}"
@@ -458,7 +458,7 @@ then
                chmod 1777 tmp
        fi
        
-       #UML=$(cat /proc/cpuinfo|grep UML|sed -e 's|model name.*: ||')
+       #UML=`cat /proc/cpuinfo|grep UML|sed -e 's|model name.*: ||'`
        #if [ "${UML}" = 'UML' ]
        #then
        #       # UML Fixes
@@ -548,22 +548,22 @@ then
        
        
        INITRAMFS_FILES=`ls /`
-       INITRAMFS_FILES=$(echo ${INITRAMFS_FILES}|sed -e "s|${CHROOT#/}||g")
+       INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|${CHROOT#/}||g"`
        
        if [ -n "${MEMORY}" ]
        then
-               INITRAMFS_FILES=$(echo ${INITRAMFS_FILES}|sed -e "s|${MEMORY#/}||g")
+               INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|${MEMORY#/}||g"`
        fi
        
        if [ -n "${UNION}" ]
        then
-       INITRAMFS_FILES=$(echo ${INITRAMFS_FILES}|sed -e "s|${UNION#/}||g")
+       INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|${UNION#/}||g"`
        fi
        
-       INITRAMFS_FILES=$(echo ${INITRAMFS_FILES}|sed -e "s|newroot||g")
+       INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|newroot||g"`
        for i in ${INITRAMFS_FILES}
        do
-               for j in $(/bin/busybox find /$i)
+               for j in `/bin/busybox find /$i`
                do
                        #/bin/busybox echo "$j"
                        if /bin/busybox [ ! -d "$j" -a "$j" != "/bin/busybox" ]
@@ -571,7 +571,7 @@ then
                                /bin/busybox rm "$j"
                        fi
                done
-               for j in $(/bin/busybox find /$i)
+               for j in `/bin/busybox find /$i`
                do
                        if /bin/busybox [ -d ${j} -a "${j}" != "/bin" ]
                        then
index 41568c13fe0415530f96d1f31e6289db238686bc..8ca00066b37a92e5d1a2f3e08a8ac8a14b442260 100644 (file)
Binary files a/pkg/udev-058.tar.bz2 and b/pkg/udev-058.tar.bz2 differ