Verified Commit dbf71dba authored by Morten Linderud's avatar Morten Linderud 🏄
Browse files

test/lib: Ensure we can create debug packages, create debug pkg pool


Signed-off-by: Morten Linderud's avatarMorten Linderud <morten@linderud.pw>
parent 672004c6
FROM docker.io/archlinux/archlinux
RUN pacman -Syu --noconfirm --needed sudo fakeroot awk subversion make kcov bash-bats gettext grep tree
RUN pacman -Syu --noconfirm --needed sudo fakeroot awk subversion make kcov bash-bats gettext grep tree binutils
RUN pacman-key --init
RUN echo '%wheel ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/wheel
RUN useradd -N -g users -G wheel -d /build -m tester
......
......@@ -103,7 +103,9 @@ setup() {
ARCHIVEUSER=""
SVNREPO="file://${TMP}/svn-packages-repo"
PKGREPOS=('core' 'extra' 'testing' 'staging')
DEBUGREPOS=('core-debug' 'extra-debug' 'testing-debug' 'staging-debug')
PKGPOOL='pool/packages'
DEBUGPKGPOOL='pool/packages-debug'
SRCPOOL='sources/packages'
STAGING_REPOS=('staging')
TESTING_REPOS=('testing')
......@@ -128,6 +130,7 @@ eot
done
mkdir -p "${TMP}/ftp/${PKGPOOL}"
mkdir -p "${TMP}/ftp/${SRCPOOL}"
mkdir -p "${TMP}/ftp/${DEBUGPKGPOOL}"
# make dummy packages for "reproducibility"
pacman -Qi | awk -F': ' '\
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment