• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2# Copyright (c) 2018-2021 Petr Vorel <pvorel@suse.cz>
3set -ex
4
5# workaround for missing oldstable-updates repository
6# W: Failed to fetch http://deb.debian.org/debian/dists/oldstable-updates/main/binary-amd64/Packages
7grep -v oldstable-updates /etc/apt/sources.list > /tmp/sources.list && mv /tmp/sources.list /etc/apt/sources.list
8
9apt update
10
11# workaround for Ubuntu impish asking to interactively configure tzdata
12export DEBIAN_FRONTEND="noninteractive"
13
14apt="apt install -y --no-install-recommends"
15
16$apt \
17	acl-dev \
18	asciidoc \
19	asciidoctor \
20	autoconf \
21	automake \
22	build-essential \
23	debhelper \
24	devscripts \
25	clang \
26	gcc \
27	git \
28	iproute2 \
29	libacl1 \
30	libacl1-dev \
31	libaio-dev \
32	libaio1 \
33	libcap-dev \
34	libcap2 \
35	libc6 \
36	libc6-dev \
37	libjson-perl \
38	libkeyutils-dev \
39	libkeyutils1 \
40	libmm-dev \
41	libmnl-dev \
42	libnuma-dev \
43	libnuma1 \
44	libselinux1-dev \
45	libsepol-dev \
46	libssl-dev \
47	libtirpc-dev \
48	linux-libc-dev \
49	lsb-release \
50	pkg-config
51
52$apt ruby-asciidoctor-pdf || true
53$apt asciidoc-dblatex || true
54
55df -hT
56