Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
imbroglius authored Aug 18, 2024
1 parent 8ff39e9 commit 78ee455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ generatePackages() {
[[ "$filename" == *"_a64"* ]] && arch="arm32_binder64" || arch="arm64"
[[ "$filename" == *"_bvN"* ]] && variant="vanilla" || variant="gapps"
[[ "$filename" == *"-vndklite"* ]] && vndk="-vndklite" || vndk=""
name="aosp-${arch}-ab-${variant}${vndk}-14.0-$buildDate"
name="ImbrogliOS-${arch}-ab-${variant}${vndk}-14.0-$buildDate"
xz -cv "$file" -T0 > $BD/"$name".img.xz
done
rm -rf $BD/system-*.img
Expand All @@ -115,7 +115,7 @@ generateOta() {
buildDate="$(date +%Y%m%d)"
timestamp="$START"
json="{\"version\": \"$version\",\"date\": \"$timestamp\",\"variants\": ["
find $BD/ -name "aosp-*-14.0-$buildDate.img.xz" | sort | {
find $BD/ -name "ImbrogliOS-*-14.0-$buildDate.img.xz" | sort | {
while read file; do
filename="$(basename $file)"
[[ "$filename" == *"-arm32"* ]] && arch="a64" || arch="arm64"
Expand Down

0 comments on commit 78ee455

Please sign in to comment.