Fix hardcoded path refs in base-files.
authorChris Larson <clarson@kergoth.com>
Wed, 20 Oct 2004 23:45:11 +0000 (23:45 +0000)
committerChris Larson <clarson@kergoth.com>
Wed, 20 Oct 2004 23:45:11 +0000 (23:45 +0000)
BKrev: 4176f887W5p5SGmH7YGMvHLnUZNTXQ

base-files/base-files_3.0.14.oe

index 5c2d8cd..55cee47 100644 (file)
@@ -107,11 +107,11 @@ do_install () {
                echo "chmod 0664 /var/run/utmp /var/log/wtmp"   >> ${D}/etc/init.d/populate-var.sh
 
 #              rmdir ${D}/var/*
-               chmod 0755 ${D}/etc/init.d/populate-var.sh
-               ln -sf ../init.d/populate-var.sh ${D}/etc/rcS.d/S37populate-var.sh
-               ln -sf /var/run/resolv.conf ${D}/etc/resolv.conf
-               ln -sf /var/run/ld.so.cache ${D}/etc/ld.so.cache
-               ln -sf /proc/mounts ${D}/etc/mtab
+               chmod 0755 ${D}/${sysconfdir}/init.d/populate-var.sh
+               ln -sf ../init.d/populate-var.sh ${D}/${sysconfdir}/rcS.d/S37populate-var.sh
+               ln -sf ${localstatedir}/run/resolv.conf ${D}/${sysconfdir}/resolv.conf
+               ln -sf ${localstatedir}/ld.so.cache ${D}/${sysconfdir}/ld.so.cache
+               ln -sf /proc/mounts ${D}/${sysconfdir}/mtab
        fi
 }