1
0
forked from brl/citadel

Compare commits

...

4 Commits

5 changed files with 27 additions and 7 deletions

View File

@ -5,6 +5,11 @@ DISTRO_VERSION = "1.0"
CITADEL_DEFAULT_DISTRO_FEATURES = "acl alsa argp bluetooth ext2 largefile systemd usbhost wifi xattr pci x11 usrmerge wayland opengl pam polkit seccomp" CITADEL_DEFAULT_DISTRO_FEATURES = "acl alsa argp bluetooth ext2 largefile systemd usbhost wifi xattr pci x11 usrmerge wayland opengl pam polkit seccomp"
DISTRO_FEATURES ?= "${DISTRO_FEATURES_LIBC} ${CITADEL_DEFAULT_DISTRO_FEATURES}" DISTRO_FEATURES ?= "${DISTRO_FEATURES_LIBC} ${CITADEL_DEFAULT_DISTRO_FEATURES}"
PREMIRRORS:prepend = "\
git://.*/.* https://mirror.subgraph.com/ \
ftp://.*/.* https://mirror.subgraph.com/ \
http://.*/.* https://mirror.subgraph.com/ \
https://.*/.* https://mirror.subgraph.com/"
HOSTTOOLS_NONFATAL += "inkscape" HOSTTOOLS_NONFATAL += "inkscape"
# #

View File

@ -10,7 +10,14 @@ inherit cargo systemd gsettings pkgconfig
# #
SRCREV = "421b0e27d777c418a26016bd8065715823504637" SRCREV = "421b0e27d777c418a26016bd8065715823504637"
GIT_URI = "git://git.subgraph.com/brl/citadel-tools.git;protocol=https;branch=master" # get git repo owner from citadel to find the correct citadel-tools repo path
python () {
import subprocess
git_owner = subprocess.check_output(['git', 'remote', 'get-url', 'origin']).strip().decode('utf-8').split('/')[0].split(':')[1]
d.setVar("GIT_REPO_OWNER", git_owner)
}
GIT_URI = "git://git.subgraph.com/${GIT_REPO_OWNER}/citadel-tools.git;protocol=https;branch=master"
# If Cargo.lock changes in citadel-tools, this needs to be updated. # If Cargo.lock changes in citadel-tools, this needs to be updated.
# cargo bitbake does not support workspaces so as a workaround first # cargo bitbake does not support workspaces so as a workaround first

View File

@ -1,4 +1,7 @@
#!/bin/bash #!/usr/bin/env bash
set -o errexit
set -o nounset
set -o xtrace
: ${REALMFS_BUILDER_BASE:="/usr/share/realmfs-builder"} : ${REALMFS_BUILDER_BASE:="/usr/share/realmfs-builder"}
source ${REALMFS_BUILDER_BASE}/common.inc source ${REALMFS_BUILDER_BASE}/common.inc
@ -153,6 +156,7 @@ try_config() {
} }
WORKDIR="$(pwd)/realmfs" WORKDIR="$(pwd)/realmfs"
BUILDFILE=""
DO_TAR=0 DO_TAR=0
DO_XZ=0 DO_XZ=0

View File

@ -1,4 +1,7 @@
#!/bin/bash #!/usr/bin/env bash
set -o errexit
set -o nounset
set -o xtrace
REALMFS_BUILDER_BASE="/usr/share/realmfs-builder" REALMFS_BUILDER_BASE="/usr/share/realmfs-builder"

View File

@ -1,4 +1,4 @@
FROM debian:buster FROM debian:bookworm-20240513-slim
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
@ -14,7 +14,6 @@ RUN apt update && apt install -y gawk \
chrpath \ chrpath \
socat \ socat \
cpio \ cpio \
python \
python3 \ python3 \
python3-pip \ python3-pip \
python3-pexpect \ python3-pexpect \
@ -25,10 +24,12 @@ RUN apt update && apt install -y gawk \
libgmp-dev \ libgmp-dev \
libmpc-dev \ libmpc-dev \
libelf-dev \ libelf-dev \
nano \ vim \
sudo \ sudo \
debootstrap \ debootstrap \
inkscape \ file \
liblz4-tool \
zstd \
xwayland xwayland
# python # python