update scripts sandbox

This commit is contained in:
aliriza committed 2022-11-08 16:01:55 +00:00
1 parent 714c0f9205
commit 3a10e0052b
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -2,9 +2,10 @@
set -e set -e
find -type f | grep ympbuild | sort -V | while read line ; do find -type f | grep ympbuild | sort -V | while read line ; do
name=$(basename $(dirname $line)) name=$(basename $(dirname $line))
path=$(realpath $(dirname $line))
if ! find ./output/ -type f | grep "${name}_" | grep "$(uname -m).ymp$" 2>/dev/null ; then if ! find ./output/ -type f | grep "${name}_" | grep "$(uname -m).ymp$" 2>/dev/null ; then
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line" echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
ymp-build $(dirname $line) --verbose --no-source --ignore-dependency --allow-oem ymp --sandbox --shared="$path" build "$path" --verbose --no-source --ignore-dependency --allow-oem
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line" echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
fi fi
done done
+2 -1
View File
@@ -2,9 +2,10 @@
set -e set -e
find -type f | grep ympbuild | sort -V | while read line ; do find -type f | grep ympbuild | sort -V | while read line ; do
name=$(basename $(dirname $line)) name=$(basename $(dirname $line))
path=$(realpath $(dirname $line))
if ! find ./output/ -type f | grep "${name}_" | grep "source.ymp$" 2>/dev/null ; then if ! find ./output/ -type f | grep "${name}_" | grep "source.ymp$" 2>/dev/null ; then
echo -e "\033[33;1m=>> SOURCE BUILD START:\033[;0m $line" echo -e "\033[33;1m=>> SOURCE BUILD START:\033[;0m $line"
ymp-build $(dirname $line) --verbose --no-binary --ignore-dependency --allow-oem ymp --sandbox --shared="$path" build "$path" --verbose --no-binary --ignore-dependency --allow-oem
echo -e "\033[33;1m<<= SOURCE BUILD DONE:\033[;0m $line" echo -e "\033[33;1m<<= SOURCE BUILD DONE:\033[;0m $line"
fi fi
done done