Summary

debian-cd currently generates VFAT images for all armel subarchitectures, but the general implementation of this mechanism is fairly messy, causing heavy code duplication between the various boot and post-boot scripts in the backend. This code exists to create images with proper partition tables and backends, and should be refactored to earlier into the image creation processor, and be re-factored to a point we don't need to duplicate the code across all SoCs.

Release Note

The debian-cd backend code has been overhauled for easier handling of arm image creation.

Rationale

As we add more and more SoCs with different necessities of booting solutions, the code duplication across SoCs will become exponentially more difficult to maintain. Ideally, the boot and post-boot scripts can be rewritten in a way to make it possible that these scripts will only contain the bare amount of logic to customize the output files; for instance, only containing the logic to create the boot.scr file required by the bootloader.

Design

Implementation

UI Changes

No UI changes planned

Code Changes

Test/Demo Plan

Normal ISO and image testing will be used to test the resulting images to check for any regressions

Unresolved issues

This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.

BoF agenda and discussion

No UDS session for this spec.


CategorySpec

Specs/Mobile/ARM/DebianCDCleanup (last edited 2009-11-23 07:00:32 by cpe-66-66-76-118)