mirror of
https://github.com/clearlinux/rkt.git
synced 2026-08-19 13:36:39 +00:00
100550cb3f
Now that we start systemd-journald in stage1, we need libseccomp to test a systemd built from the source.
28 lines
940 B
Bash
Executable File
28 lines
940 B
Bash
Executable File
#!/bin/bash -eu
|
|
|
|
# Helper script for Continuous Integration Services
|
|
|
|
if [ "${CI-}" == true ] ; then
|
|
# https://semaphoreci.com/
|
|
if [ "${SEMAPHORE-}" == true ] ; then
|
|
# Most dependencies are already installed on Semaphore.
|
|
# Here we can install any missing dependencies. Whenever
|
|
# Semaphore installs more dependencies on their platform,
|
|
# they should be removed from here to save time.
|
|
|
|
sudo apt-get update -qq || true
|
|
sudo apt-get install -y libseccomp-dev libseccomp2 # systemd deps
|
|
fi
|
|
|
|
# https://circleci.com/
|
|
if [ "${CIRCLECI-}" == true ] ; then
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y cpio realpath squashfs-tools
|
|
sudo apt-get install -y strace gdb libcap-ng-utils
|
|
sudo apt-get install -y coreutils # systemd needs a recent /bin/ln
|
|
sudo apt-get install -y gperf libcap-dev linux-headers-3.13.0-34-generic linux-libc-dev # systemd deps
|
|
sudo apt-get install -y git # cloning a tag of systemd
|
|
fi
|
|
fi
|
|
|