diff --git a/lib/makeboarddeb.sh b/lib/makeboarddeb.sh index 9860364f83..0897310dbe 100644 --- a/lib/makeboarddeb.sh +++ b/lib/makeboarddeb.sh @@ -213,7 +213,7 @@ create_board_package() # create board DEB file display_alert "Building package" "$CHOSEN_ROOTFS" "info" - (cd $SRC/.tmp/${RELEASE}; dpkg -b $(basename $destination)) + dpkg-deb -b $destination ${destination}.deb mkdir -p $DEST/debs/$RELEASE/ mv ${destination}.deb $DEST/debs/$RELEASE/ # cleanup