• Logo
    Ubuntu hardware support
  • documentation.ubuntu.com
  • More resources
    • Discourse
    • Matrix
    • GitHub
Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Ubuntu hardware support documentation
Ubuntu hardware support documentation
  • Ubuntu boards documentation
    • Tutorials
      • Install Ubuntu on Raspberry Pi directly
      • Install Ubuntu on Raspberry Pi via PC
      • Install Ubuntu on the SiFive Unmatched
    • How-to guides
      • Install Ubuntu on the Allwinner Nezha D1
      • Install Ubuntu on the DeepComputing FML13V01
      • Install Ubuntu on the Microchip PIC64GX1000 Curiosity Kit
      • Install Ubuntu on the Microchip Polarfire SoC Icicle Kit
      • Install Ubuntu on the Milk-V Mars
      • Install Ubuntu on the Milk-V Mars CM and CM Lite
      • Install Ubuntu on the Pine64 Star64
      • Install Ubuntu on QEMU (RISC-V)
      • Install Ubuntu on the Raspberry Pi
      • Install Ubuntu on the SiFive HiFive Unmatched
      • Install Ubuntu on the Sipeed LicheeRV Dock
      • Install Ubuntu on the StarFive VisionFive
      • Install Ubuntu on the StarFive VisionFive 2
      • Flash images to a microSD card
      • Edit the Raspberry Pi boot configuration
      • Configure your board for headless use
      • Connect to a UART console
      • Using the camera on Raspberry Pi
    • Explanations
      • Server installer or pre-installed images?
      • A/B boot on Ubuntu for Raspberry Pi
    • Glossary
  • RISC-V image cookbook
    • Overview
    • Tutorials
      • Your first Ubuntu image
      • Your first kernel package
    • How-to guides
      • Launchpad
        • Create Launchpad user
        • Create and Manage Launchpad team
        • Create and manage PPA
        • Upload to a PPA
        • Consuming Public and Private PPAs
        • Create Git Repository in Launchpad
      • Packaging
        • Packaging binaries as .deb
        • Package a custom kernel with ukpack
        • Repackaging binaries
      • Images
        • Create customized image with ubuntu-image
        • Creating customized installer images
    • Reference
      • Gadget.yaml fields
      • Image-definition.yaml fields
      • Checklist for Ubuntu images
      • Kernel test cases
      • Tools
    • Explanation
      • Boot flow
  • How to contribute
Back to top
Contribute to this page

PackagingΒΆ

  • Packaging binaries as .deb
    • Steps to package binaries as .deb
    • Customizing debian/rules
  • Package a custom kernel with ukpack
    • Clone required repositories
    • Sync with upstream kernel
    • Create kernel package configuration
    • Build the kernel package
    • Sign the package
    • Next steps
  • Repackaging binaries
    • Download Debian packages
    • Create source of binary package
    • Edit Debian packaging
    • Validate the Debian packaging
Copyright © 2025 CC-BY-SA, Canonical Ltd.
Last updated on Dec 12, 2025
Contents
  • Packaging