summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-06-30 22:09:09 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-07-01 01:02:29 +0200
commit45e8b8e9ed3d0b7ea95c6ecc4ccf38b1e648d1b0 (patch)
treee52198efed87c24cf2ca92654a5854d9938aaf61
parent955bebffb426b3f941a6c97b4d0a1fd8e08dee70 (diff)
snapd: don't pollute /etc/environment
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
-rw-r--r--recipes-support/snapd/snapd_2.25.bb2
1 files changed, 0 insertions, 2 deletions
diff --git a/recipes-support/snapd/snapd_2.25.bb b/recipes-support/snapd/snapd_2.25.bb
index 740b16d..e2f40aa 100644
--- a/recipes-support/snapd/snapd_2.25.bb
+++ b/recipes-support/snapd/snapd_2.25.bb
@@ -89,13 +89,11 @@ do_install_append() {
install -d ${D}/var/lib/snapd/snaps
install -d ${D}/var/lib/snapd/lib/gl
install -d ${D}/var/lib/snapd/desktop
- install -d ${D}/var/lib/snapd/environment
install -d ${D}/var/snap
install -d ${D}${sysconfdir}/profile.d
# NOTE: This file needs to be present to allow snapd's service
# units to startup.
- touch ${D}/${sysconfdir}/environment
oe_runmake -C ${S}/data/systemd install DESTDIR=${D}