[Pkg-samba-maint] [Git][samba-team/samba][master] 3 commits: debian/gitlab-ci.yml: Samba sometimes needs ldb from experimental
Mathieu Parent
gitlab at salsa.debian.org
Sat Nov 17 11:54:53 GMT 2018
Mathieu Parent pushed to branch master at Debian Samba Team / samba
Commits:
b430cb05 by Mathieu Parent at 2018-11-15T21:32:01Z
debian/gitlab-ci.yml: Samba sometimes needs ldb from experimental
- - - - -
d18f2894 by Mathieu Parent at 2018-11-16T06:03:52Z
Use ldb from experimental in piuparts
- - - - -
0dc1b23b by Mathieu Parent at 2018-11-17T11:54:47Z
Merge branch 'ldb-exp' into 'master'
debian/gitlab-ci.yml: Samba sometimes needs ldb from experimental
See merge request samba-team/samba!15
- - - - -
1 changed file:
- debian/gitlab-ci.yml
Changes:
=====================================
debian/gitlab-ci.yml
=====================================
@@ -16,3 +16,20 @@ autopkgtest:
piuparts:
extends: .test-piuparts
+ image: registry.salsa.debian.org/sathieu/images/piuparts:patch-4
+ script:
+ - CHROOT_PATH=/tmp/debian-unstable
+ - CONTAINER_ID=$(docker run --rm -d debian:unstable sleep infinity)
+ - docker exec ${CONTAINER_ID} bash -c "apt-get update && apt-get install eatmydata -y"
+ - mkdir -p ${CHROOT_PATH}
+ - docker export ${CONTAINER_ID} | tar -C ${CHROOT_PATH} -xf -
+ - mknod -m 666 ${CHROOT_PATH}/dev/urandom c 1 9
+ - mkdir -p ${CHROOT_PATH}/etc-target/apt/sources.list.d ${CHROOT_PATH}/etc-target/apt/preferences.d
+ - cp -aTv /etc/apt/sources.list.d ${CHROOT_PATH}/etc-target/apt/sources.list.d
+ - cp -aTv /etc/apt/preferences.d ${CHROOT_PATH}/etc-target/apt/preferences.d
+ - piuparts --scriptsdir /etc/piuparts/scripts --allow-database --warn-on-leftovers-after-purge --hard-link -e ${CHROOT_PATH} ${WORKING_DIR}/*.deb
+
+# Samba sometimes needs ldb from experimental
+before_script:
+ - echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
+ - "echo 'Package: ldb-tools libldb* python*-ldb*\nPin: release a=experimental\nPin-Priority: 500' > /etc/apt/preferences.d/experimental.pref"
View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/90339259ca7a871df79c893f2acc2794de66df66...0dc1b23b8337b9d9647248be3f316d0bf5fe0236
--
View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/90339259ca7a871df79c893f2acc2794de66df66...0dc1b23b8337b9d9647248be3f316d0bf5fe0236
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20181117/657bf9a9/attachment-0001.html>
More information about the Pkg-samba-maint
mailing list