setup-environment: Do not strip newlines and comments when installing local.conf...
authorFlorian Boor <florian@kernelconcepts.de>
Sat, 11 Aug 2018 09:20:20 +0000 (11:20 +0200)
committerFlorian Boor <florian@kernelconcepts.de>
Sat, 11 Aug 2018 09:20:20 +0000 (11:20 +0200)
setup-environment

index c8ab389..2eb82e0 100755 (executable)
@@ -157,7 +157,7 @@ if [ "$build_dir_setup_enabled" = "true" ]; then
 
     # Generate the local.conf based on the Yocto defaults
     TEMPLATES=$CWD/yocto/meta-kc-bsp/conf
-    grep -v '^#\|^$' conf/local.conf.sample > conf/local.conf
+    cat conf/local.conf.sample > conf/local.conf
     cat >> conf/local.conf <<EOF
 
 DL_DIR ?= "\${BSPDIR}/downloads/"