summaryrefslogtreecommitdiff
path: root/base-files
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-10-20 23:45:11 +0000
committerChris Larson <clarson@kergoth.com>2004-10-20 23:45:11 +0000
commit0ad5bc4af097fef3b327232c8a7b9146591b36ff (patch)
treea0cb337b051ac221eddc768d119416ac893c89cc /base-files
parent2b2ba97cb455de09b112276810fefae5ba513892 (diff)
Fix hardcoded path refs in base-files.
BKrev: 4176f887W5p5SGmH7YGMvHLnUZNTXQ
Diffstat (limited to 'base-files')
-rw-r--r--base-files/base-files_3.0.14.oe10
1 files changed, 5 insertions, 5 deletions
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
}