Add `qcom-wip` device type to help supporting new devices
!31 (closed) was an attempt at creating a dummy device type in order to make it easier to support new devices. However, by trying to be completely generic, it was overly complex and consequently was never actually finished.
In the real world, devices likely to be supported are only qcom-based ones (at least for now), so we shouldn't bother with addressing non-existent use-cases and instead provide a simple-ish way of building images for new qcom devices.
This is achieved by providing a new qcom-wip device type, which does
the following:
- use the generic
qcom-support-commoninstead of<soc>-support - install all
.debpackages found underdevices/qcom/packages - copy any droid-juicer config file under
devices/qcom/droid-juicerto the image
With those changes, building an image for a yet-unsupported device requires the following steps:
- build a
.debkernel package for this device (usingmake bindeb-pkgon a downstream tree, for example) and copy it to thedevices/qcom/packagesfolder - fill in the
devices/qcom/configs/wip.jsonfile with the appropriate information for the target device - optional: create a
droid-juicerconfig named<compatible>.tomland copy it to thedevices/qcom/droid-juicerfolder - run
./build.sh -t qcom-wip