From: Chris Larson Date: Wed, 20 Oct 2004 23:45:11 +0000 (+0000) Subject: Fix hardcoded path refs in base-files. X-Git-Tag: Release-2010-05/1~16511 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ad5bc4af097fef3b327232c8a7b9146591b36ff;p=openembedded.git Fix hardcoded path refs in base-files. BKrev: 4176f887W5p5SGmH7YGMvHLnUZNTXQ --- diff --git a/base-files/base-files_3.0.14.oe b/base-files/base-files_3.0.14.oe index 5c2d8cd12f..55cee47574 100644 --- a/base-files/base-files_3.0.14.oe +++ b/base-files/base-files_3.0.14.oe @@ -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 }