From 958fb670f022726e70e94d6ccbadc7b4215d2bd0 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 24 Jan 2019 15:13:17 +0100 Subject: [PATCH] Atom: dont build with with new node build as normal user with node-8.11 get 'Head out of memory! - Cannot allocate memory' as root user --- atom.be0 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/atom.be0 b/atom.be0 index a26cc74ca..b15cd14ee 100755 --- a/atom.be0 +++ b/atom.be0 @@ -62,6 +62,8 @@ mee_build() { # some scripts in their stupid build system do strange things # when they see SUDO environment + start_cmd source /package/node/profile + unset SUDO_USER SUDO_UID SUDO_COMMAND SUDO_GID HOME=${S} start_cmd script/build --install ${D}${PREFIX} }