Skip to content

Commit

Permalink
chore: cleanup and adjust tests to changes
Browse files Browse the repository at this point in the history
  • Loading branch information
koehlma committed Jun 6, 2024
1 parent 940548c commit c51cb52
Show file tree
Hide file tree
Showing 31 changed files with 46 additions and 398 deletions.
24 changes: 22 additions & 2 deletions bakery/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,28 @@ FROM debian:latest

ARG TARGETPLATFORM

COPY bakery/layers/bakery/00-base.sh /tmp/rugpi-docker/00-base.sh
RUN /tmp/rugpi-docker/00-base.sh
RUN apt-get -y update \
&& apt-get -y install \
btrfs-progs \
curl \
dosfstools \
fdisk \
file \
git \
gpg \
mmdebstrap \
mtools \
proot \
python3 \
qemu-utils \
wget \
xz-utils \
zip \
zsh \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/* \
&& wget -O /etc/zsh/zshrc https://git.grml.org/f/grml-etc-core/etc/zsh/zshrc \
&& touch /root/.zshrc

RUN mkdir -p /usr/share/rugpi \
&& cd /usr/share/rugpi \
Expand Down
30 changes: 0 additions & 30 deletions bakery/layers/bakery/00-base.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# Enable DRM VC4 V3D driver.
#
# MX: This has been enabled by default and is required for 3D graphics
# hardware acceleration. We just leave it enabled.
dtoverlay=vc4-kms-v3d
max_framebuffers=2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

CONFIG_DIR="${RUGPI_BUNDLE_DIR}/config"
CONFIG_DIR="${RUGPI_BUNDLE_DIR}/roots/config"

RPI_EEPROM_DIGEST="/usr/share/rugpi/rpi-eeprom/rpi-eeprom-digest"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
description = "Raspberry Pi meta recipe"
description = "setup Raspberry Pi OS for Rugpi"
dependencies = ["rugpi-ctrl", "rpi-raspios-cleanup", "persist-fake-hwclock"]
14 changes: 0 additions & 14 deletions bakery/repositories/core/recipes/rugpi-ctrl/files/reboot.sh

This file was deleted.

2 changes: 1 addition & 1 deletion bakery/repositories/core/rugpi-repository.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
name = "rugpi"
name = "core"
description = "Rugpi core recipes, collections, and layers."
2 changes: 1 addition & 1 deletion bakery/run-bakery
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUGPI_DEV=${RUGPI_DEV:-"false"}

if [ "${RUGPI_DEV}" = "false" ]; then
DOCKER_FLAGS="${DOCKER_FLAGS} --pull always"
RUGPI_VERSION=${RUGPI_VERSION:-"v0.6"}
RUGPI_VERSION=${RUGPI_VERSION:-"v0.7"}
else
RUGPI_VERSION=${RUGPI_VERSION:-"dev"}
fi
Expand Down
5 changes: 0 additions & 5 deletions tests/bootstrap/layers/generic-boot.toml

This file was deleted.

23 changes: 0 additions & 23 deletions tests/bootstrap/layers/generic.toml

This file was deleted.

23 changes: 0 additions & 23 deletions tests/bootstrap/layers/raspberrypi.toml

This file was deleted.

5 changes: 0 additions & 5 deletions tests/bootstrap/layers/update-rugpi.toml

This file was deleted.

24 changes: 0 additions & 24 deletions tests/bootstrap/layers/with-thin-edge.toml

This file was deleted.

31 changes: 0 additions & 31 deletions tests/bootstrap/recipes/setup-boot/files/ctrl.toml

This file was deleted.

2 changes: 0 additions & 2 deletions tests/bootstrap/recipes/setup-boot/recipe.toml

This file was deleted.

13 changes: 0 additions & 13 deletions tests/bootstrap/recipes/setup-boot/steps/00-install.sh

This file was deleted.

6 changes: 0 additions & 6 deletions tests/bootstrap/recipes/setup-boot/steps/01-packages

This file was deleted.

32 changes: 0 additions & 32 deletions tests/bootstrap/recipes/setup-boot/steps/02-run.sh

This file was deleted.

5 changes: 0 additions & 5 deletions tests/bootstrap/recipes/setup-network/files/dhcp.network

This file was deleted.

1 change: 0 additions & 1 deletion tests/bootstrap/recipes/setup-network/recipe.toml

This file was deleted.

7 changes: 0 additions & 7 deletions tests/bootstrap/recipes/setup-network/steps/00-install.sh

This file was deleted.

2 changes: 0 additions & 2 deletions tests/bootstrap/recipes/tedge-hacks/recipe.toml

This file was deleted.

7 changes: 0 additions & 7 deletions tests/bootstrap/recipes/tedge-hacks/steps/00-install.sh

This file was deleted.

Loading

0 comments on commit c51cb52

Please sign in to comment.