Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 4fc0810

Browse files
authored
Merge pull request #8 from ddaymn/bullseye
Rebase of rpi-distro and photonvision changes, fixes Pi 4 image
2 parents e555c4b + fc20b50 commit 4fc0810

File tree

41 files changed

+1377
-496
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1377
-496
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
charset = utf-8

.github/workflows/build-docker.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,19 @@ jobs:
1515
# This workflow contains a single job called "build"
1616
build:
1717
# The type of runner that the job will run on
18-
runs-on: ubuntu-18.04
18+
runs-on: ubuntu-20.04
1919

2020
# Steps represent a sequence of tasks that will be executed as part of the job
2121
steps:
2222
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2323
- uses: actions/checkout@v1
2424

2525
- name: APT update
26-
run: sudo apt update
26+
run: |
27+
sudo apt update
28+
sudo apt install binfmt-support
29+
sudo apt install qemu qemu-user-static
30+
sudo update-binfmts --enable
2731
2832
# Build image with docker
2933
- name: Run build-docker.sh
@@ -37,7 +41,7 @@ jobs:
3741
uses: actions/upload-artifact@v2
3842
with:
3943
name: built-image
40-
path: ./deploy/image_*PhotonVision.zip
44+
path: ./deploy/image_*PhotonVision.img.xz
4145
if-no-files-found: error
4246

4347
- name: Upload debug artifacts

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ SKIP_IMAGES
66
.pc
77
*-pc
88
apt-cacher-ng/
9+
/apt-cacher-ng

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
FROM debian:buster
1+
ARG BASE_IMAGE=debian:bullseye
2+
FROM ${BASE_IMAGE}
23

34
ENV DEBIAN_FRONTEND noninteractive
45

56
RUN apt-get -y update && \
67
apt-get -y install --no-install-recommends \
78
git vim parted \
89
quilt coreutils qemu-user-static debootstrap zerofree zip dosfstools \
9-
bsdtar libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc\
10-
binfmt-support ca-certificates \
10+
libarchive-tools libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc\
11+
binfmt-support ca-certificates qemu-utils kpartx fdisk gpg pigz\
1112
&& rm -rf /var/lib/apt/lists/*
1213

1314
COPY . /pi-gen/

0 commit comments

Comments
 (0)