Skip to content

Commit

Permalink
do_build.sh : Get rid of of HOME.
Browse files Browse the repository at this point in the history
This was to keep git happy for builds where the user doing the build
had no homedir or git config. This was required in two scenarios:
our use of guilt that is no longer the case due to the pq class going
away, and builds run by users without git configured. The prior isn't
an issue any longer and the later is a deficiency of the builder. No
need to complicate our build scripts on account of misconfigured
builders.

OXT-94

Signed-off-by: Philip Tricca <[email protected]>
  • Loading branch information
flihp committed Dec 18, 2014
1 parent 08c0a34 commit dd2a10b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
build/bitbake.lock
build/conf/local.conf
build/conf/sanity_info
build/home
build/local.settings
build/manifest
build/oe
Expand Down
7 changes: 0 additions & 7 deletions do_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,8 @@ SOURCE=0
BUILD_USER="`whoami`"
OE_BB_THREADS="8"
CACHE_DIR="$TOPDIR/build/cache"
HOME="$TOPDIR/build/home"
export HOME
# make git not complain about user not being set
export GIT_AUTHOR_NAME="Build user at `hostname`"
OE_BUILD_CACHE="$TOPDIR/build"
BRANCH=master
export HOME
BUILD_UID=`id -u`
export BUILD_UID

Expand Down Expand Up @@ -1449,8 +1444,6 @@ do_build()
export CCACHE_DIR_TARGET="$CACHE_DIR"
mkdir -p "$OUTPUT_DIR/$NAME/raw"

mkdir -p $HOME

OLDIFS="$IFS"
IFS="," ; export IFS
# work out number of steps
Expand Down

0 comments on commit dd2a10b

Please sign in to comment.