Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
dbscripts
Commits
dbf71dba
Verified
Commit
dbf71dba
authored
Mar 30, 2021
by
Morten Linderud
🏄
Browse files
test/lib: Ensure we can create debug packages, create debug pkg pool
Signed-off-by:
Morten Linderud
<
morten@linderud.pw
>
parent
672004c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
test/Dockerfile
View file @
dbf71dba
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
...
...
test/lib/common.bash
View file @
dbf71dba
...
...
@@ -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
': '
'\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment