From 166e40a4790cc977aa5136bf3f2c98bd34b7871d Mon Sep 17 00:00:00 2001 From: Dan McGregor Date: Wed, 9 May 2018 13:37:09 -0600 Subject: base-files: use /proc/self/mounts for /etc/mtab It should be /proc/self/mounts instead of /proc/mounts. Also switch to using a relative link in base-files, as seems to be the convention in other distributions. Signed-off-by: Dan McGregor --- meta/recipes-core/base-files/base-files_3.0.14.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core/base-files/base-files_3.0.14.bb') diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb index a6963ba24d..a4c22c51c7 100644 --- a/meta/recipes-core/base-files/base-files_3.0.14.bb +++ b/meta/recipes-core/base-files/base-files_3.0.14.bb @@ -132,7 +132,7 @@ do_install () { install -m 0644 ${WORKDIR}/host.conf ${D}${sysconfdir}/host.conf install -m 0644 ${WORKDIR}/motd ${D}${sysconfdir}/motd - ln -sf /proc/mounts ${D}${sysconfdir}/mtab + ln -sf ${@oe.path.relative('${sysconfdir}', '/proc/self/mounts')} ${D}${sysconfdir}/mtab } DISTRO_VERSION[vardepsexclude] += "DATE" -- cgit 1.2.3-korg