Skip to content

Commit e6ae081

Browse files
committed
fix whitelist usage, include a default whitelist.txt
1 parent 946f496 commit e6ae081

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

distribute.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ function run_prepare() {
378378

379379
# copy the initial blacklist in build
380380
try cp -a $SRC_PATH/blacklist.txt $BUILD_PATH
381+
try cp -a $SRC_PATH/whitelist.txt $BUILD_PATH
381382

382383
# check arm env
383384
push_arm
@@ -742,6 +743,7 @@ function run_distribute() {
742743
try cp -a $SRC_PATH/templates .
743744
try cp -a $SRC_PATH/res .
744745
try cp -a $BUILD_PATH/blacklist.txt .
746+
try cp -a $BUILD_PATH/whitelist.txt .
745747

746748
debug "Copy python distribution"
747749
$HOSTPYTHON -OO -m compileall $BUILD_PATH/python-install

src/whitelist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# put files here that you need to un-blacklist

0 commit comments

Comments
 (0)