Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Riek committed Dec 2, 2024
1 parent e1cd3d2 commit fd74cef
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# ubuntu-rockchip-meta

This package depends on all of the packages in the Ubuntu Server and Desktop system for Rockchip devices. It's also used to help ensure proper upgrades, so it's recommended to not be removed.

## Building

First, you need to set up pbuilder, a tool that creates a clean, minimal environment for the build. This ensures that the build will work everywhere and that it's not dependent on something unusual in your own environment.

Install the following packages on your host system to setup pbuilder:

```bash
# Update package list
sudo apt-get update

# Upgrade packages
sudo apt-get upgrade -y

# Install build dependencies
sudo apt-get install -y pbuilder binfmt-support qemu-user-static qemu-system-arm
```

Building the package is quite easy. Change your working directory to the root of the source tree and type the following commands:

```bash
# Create source package
dpkg-source -b .

# Create base tarball
sudo pbuilder create --architecture arm64 --mirror http://ports.ubuntu.com/ubuntu-ports --distribution "$(dpkg-parsechangelog -S Distribution)"

# Build using the base tarball and source package
sudo pbuilder build --architecture arm64 --mirror http://ports.ubuntu.com/ubuntu-ports --distribution "$(dpkg-parsechangelog -S Distribution)" ../*.dsc
```

0 comments on commit fd74cef

Please sign in to comment.