Merge ~robertliu/+git/kernel-snap:uc22-add-custom-firmware into ~ubuntu-cervinia/+git/kernel-snap:dev-uc22
Proposed by
Robert Liu
Status: | Merged |
---|---|
Merged at revision: | a5f96003ed28e12607c7175f793703e341cf4449 |
Proposed branch: | ~robertliu/+git/kernel-snap:uc22-add-custom-firmware |
Merge into: | ~ubuntu-cervinia/+git/kernel-snap:dev-uc22 |
Diff against target: |
31 lines (+20/-0) 1 file modified
snap/snapcraft.yaml (+20/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aristo Chen | Approve | ||
Ondrej Kubik | Pending | ||
Review via email: mp+430756@code.launchpad.net |
Description of the change
The kernel snap still needs the custom-firmware part to include additional proprietary firmware.
To post a comment you must log in.
I think this can be done in in simpler way.
I assume you are remove firmware trimming, in order to preserve things from "firmware-custom" part.
In this case, simply build firmware-custom part after kernel part, then trimming is done before firmware-custom is primed.
Diff would be then: KERNEL_ SNAP_FIRMWARE: -}" ]; then KERNEL_ SNAP_FIRMWARE} ]; then KERNEL_ SNAP_FIRMWARE} /* ${SNAPCRAFT_ PART_SRC} KERNEL_ SNAP_FIRMWARE} ${SNAPCRAFT_ PART_SRC} KERNEL_ SNAP_FIRMWARE no custom firmware will be included" kernel- snap-firmware PART_INSTALL} /firmware/ qcom/sa8155p PART_INSTALL} /firmware/ qcom/sa8155p
+ firmware-custom:
+ after:
+ - kernel
+ plugin: nil
+ override-pull: |
+ # allow custom source definition
+ if [ -n "${SNAPDRAGON_
+ if [ -d ${SNAPDRAGON_
+ cp -r ${SNAPDRAGON_
+ else
+ git clone --depth 1 ${SNAPDRAGON_
+ fi
+ else
+ echo "Missing env SNAPDRAGON_
+ touch no-snapdragon-
+ fi
+ override-build: |
+ mkdir -p ${SNAPCRAFT_
+ cp -r * ${SNAPCRAFT_