symlink some stuff into /var if rootfs is read only - patch courtesy pb_.
authorMichael Lauer <mickey@vanille-media.de>
Sat, 1 May 2004 18:10:47 +0000 (18:10 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sat, 1 May 2004 18:10:47 +0000 (18:10 +0000)
BKrev: 4093e827CAa2mYlM3Z9xa97CxEwYhw

base-files/base-files_3.0.14.oe

index a98d508..9b01c43 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r2"
+PR = "r3"
 SRC_URI = "${DEBIAN_MIRROR}/main/b/base-files/base-files_${PV}.tar.gz"
 DESCRIPTION = "Base system miscellaneous files."
 
@@ -66,5 +66,7 @@ EOF
                rmdir ${D}/var/*
                chmod a+x ${D}/etc/init.d/populate-var
                ln -s ../init.d/populate-var ${D}/etc/rcS.d/S01populate-var
+               ln -s /var/run/resolv.conf ${D}/etc/resolv.conf
+               ln -s /var/run/ld.so.cache ${D}/etc/ld.so.cache
        fi
 }