Skip to content

Commit

Permalink
Update to debian trixie (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe authored Dec 19, 2023
1 parent b61269a commit 5f6545d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ In addition to the above components, your configuration directory must include t
- `get_commit`: This script should output the Git commit used to tag the build artifacts.
- `get_repo`: This script should output the apt package repository to use.
- `get_timestamp`: This script should output the timestamp to be used instead of the real system time, ensuring reproducibility of builds.
- `get_version`: This script should output the version of the package repository to use. For example, use `bookworm` for Debian or `today` for Garden Linux.
- `keyring.gpg`: The PGP key used to validate the package repository. For Debian, you can obtain this key from the [debian-archive-keyring](https://packages.debian.org/bookworm/debian-archive-keyring) package.
- `get_version`: This script should output the version of the package repository to use. For example, use `trixie` for Debian or `today` for Garden Linux.
- `keyring.gpg`: The PGP key used to validate the package repository. For Debian, you can obtain this key from the [debian-archive-keyring](https://packages.debian.org/trixie/debian-archive-keyring) package.

For a quick start guide on setting up your own config directory with your own features checkout [getting_started.md](docs/getting_started.md).

Expand Down
2 changes: 1 addition & 1 deletion builder/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ output="$5"
chroot_dir="$(mktemp -d)"
mount -t tmpfs -o size=2G tmpfs "$chroot_dir"
chmod 755 "$chroot_dir"
container=lxc debootstrap --keyring "$keyring" --arch "$arch" --variant minbase "$version" "$chroot_dir" "$repo" bookworm || (cat "$chroot_dir/debootstrap/debootstrap.log"; false)
container=lxc debootstrap --keyring "$keyring" --arch "$arch" --variant minbase "$version" "$chroot_dir" "$repo" trixie || (cat "$chroot_dir/debootstrap/debootstrap.log"; false)

gpg --keyring "$keyring" --no-default-keyring --export -a > "$chroot_dir/etc/apt/trusted.gpg.d/keyring.asc"
echo "deb $repo $version main" > "$chroot_dir/etc/apt/sources.list"
Expand Down

0 comments on commit 5f6545d

Please sign in to comment.