Skip to content

Commit

Permalink
helpers: Fix broken fs image building
Browse files Browse the repository at this point in the history
  • Loading branch information
JamiKettunen committed Nov 14, 2019
1 parent d7b384b commit ac7fb1f
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 egrep -q "^- 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 ac7fb1f

Please sign in to comment.