1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
@Library('kernelci') _
import org.kernelci.debian.RootFS
/* ----------------------------------------------------------------------------
* Jenkins parameters
DOCKER_BASE
Dockerhub base address used for the build images
*/
def r = new RootFS()
def config = [
'name': "buster",
'arch_list': [
"amd64",
"arm64",
"armel",
"armhf",
"i386",
"mips",
"mipsel",
"mips64el",
],
'debian_release': "buster",
'extra_packages': "",
'extra_packages_remove': "\
bash \
e2fslibs \
e2fsprogs \
klibc-utils \
libext2fs2 \
libgnutls30 \
libklibc \
libncursesw6 \
libp11-kit0 \
libunistring2 \
sensible-utils \
",
'extra_files_remove': "\
*networkd* \
*resolved* \
tar \
patch \
dir \
partx \
find \
",
'script': "",
'docker_image': "${params.DOCKER_BASE}debos",
]
r.buildImage(config)
|