ta/build-tools.git
4 years agoFix DIB in SELinux permissive hosts 13/813/6
Ossi Koivistoinen [Thu, 23 May 2019 22:21:52 +0000 (01:21 +0300)]
Fix DIB in SELinux permissive hosts

Remove the DIB element that tries to fix SELinux labels in the build
host after the disk image has been built.

The script fails for many reason when run inside container. We should
not need it because running SELinux in permissive mode and the host
that is being cleaned up is a container.

Exporting LIBGUESTFS_BACKEND=direct is required to execute virt-copy-out
in LF Jenkins slaves.

Change-Id: Iaa3d01b17524a08ee5d2f14e591dcef0dabd3a89
Signed-off-by: Ossi Koivistoinen <ossi.koivistoinen@nokia.com>
4 years agoAlign build scripts to LF 50/750/6
Saku Chydenius [Mon, 20 May 2019 11:03:31 +0000 (14:03 +0300)]
Align build scripts to LF

 - In LF we shall build docker containers on every build. Improvement to
   this process would be to separate these two docker environments from the
   build-tools repo. They could publish images to LF Nexus3 from where
   build-tools could directly utilize then.

 - There is not need to download ISO image dependencies from the Nexus3
   thus this code is removed. Now they will be downloaded directly from the
   internet with wget.

Change-Id: I8cbc89a1c25a5dedc0ce0556d00e80c09995c976
Signed-off-by: Saku Chydenius <saku.chydenius@nokia.com>
4 years agoSupport RPM create when ISO image is built 92/692/1
Saku Chydenius [Tue, 14 May 2019 09:35:59 +0000 (12:35 +0300)]
Support RPM create when ISO image is built

Optionally before the ISO image is created, a list of local REC
components can be packaged into RPMs. All RPMs built this way will have
higher priority over the latest RPMs in Nexus when ISO image is created.

Change-Id: I8f7fc38718e10a1858e50089991f7a92df1efe7d
Signed-off-by: Saku Chydenius <saku.chydenius@nokia.com>
4 years agoRemove unused code 91/691/1
Saku Chydenius [Tue, 14 May 2019 08:22:03 +0000 (11:22 +0300)]
Remove unused code

Change-Id: I4d6f533ec2cb5a8483686a5c63078262978c9d6e
Signed-off-by: Saku Chydenius <saku.chydenius@nokia.com>
4 years agoAdd a script to build REC images 78/678/1
Saku Chydenius [Sat, 11 May 2019 13:53:13 +0000 (16:53 +0300)]
Add a script to build REC images

This can be executed locally as well as in Jenkins to create REC images.

To create REC image also manifest RPM must be built to get build
information included to the REC runtime environment. This information
can be then used within the REC to indentify which build has been
installed.

The "rpmbuilder" tool (that uses "mock") is way too heavy for manifest
RPM creation thus Alpine based build environment was chosen. Manifest
RPM has no dependencies thus this should be ok although experimental.

Change-Id: Ic2ca3115bbfbbac89bf3139c47f8467a76ebd0b6
Signed-off-by: Saku Chydenius <saku.chydenius@nokia.com>
4 years agoAdd mock variables 77/677/1
Krisztian Lengyel [Mon, 29 Apr 2019 12:38:48 +0000 (14:38 +0200)]
Add mock variables

Change-Id: If5b964299590cea877e5546eb518e0b3521c929a
Signed-off-by: Krisztian Lengyel <krisztian.lengyel@nokia.com>
4 years agoAdd initial code 65/665/2
Saku Chydenius [Mon, 18 Mar 2019 07:08:45 +0000 (09:08 +0200)]
Add initial code

Change-Id: I72d87e74c74defc97bd956c3b23de9a4e01acb28
Signed-off-by: Saku Chydenius <saku.chydenius@nokia.com>
5 years agoInitial empty repository
Eric Ball [Wed, 1 May 2019 00:25:10 +0000 (00:25 +0000)]
Initial empty repository