Skip to content

Commit

Permalink
Merge pull request #249 from sailfishos-oneplus5/mic-build-fix
Browse files Browse the repository at this point in the history
helpers: Fix broken fs image building
  • Loading branch information
sledges committed Nov 14, 2019
2 parents d7b384b + 235a7e6 commit 7a9b243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/build_packages.sh
Expand Up @@ -352,7 +352,7 @@ if [ "$BUILDIMAGE" = "1" ]; then
hybris/droid-configs/droid-configs-device/helpers/process_patterns.sh
# Check if we need to build loop or fs image
pattern_lookup=$(ls "$ANDROID_ROOT"/hybris/droid-configs/patterns/jolla-hw-adaptation-{$DEVICE,$HABUILD_DEVICE}.yaml 2>/dev/null)
if grep -q "^- droid-hal-{$DEVICE,$HABUILD_DEVICE}-kernel-modules" $pattern_lookup &>/dev/null; then
if grep -qE "^- droid-hal-($DEVICE|$HABUILD_DEVICE)-kernel-modules" $pattern_lookup &>/dev/null; then
sudo mic create fs --arch=$PORT_ARCH \
--tokenmap=ARCH:$PORT_ARCH,RELEASE:$RELEASE,EXTRA_NAME:"$EXTRA_NAME" \
--record-pkgs=name,url \
Expand Down

0 comments on commit 7a9b243

Please sign in to comment.