Skip to content

Commit

Permalink
Update MPB, fixup for archlinux packaging changes
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Jan 3, 2024
1 parent 2080810 commit 5ba6402
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .common.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ WORKDIR=${WORKDIR:=$(realpath $(pwd)/../toolchain/mod-workdir)}

# use a similar matching MOD platform
case "${PLAT}" in
arm) PLAT="modduo-new";;
aarch64|arm64) PLAT="modduox-new";;
aarch64|arm64) PLAT="generic-aarch64";;
x86_64) PLAT="generic-x86_64";;
esac

#######################################################################################################################
4 changes: 2 additions & 2 deletions archiso/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM archlinux:base
LABEL maintainer="Filipe Coelho <falktx@moddevices.com>"
LABEL maintainer="Filipe Coelho <falktx@mod.audio>"

# force new keyring, required for installing anything
RUN pacman -Sy --noconfirm archlinux-keyring && \
Expand All @@ -13,7 +13,7 @@ RUN pacman pacman -Syuu --noconfirm && pacman -Scc

# install packages for archiso and live-welcome
RUN pacman -Syu --noconfirm arch-install-scripts dosfstools e2fsprogs libisoburn mtools squashfs-tools && \
pacman -Syu --noconfirm gcc git jack2 kparts make patch pkg-config qt5-webengine && \
pacman -Syu --noconfirm gcc git jack2 kparts5 make patch pkg-config qt5-webengine qt5-x11extras && \
pacman -Scc

# misc setup
Expand Down
2 changes: 1 addition & 1 deletion archiso/liveusb/packages.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ amd-ucode
base
bash
breeze
cardinal-jack
cardinal-standalone
cloud-init
cpupower
edk2-shell
Expand Down
4 changes: 2 additions & 2 deletions mod-os/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM mpb-toolchain
LABEL maintainer="Filipe Coelho <falktx@moddevices.com>"
LABEL maintainer="Filipe Coelho <falktx@mod.audio>"
ENV DEBIAN_FRONTEND noninteractive
ENV USER builder
ENV HOME /home/$USER

# NOTE you can edit this as needed
ENV MPB_COMMIT_HASH_FOR_MOD_OS 4d410a0c6d08fb24bdfa50e7a710605fb2e26ad1
ENV MPB_COMMIT_HASH_FOR_MOD_OS 0a26f578d7de19646f21a3e27eda5cf562f2fa83

# update to requested commit
RUN git checkout . && git checkout master && git pull && git checkout $MPB_COMMIT_HASH_FOR_MOD_OS && git submodule update
Expand Down
6 changes: 3 additions & 3 deletions mod-os/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ touch ${WORKDIR}/${PLAT}/target/usr/share/mod/html/mod-ui.css
touch ${WORKDIR}/${PLAT}/target/usr/share/mod/html/mod-ui.js

# this is needed somehow
if [ "${PLAT}" = "x86_64" ] && [ ! -e ${WORKDIR}/x86_64/target/usr/lib/libmvec.so.1 ]; then
cp ${WORKDIR}/x86_64/toolchain/x86_64-modaudio-linux-gnu/sysroot/lib/libmvec.so.1 \
${WORKDIR}/x86_64/target/usr/lib/libmvec.so.1
if [ "${PLAT}" = "generic-x86_64" ] && [ ! -e ${WORKDIR}/generic-x86_64/target/usr/lib/libmvec.so.1 ]; then
cp ${WORKDIR}/generic-x86_64/toolchain/x86_64-modaudio.generic-linux-gnu/sysroot/lib/libmvec.so.1 \
${WORKDIR}/generic-x86_64/target/usr/lib/libmvec.so.1
fi

#######################################################################################################################
Expand Down
2 changes: 1 addition & 1 deletion plugins/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND noninteractive
ENV USER builder
ENV HOME /home/$USER

ARG PLAT=x86_64
ARG PLAT=generic-x86_64

# run bootstrap (contained within docker)
RUN ./bootstrap.sh $PLAT && ./.clean-install.sh $PLAT
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-plugin-builder
2 changes: 1 addition & 1 deletion toolchain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN mkdir $HOME/mod-workdir

# mod-plugin-builder settings
ENV MPB_GIT_URL https://github.com/moddevices/mod-plugin-builder
ENV MPB_GIT_HASH 4d410a0c6d08fb24bdfa50e7a710605fb2e26ad1
ENV MPB_GIT_HASH 0a26f578d7de19646f21a3e27eda5cf562f2fa83

# checkout mod-plugin-builder
RUN git clone $MPB_GIT_URL
Expand Down

0 comments on commit 5ba6402

Please sign in to comment.