base-files: do not recreate /var/run since angstrom uses own fs_perms nowadays

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
This commit is contained in:
Andreas Müller
2012-01-21 22:05:28 +01:00
committed by Koen Kooi
parent e68325efff
commit e1a39ca482

View File

@@ -1,6 +1,6 @@
FILESEXTRAPATHS := "${THISDIR}/${PN}"
PRINC = "12"
PRINC = "13"
# Original: volatiles = "cache run log lock tmp"
# We don't any of those in volatiles, so:
@@ -32,17 +32,3 @@ do_install_angstromissue () {
echo >> ${D}${sysconfdir}/issue
fi
}
# Something during do_rootfs makes /var/run a symlink, we do not want that, so we remove it on 1st boot again
pkg_postinst_${PN} () {
#!/bin/sh
if [ "x$D" != "x" ]; then
exit 1
fi
if [ -L ${localstatedir}/run ] ; then
echo "fixing ${localstatedir}/run"
rm ${localstatedir}/run
mkdir ${localstatedir}/run
fi
}