Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
packages
Commits
4d625d26
Commit
4d625d26
authored
Feb 13, 2019
by
Hinrikus Wolf
Browse files
add support for backporting sssd
parent
7c56465f
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4d625d26
...
...
@@ -8,14 +8,21 @@ before_script:
-
mv sources.list.new /etc/apt/sources.list
-
apt-get update
-
apt-get install -y dpkg-dev quilt devscripts
-
python3 -m venv venv
-
source venv/bin/activate
-
pip install wheel
-
pip install -r requirements.txt
-
mkdir -p ~/.ssh
-
echo $DEPLOY_KEY | base64 --decode > ~/.ssh/id_ed25519
-
chmod go-rw ~/.ssh/id_ed25519
#
- python3 -m venv venv
#
- source venv/bin/activate
#
- pip install wheel
#
- pip install -r requirements.txt
#
- mkdir -p ~/.ssh
#
- echo $DEPLOY_KEY | base64 --decode > ~/.ssh/id_ed25519
#
- chmod go-rw ~/.ssh/id_ed25519
sssd
:
stage
:
build
script
:
scripts/sssd.sh
artifacts
:
path
:
-
packages/*.deb
stages
:
-
build
...
...
scripts/sssd.sh
0 → 100755
View file @
4d625d26
#!/bin/bash
export
DEBIAN_FRONTEND
=
"noninteractive"
export
DEBIAN_PRIORITY
=
"critical"
echo
"deb-src http://ftp.halifax.rwth-aachen.de/debian/ buster main"
>
/etc/apt/sources.list.d/buster_src.list
apt-get update
apt-get
source
--only-source
-t
buster sssd
SSSD_VERSION
=
$(
rmadison sssd
--architecture
=
amd64
-s
buster |
cut
-d
\|
-f2
|
sed
s
"/ //g"
|
sed
s
"/
\-
.*
$/
/g"
)
cd
sssd-
$SSSD_VERSION
mk-build-deps
--install
--remove
--tool
"apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes"
dch
--local
~bpo9+
--distribution
stretch-backports
"Rebuild for stretch-backports."
fakeroot debian/rules binary
debuild
-us
-uc
-nc
cd
/root
mkdir
debug packages
mv
*
dbgsym
*
debug
mv
*
.deb packages
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